Currently our Magento is using Fastly. Last month, we got attacked by bots. They are trying to place order as a guest thru an API call. Is there any VCL script that I can write in Fastly, so I can block the bots attack? I did google and find the […]
Magento2
We have a Magento 2.4.5 site and would like to change the default behavior for orders that are paid for via purchase order, by default Magento sets them to PENDING (makes sense) but we use a 3rd party order fulfillment system that imports orders that are marked as PROCESSING. I’ve […]
I need to know where to put my Google Map API Key in Magento 1.9.4.5 to prevent wrong inputs in address bar. I think it is straight forward in Mgento 2 but I can not find anywhere in Magento 1.9.4.5! Now the address input bar accept wrong addresses and I […]
I am upgrading my website from Magento 2.4.3 to 2.4.4 After upgrade I have found out that email templates design have messed up. Earlier the email templates have a fixed width and was aligned at the center of the page. But in 2.4.4 I have found out that there is […]
Add new fields(Latitude, Longitude) in billing address and shipping address and display both custom fields and it’s value on following sections: Admin Order Section Order notification and email address section Order PDF address section
Company A is an e-commerce store selling rugs online. Company A wants to charge based on the size of rugs provided by the customer. In backend, show product-wise option to enable/disable this functionality and field to specify price per sq. meter. Show form on product page to enter height and […]
Create a custom component to add/edit/delete and view the detail of design information into admin. Associate the multiple design option to product and show selected design option product detail page. Create following fields in given table: Table name: design design_id int 10 primary key design_name varchar 50 unique design_status tinyint […]
Magento 2.4.4. I am getting some configurable product model. $product = $block->getProduct(); I need to determine, whether this product has swatches or not. Thanks for any help.
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; /** […]