How to create data patch to insert data in dynamic blocks in Magento 2.4?
How to create data patch to insert data into the database for dynamic blocks?
How to create data patch to insert data into the database for dynamic blocks?
I have update product URL-key but still, the old URL is working. New URL is not working. Solution applied: ACSD-45168 patch applied. It generates the rewrites, but with the old url, not the new url-key. This happens for products that… Read More »Create Permanent Redirect for old URL not working – Magento 2
I have been using Magento for about 7 years and am pretty familiar with the platform. I recently added a new website to my installation that requires general VAT calculations. Here is the issue: Country A: 20% VAT tax (Country… Read More »Magento VAT tax calculation with countries with different tax percentage is calculated incorrectly
We are getting orders from Magento that feeds into our Enfocus Switch computer. I have an order that has given the error: <?xml version=”1.0″?> <response> <message>Internal Error. Details are available in Magento log file. Report ID: webapi-65d79324a87f6</message> </response> I do… Read More »How do I access the magento log file using ONLY the web interface
I am not an expert in Magento and I have a problem with the sum of my bundle product when it shows the final price. The total sum of the product should be 4,850.00 but as we see it shows… Read More »Magento 2: Problem in rounding the price of a bundle product
I’m using the ODBC driver, which is connected to MS SQL Server. But when I’m passing this information in the Magento 2 env.php file,. I’m getting this: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for ODBC_Data_Source failed: Name or service not known ODBC_Data_Source… Read More »Magento 2 connection with SQL server
Module/CustomProductType/etc/product_types.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Catalog:etc/product_types.xsd”> <type name=”Custom” label=”Custom Product Type” modelInstance=”BrainvireCustomProductTypeModelProductTypeCustomProduct” indexPriority=”60″ sortOrder=”80″ isQty=”true”> <priceModel instance=”BrainvireCustomProductTypeModelProductTypePrice” /> </type> </config> Module/CustomProductType/Model/Product/Type/CustomProduct.php <?php namespace ModuleCustomProductTypeModelProductType; class CustomProduct extends MagentoCatalogModelProductTypeVirtual { const TYPE_CODE= ‘new_product_type_code’; public function deleteTypeSpecificData(MagentoCatalogModelProduct $product) { } } Module/CustomProductType/Model/Product/Type/Price.php… Read More »Price attribute missing when we create product with our custom product type
I created a module for custom items similar to products and showing on frontend as a listing and detail page. I want to show the listing page on this URL: storeurl.com/custom which is loading fine but the detail page is… Read More »How to show custom Item detail page on require URL?
I found this here in the documentation but I don’t know where the value or type of discount goes, whether percentage or fixed
My question is quite simple. I want to write something in redis, a value, a string, anything. Is there any object available, some interface, that I can easily inject and store something there? Looking for something like this: $this->storageRedis->store($key, $value);… Read More »Magento 2. How to write something custom in Redis?