Skip to content

shopping-cart-price-rules

Auto Added by WPeMatico

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?

TypeError: get_parent_class(): Argument #1 must be an object or a valid class name, string given in magento/framework/Code/Reader/ClassReader.php

I get this error when I tap “schedule new update” button in a cart price rule page you can see in the image below, I echo $className variable, which causes the error, it displays “MexbsApBaseBlockAdminhtmlPromoQuoteActionDetailsStaging”, but there is no Staging… Read More »TypeError: get_parent_class(): Argument #1 must be an object or a valid class name, string given in magento/framework/Code/Reader/ClassReader.php