I got project with following requirements:
The customer should be able to select delivery date(date popup) in the checkout form.
The administrator can set special delivery date, in configuration settings.
If the customer select a delivery date that matches with special delivery date, the prices will change.
There are 2 price field in 1 product reference. The default price field and custom special price field.
Price value will change according to the delivery date that the customer selected.
For example:
Case 1:
The admin set Special date to be: Feb 14, 2016
The customer selected delivery date: March 2, 2016
The final product price uses the default price field value.
Case 2:
The admin set Special date to be: Feb 14, 2016
The customer selected delivery date: Feb 14, 2016 (match)
The final line item product price will use the value that was set in the custom price field.
What would be the workaround with this one. I feel stuck with my module. I was thinking if I need to use rules instead. Thanks in advance.