
Originally Posted by
fjbern1943
Is this plugin compatible with zen cart version 1.54?
Almost, but not quite. You'll need to find the "Product URL" block in each of the *_display.php files in the /includes/templates/YOUR_TEMPLATE/templates directory and make the change below. The handling of the product's URL display changed in Zen Cart v1.5.3 -- please note that these changes apply ONLY TO Zen Cart v1.5.3 or later!
Find:
Code:
<!--bof Product URL -->
<?php
if (zen_not_null($products_url)) {
if ($flag_show_product_info_url == 1) {
?>
<p id="productInfoLink" class="productGeneral centeredContent"><?php echo sprintf(TEXT_MORE_INFORMATION, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_url), 'NONSSL', true, false)); ?></p>
<?php
} // $flag_show_product_info_url
}
?>
<!--eof Product URL -->
Change to:
Code:
<!--bof Product URL -->
<?php
if (zen_not_null($products_url)) {
if ($flag_show_product_info_url == 1) {
?>
<p id="productInfoLink" class="productGeneral centeredContent"><?php echo sprintf(TEXT_MORE_INFORMATION, zen_href_link(FILENAME_REDIRECT, 'action=product&products_id=' . zen_output_string_protected($_GET['products_id']), 'NONSSL', true, false)); ?></p>
<?php
} // $flag_show_product_info_url
}
?>
<!--eof Product URL -->