Jump to content

Need to override the price when add to cart


Recommended Posts

Hello, 

We prepare new module to builder a product (New system of combinaison). 

The price is changed when option are choose  and it is  calculate. So the main price is changed. 

We need when add to cart the new price is take. 

We have  solution but to complicate and need multi override. 

We think That maybe in 1.7 That is a hook like beforecartaction or same 

Link to comment
Share on other sites

51 minutes ago, Open Presta said:

The price is changed when option are choose  and it is  calculate. So the main price is changed. 

We need when add to cart the new price is take. 

If I'm not mistaken that is called fraud. A customer chooses a product for 4$ and when paying for it pays 6?

Link to comment
Share on other sites

890482132_Capturedecran2021-08-05a10_44_55PM.thumb.png.5844787e81feeff5ac2c4f16eb1bb301.png

1647098591_Capturedecran2021-08-05a10_45_04PM.thumb.png.8bb4fb319f023c017df1eb43336cf652.png

1160715984_Capturedecran2021-08-05a10_45_24PM.thumb.png.0ac3e18091d8141e9b95727b62551455.png

364567249_Capturedecran2021-08-05a10_45_35PM.thumb.png.a943d3417da7fc149e446b102850d3c7.png

 

see this pictures , when we click to customize it , our module will show this step ( pic 2-3) with new options to choose , and every option has a price , and finaly we have price of product + price of all options , we need when click to add to cart , have the new price in the cart and order , so. we need to change the price of product when add to cart 

364567249_Capturedecran2021-08-05a10_45_35PM.thumb.png.a943d3417da7fc149e446b102850d3c7.png

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...