Fure Posted November 23, 2009 Share Posted November 23, 2009 Hi, Yesterday I noticed that the button_in_cart on de product_info page doesn't work anymore. When I click on it it does nothing. I know for sure that it worked before. I changed the original code to this now: <?php echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> Now the button redirects to the shopping cart, but it is empty! The buy_now button on product_listing works like it should be. Please help, it's a live shop. Link to comment Share on other sites More sharing options...
Fure Posted November 23, 2009 Author Share Posted November 23, 2009 I tried with replacing the button with a buy_now button. The button appeared but again nothing happened when I clicked on it. So I decided to put the button_in_cart back and suddenly it works again. :-" Strange but solved. Link to comment Share on other sites More sharing options...
Fure Posted November 23, 2009 Author Share Posted November 23, 2009 I tried with replacing the button with a buy_now button. The button appeared but again nothing happened when I clicked on it. So I decided to put the button_in_cart back and suddenly it works again. :-" Strange but solved. EDIT: And again it's redirecting to an empty cart. What the hell is this? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.