0

In Cart page , Summary Section is there know , in that shipping flat rate will be 5. so i want to add static amount 10. so whenever i will go to cart page shipping rate will be 5+10 = 15 . So how i can achieve this? I want to use only observer. Can anyone please help me to do this.

getEvent()->getQuote(); $quote->setShippingAmount(10); $quote->save(); } } I have used this code. but i didnt get. Thanks
2
  • Please describe what you are trying to do? Sep 2, 2020 at 13:54
  • I want to set shipping amount in magento2 , while going to cart page
    – Priya
    Sep 3, 2020 at 4:48

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.