Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

"FIX Products attributes BUY NOW action" contribution problem


Recommended Posts

Hello to all of you.


I just installed the "FIX Products attributes BUY NOW action" contribution

that forwards you to the product cart without displaying the product info.

so far so good.


but the attributes of the product are not being send to the basket

can anyone please help me??





here is the change that is made:


FOLDER: domaine.com/yourshop/includes/


FILE: Application_top.php, line 358, u have this line:


tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']));


Replace it with:


$cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+1);


Ok its sure u can modify the IF and ELSE but its working as this perfectly and its more

simple to come back to the originale code line of u want after the modification.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...