2

In Magento2, I want to modify the Quote. I want to add some custom attributes to the items and change the order of the items.

At what level should it be done, Model, Controller, Block? Please, specify why. What are the pros and cons.

Thanks!

2
  • You can add observer after adding to cart or cart refresh there you can add your custom attribute. follow this question on cart update custom option Dec 5, 2017 at 9:29
  • Thanks! Why don't you give an answer in the answer part?
    – Supersonic
    Dec 5, 2017 at 9:55

0

Your Answer

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

Browse other questions tagged or ask your own question.