maartensworld Merchant Nuo Netherlands Narys nuo birž. 2024 maartensworld 15 gruod. 2024 05:41 After updating to 2.6.1 I get a warning in every product screen: Warning: Modification "Hide Excluding tax" failed during operation #1 in includes/templates/default.catalog/views/box_product.inc.php: Search not found in ~/includes/library/lib_vmod.inc.php (Line 215) Checking the Vmod settings, it also report "failed" . The Vmod version is 2024-07-25 What can be done to fix this? I do not want to disable the Vmod Maarten
jackmaessen LiteCart Fan Nuo Netherlands Narys nuo gruod. 2022 jackmaessen 15 gruod. 2024 09:00 show us your Vmod "hide excluding tax". There is no match, thats why it failed
tim Founder Nuo Sweden Narys nuo geg. 2013 tim 15 gruod. 2024 10:16 The first matching directive (find) for box_product.inc.php does not match the lines in the file. Simply edit the vMod and change this part
maartensworld Merchant Nuo Netherlands Narys nuo birž. 2024 maartensworld 15 gruod. 2024 14:03 It is not "my" Vmod. I got it from here. I mean from the LiteCart system. I have no clue what is in it. I am not a web-coder. I run a shop.
maartensworld Merchant Nuo Netherlands Narys nuo birž. 2024 maartensworld 15 gruod. 2024 14:07 "The first matching directive (find) for box_product.inc.php does not match the lines in the file. Simply edit the vMod and change this part" I have absolutely no clue what this means.
maartensworld Merchant Nuo Netherlands Narys nuo birž. 2024 maartensworld 15 gruod. 2024 14:23 I have looked at it and if I understand it, it needs to find a specific piece of code and replace it with an other piece of code. The piece of code it needs to find is: <?php if ($tax_rates) { ?> <?php echo $including_tax ? language::translate('title_including_tax', 'Including Tax') : language::translate('title_excluding_tax', 'Excluding Tax'); ?>: <span class="total-tax"><?php echo currency::format($total_tax); ?></span> <?php } else { ?> <?php echo language::translate('title_excluding_tax', 'Excluding Tax'); ?> <?php } ?> And it needs to be replaced by this: <?php if ($tax_rates) { ?> <?php echo $including_tax ? language::translate('title_including_tax', 'Including Tax') : language::translate('title_excluding_tax', 'Excluding Tax'); ?>: <span class="total-tax"><?php echo currency::format($total_tax); ?></span> <?php } ?> But, if I manually search though the code, it seem that it already has changed and that is why it can not find the original code. I tried to disable the Vmod, but that does not seem to work. The circle remains green. So, logic dictates I should just delete it as it already did its job.