Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tweaking the add to cart function


scotch33

Recommended Posts

Posted

Hi,

 

I am trying to tweak 'add to cart' in the shop - file product_info.php. The shop is set to NOT jump to cart when a product is added as we have the related products module running to lead people to other products.

 

Once the add to cart button is clicked, as part of the process I want to set a session variable. Using this variable we will then change the ID of a div containing infor we want to be shown only when a product is added and thus using the CSS will display it only when it is a particular ID then reset the session variable to normal for the next time a product is found in the normal way.

 

OK- hope that makes sense - so basically my question is; Which file contains the form that adds something to the cart, so I can start hacking it and trying to add the session variable set etc.

 

That's it - thanks in advance!

Archived

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

×
×
  • Create New...