Post by Khal » Fri Oct 30, 2015 1:46 am

I don't like to post about other developer's mods on here, but I have been trying to contact this extension developer for weeks with no reply.

I have installed an extension which removes the 'Add to Compare' buttons from my site. The module works fine on the front end but I am getting two NOT FOUND errors in my modification log, and the extension is also causing conflict with a SEO microdata mod I have.

I have tried to highlight the errors but can't One is Line 143 and the other is near the bottom at line 91:

Code: Select all

MOD: Remove Compare
FILE: catalog/view/theme/default/template/product/search.tpl
CODE: <p><a href="<?php echo $compare; ?>" id="compare-total"><?php echo $text_compare; ?></a></p>
LINE: 70
CODE: <button type="button" data-toggle="tooltip" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-exchange"></i></button>
LINE: 143
FILE: catalog/view/theme/default/template/product/manufacturer_info.tpl
CODE: <p><a href="<?php echo $compare; ?>" id="compare-total"><?php echo $text_compare; ?></a></p>
NOT FOUND!
CODE: <button type="button" data-toggle="tooltip" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-exchange"></i></button>
LINE: 91
FILE: catalog/view/theme/default/template/product/category.tpl
CODE: <p><a href="<?php echo $compare; ?>" id="compare-total"><?php echo $text_compare; ?></a></p>
LINE: 55
CODE: <button type="button" data-toggle="tooltip" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-exchange"></i></button>
LINE: 129
FILE: catalog/view/theme/default/template/product/special.tpl
CODE: <p><a href="<?php echo $compare; ?>" id="compare-total"><?php echo $text_compare; ?></a></p>
LINE: 18
CODE: <button type="button" data-toggle="tooltip" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-exchange"></i></button>
LINE: 91
CODE: <p><a href="<?php echo $compare; ?>" id="compare-total"><?php echo $text_compare; ?></a></p>
NOT FOUND!
CODE: <button type="button" data-toggle="tooltip" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-exchange"></i></button>
LINE: 438
CODE: <button type="button" data-toggle="tooltip" class="btn btn-default" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product_id; ?>');"><i class="fa fa-exchange"></i></button>
LINE: 135
FILE: catalog/view/theme/default/template/module/bestseller.tpl
CODE: <button type="button" data-toggle="tooltip" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-exchange"></i></button>
LINE: 36
FILE: catalog/view/theme/default/template/module/featured.tpl
CODE: <button type="button" data-toggle="tooltip" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-exchange"></i></button>
LINE: 36
FILE: catalog/view/theme/default/template/product/compare.tpl
CODE: <?php echo $header; ?>
LINE: 3
I have commented out the 'compare-total' code from the file

Code: Select all

catalog/view/theme/default/template/product/manufacturer_info.tpl
but that doesn't do anything.

The NOT FOUND errors I am getting i am getting in the SEO extension are related to the 'compare button'. Do I need to remove the lines that refer to this button? And will these errors affect the functionality of the extensions?

I hope someone can help

Many thanks in advance


OC 2.0.1.1

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK
Who is online

Users browsing this forum: No registered users and 2 guests