Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Automatic Price Update ?


youngsly

Recommended Posts

Hello all,

 

I will explain what I need to get done.

 

I have items sold by a minimum of 2, the price for a single item is 4.00 $ each but because it is equal or below 10.00 $ the customer has to buy 2 min. I want to put the price for 1 item in the product description page. ( i will use the product model field, to write 2 min)

 

I want that, when the customer adds that particular item to the shopping cart, first, it puts a 2 by default in the quantity order and that the price reads 8.00. That I can do…the problem is where the SUBTOTAL does not calculate correctly, it calculates as if the quantity was 1.

 

I need to click on UPDATE at the bottom of the shopping cart for the subtotal to be re-calculated, cuz if I don`t the amount of the order is wrong and when the customer passes to the cash, the total of the order is wrong as well. (as you know customer don`t read so they WON`T click on update, and why would they, they are not actually changing anything to their order)

 

I am working on the file shopping_cart.php and from what I know I need to do something with the action product_update line, but Im don`t know what to try anymore....if you have any idea...feel free to let me know :))

 

 

Any help is welcome….thank you :-)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...