shopping cart templates, oscommerce templates, cre loaded 
templates, zencart templates, magento templates

Ecommerce Products KnowledgeBase

shopping cart templates, oscommerce templates, cre loaded 
templates, zencart templates, magento templates

Buy now buttons not clickable in Zencart

Print | Bookmark
Bookmark and Share

Buy now buttons not clickable in Zencart

Please locate the code for the button and make the following changes:

the original code isĀ :

zen_href_link(basename($PHP_SELF), zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $new_products->fields['products_id'])

replace with:

zen_href_link(FILENAME_PRODUCT_INFO, zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products->fields['products_id'])

basename($PHP_SELF) <-- this cause the error...

 

 

Was this article helpful?

Yes No
Bookmark and Share

Category: ZENCART

2172 views