How to Get shipping rates from the quote and a change Price | change product prices per quote


   $rates = $quote->getShippingAddress()->getShippingRatesCollection();
   foreach ($rates as $rate)

For Returning the values you should recalculate the Rules



 foreach ($quote->getAllVisibleItems() as $item) {
   $item->setCustomPrice( $item->getProduct()
   $item ->getProduct()->setTaxClassId(0);

Ready to elevate your e-commerce business?

Discuss your business objectives with us. Get in touch today to explore ways we can assist in reaching them.

Copyright © 2021-2024 ArmMage LLC. All rights reserved.