Buy now buttons not clickable in Zencart


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...

 

 


You can view this article online at:
http://docs.algozone.com/article/buy-now-buttons-not-clickable-in-zencart