Hello,
I'm totally new on PHP and I want to show the products_viewed counter under the buy now button in prodcut listing page,
and I use following code by Mr. Ajeh in this thread:
https://www.zen-cart.com/showthread....ct_info_diplay:
But it seems not working. I have tried in product info page and it is working.Code:<?php echo ( zen_products_lookup((int)$_GET['products_id'], 'products_viewed') > 0 ? '<li>' . 'Views: ' . zen_products_lookup((int)$_GET['products_id'], 'products_viewed') . '</li>' : '') . "\n"; ?>
I did a search for my problem but there are no any related result...
Thank youuuu


Reply With Quote
