0

In Magento2 Configurable Product Page I want to update price based on attribute change like color, size etc. with custom field FROM DATE and TO DATE selection.

NOTE: (by default Magento provides with configurable options like size, color etc.).

I have attached the screen shot also : enter image description here

When I change dates then changes should be done including to size and color based price too, but it responses with the addition of PRODUCT MAIN PRICE

How to solve this problem?

2

enter image description hereBy default magento 2 provide that option. During configuration product , on the third step u can choose "Apply unique prices by attribute to each SKU" and assign unique price for your super attribute

Update: Added more SC for your clarification

enter image description here

enter image description here

| improve this answer | |
  • 1
    By this way It should not be possible, we applied your answers...Thank you :( – user43082 Feb 19 at 10:59
  • We need from front end. I think you wrong understand. @Mr Zid – Vrajesh Patel Feb 19 at 10:59
  • what u mean by front end? please clarify more . U can select different color and the price acccording to it will change . According to your question , this is what u need , else please correct the question – Mr Zid Feb 19 at 11:01
  • Thank you for your reply. You have created using Custom Options, but I need using Custom Field in .phtml file and price calculated based on time period difference of To and From field. – Vrajesh Patel Feb 19 at 11:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.