Skip to Content
Menu
This question has been flagged
3 Replies
6132 Views

If a customer places an order in the shopping cart and does not confirm the order, it becomes a quote, After that, if there is any change in the price of the product and the customer completed the order after several days, the order for the old price is completed!

How to update the price in the shopping cart once the product price has been updated?

Thanks

Avatar
Discard
Best Answer

Hi,

Either you can set the default quotation validity to the quotations from the sale settings or you can add some custom codes or modules to over come this.


There is module from OCA which enables the recalculation of the price and description of the product in the sale order lines, please have a look at this module: Price recalculation in sales orders


Using this module user has to click the button to update the price, you can try to automate the button click from the code using the automated action while updating the product price or by over riding the write method of the product model.


Thanks


Avatar
Discard
Best Answer


This is tricky requirement, although not unusual.

Let me suggest best possible solution, depending on your business needs, you can proceed with.


Auto-Cancelling Quotation (or any custom-state): 

Run a Scheduler: Check for quotations which are lying for longer period, & set it Cancel Stage.

In front-end, ie for Customer, suppose if For any cancelled Qtn, when Customer wishes to convert into Order, that time, let System check the prices for any price-change, when found let it alert the Customer, informing the same & proceed with New Price -- during which system will update price & proceed with Confirming Order

Note: This Can also done, without using scheduler, ie when there is any change in price of that product -- u can perform the same by introducing flag or state into its associated Qtn


Avatar
Discard

For this he can use the option of the quotation validity, he can specify the validity of the quotation in the sales settings

Related Posts Replies Views Activity
1
Apr 23
2384
1
Dec 24
1910
0
Oct 22
659
0
Oct 22
379
1
Jul 20
4229