Skip to content

How to show Discounted Price along with strike Discount Amount in Order Summary of checkout after apply the voucher code?

I want to show the Items price striked with discounted price after applying voucher code. app/code/Vendorr/DiscountShower/etc/di.xml <?xml version=”1.0″?> <config xmlns:xsi=’http://www.w3.org/2001/XMLSchema-instance’ xsi:noNamespaceSchemaLocation=’urn:magento:framework:ObjectManager/etc/config.xsd’> <type name=’MagentoCheckoutModelDefaultConfigProvider’> <plugin name=”AddAttPlug” type=”RltSquareDiscountShowerPluginConfigProviderPlugin” /> </type> </config> app/code/Vendor/DiscountShower/Plugin/ConfigProviderPlugin class ConfigProviderPlugin { /** *@var checkoutSession */ protected $checkoutSession; /**… Read More »How to show Discounted Price along with strike Discount Amount in Order Summary of checkout after apply the voucher code?

Magento 2 : Save quote

What is the Difference between $this->quoteRepository->save($quote); & $quote->save(); In below code public function aroundApply_shipping( StripeIntegrationPaymentsApiService $subject, callable $proceed, $address, $shipping_id = null ) { if (empty($this->checkoutSession) || empty($this->checkoutSession->getQuote()) || empty($this->checkoutSession->getQuote()->getId())) { $writer = new ZendLogWriterStream(BP . ‘/var/log/methodcallcheck.log’); $logger = new… Read More »Magento 2 : Save quote