Zen Cart v1.5.3 changed the handling of the redirect page, used in the product information pages to display the product's URL, if supplied. This change is not downwardly compatible, so without template-specific changes for Zen Cart v1.5.3, any product URLs will no longer be displayed.
I added the following conditional code in the tpl_product_info_display.php for the Product Notifications on product_info Page plugin, but on afterthought, there's a better solution out there that will bridge the gap for all information pages' display. I'll post that up here when I've got it completed.
Code:<!--bof Product URL --> <?php if (zen_not_null($products_url)) { if ($flag_show_product_info_url == 1) { //-bof-product_info_notifications-lat9 *** 2 of 2 *** // ----- // Note: Zen Cart v1.5.3 removes action=url and replaces it with action=product -- check version. // ----- if (PROJECT_VERSION_MAJOR > '1' || PROJECT_VERSION_MINOR >= '5.3') { ?> <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 } else { ?> <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 } //-eof-product_info_notifications-lat9 *** 2 of 2 *** } // $flag_show_product_info_url } ?> <!--eof Product URL -->


Reply With Quote
