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 */ private $moduleDataSetup; /** * @var MagentoCatalogRuleModelRuleFactory */ private $ruleFactory; /** […]
Magento1
We are running multiple stores off Magento 2. I have setup VAT rates and VAT rules per country. Is there a way to control which stores the VAT rate is applied to? For example i have a retail store and i want VAT to be applied here but not on […]
I have MSI enabled and have 2 sources – i want to be able to setup so saleable quantity is an aggrigate of both sources so if source 1 and 1qty and source 2 has 1 qty then saleable qty shows 2 but for some reason it seperates it out […]
Magento 2.4.5-p1 Smartwave Porto theme I have found the following Error in my logs: main.WARNING: Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. Please update innodb_buffer_pool_size or decrease batch size value (which decreases memory usages for the temporary table). Current batch size: 100000; Allocated memory […]
I have 1lac products in Magento, I want to delete the products based on some condition like if the product is disabled, but if we delete all products in a single time using corn the server can crash. I searched and came to know that many people suggested the consumer::queue. […]
We have set up a multi regional website in magento with country specific subfolders for different regions. It has geo location based automatic redirection in place and everything works fine. But when we search in google, the google search results shows /us based links instead of /row or .com/ . […]
I’m experiencing an issue where customers are intermittently receiving a 503 error (maintenance flag) when performing certain actions on the cart in Magento 2. For example, in one scenario, a guest user adds a product to the cart, proceeds to the login page, logs in, and then navigates back to […]
0 Magento 2.4 product item quantity can’t be zero in bundle product. Change to 0 in front end and add it to cart When check out the cart, i found the item’s qty is 1 instead of 0 How to deal with it? How to make the qty=0, showing correct […]