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

WYSIWYG editor inserting ” instead of correct ” in 2.3.0 when we use any anchor tags

I am facing an issue with Magento 2.3.0+ WYSIWYG editor inserting ” instead of correct ” and also when we write like <a href=”{{store_url}}sales/guest/form/”>Orders and Returns</a> after saving it is displaying <a href=”{{store_url}}”>Orders and Returns</a> Could any one please help… Read More »WYSIWYG editor inserting ” instead of correct ” in 2.3.0 when we use any anchor tags

Magento 2.3. How to create image upload field in an admin form

I want to discribe How I have created image upload field in an admin form. My module’s name is ParacrabBanners Firstly You should add field in Paracrab/Banners/view/adminhtml/ui_component/name_name_form.xml <field name=”image” sortOrder=”30″ formElement=”imageUploader”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”source” xsi:type=”string”>banner</item>… Read More »Magento 2.3. How to create image upload field in an admin form