vqmod logs opencart error

不羁的心 提交于 2019-12-12 06:31:55

问题


I had installed an extension which was working great, but after doing some modification it stopped working. and i was going through the vqmod/logs and found this error, can anyone please solve this issue?

REQUEST URI : /index.php?route=product/category&path=81

MOD DETAILS:

modFile : /home/public_html/vqmod/xml/add_option_category.xml

id :

version : 1.0

vqmver :

author : OST

File Name : catalog/view/theme/*/template/product/category.tpl(5)

VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD)

<button type="button" onclick="cart.add('<?php echo $product['product_id']; ?>', '<?php echo $product['minimum']; ?>');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $button_cart; ?></span></button>

Please help me. Thanks


回答1:


The changes you have made are conflicting with this existing mod, hence the error.

The message is saying that this line:

<button type="button" onclick="cart.add('<?php echo $product['product_id']; ?>', '<?php echo $product['minimum']; ?>');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $button_cart; ?></span></button>

Is not found in this file: catalog/view/theme/*/template/product/category.tpl because it has been hardcoded out or another vqmod is modifying that code before your old one is.

get in touch with the mod author and they can adjust the script for you, it's a very simple change.



来源:https://stackoverflow.com/questions/36908035/vqmod-logs-opencart-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!