Skip to content

shopping-cart-price-rules

Auto Added by WPeMatico

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

How to create catalog price rule while initializing module?

I’m trying to create catalog rule by installing the module, but it’s not working. This is my CreateRuleSetupInstallData.php file <?php namespace PerspectiveCreateRuleSetup; use Exception; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; class InstallData implements InstallDataInterface { /** * @var MagentoFrameworkSetupModuleDataSetupInterface */… Read More »How to create catalog price rule while initializing module?

Magento 2 Can’t get the sales rules conditions in my ui form at edit time Magento 2?

I create custom module for add rule condition in custom module but not get condition data on edit time here i share my files vendor_module_form.xml <fieldset name=”conditions_fieldset”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string” translate=”true”>Conditions</item> <item name=”collapsible” xsi:type=”boolean”>false</item>… Read More »Magento 2 Can’t get the sales rules conditions in my ui form at edit time Magento 2?