Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add To Cart button


jais_1975

Recommended Posts

Posted

I have a problem with the user clicking 'Add to cart' button.

 

In my product_info.php I have a product with a few attributes and also child attributes. Selecting a combination of attributes displays the correct price,however then clicking the 'add to cart' button takes user to the shopping_cart.php page, where the price displayed for the product is different.

I want to replace the product_options_id with products_attributes_id values.

product_info.php?products_id=42{10}131{13}36{11}34{14}127{6}154&action=add_product

42 is product_id

10 is options_id

131 is options_values_id (i want to replace this with products_attributes_id)

 

Where would be able to change that, pls send me example code snips?

Thanks in advance.

 

Jay

Archived

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

×
×
  • Create New...