Magento
We have a store with 35000 sku and there are 950 attribute options – We find that when making any updates to products like price or qty or any other changes it is very very slow – like 5 mins if saving via Admin We have tried some import/export extension […]
Magento 2.4 Is it somehow possible to remove parts of the content of a CMS page before it is shown to the user? Is there a renderer I could overwrite? Example: The content of my CMS page is this: hello world, what a nice day today! Before it is shown […]
I’m trying to add a custom order attribute (BC_Pdfinvoice) and make it available in the Order API response. I created a module and added an extension_attributes.xml file here Vendor/Module/etc/extension_attributes.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd"> <extension_attributes for="MagentoSalesApiDataOrderInterface"> <attribute code="BC_Pdfinvoice" type="string"/> </extension_attributes> </config> Then added Vendor/Module/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"> <virtualType […]
I’m trying to make Magento menu open categories only on click and disable hover function. It opens subcategories but once you open a subcategory it doesn’t collapse and you can’t expand a different subcategory I added in app/design/frontend/Vendor/theme/require-config.js the following code var config = { config: { mixins: { 'mage/menu': […]
Open in new tab its not working fine in my admin form, its always showing checked if either its value false. In Database value showing correctly but in editpage it is always showing checked. [link] => Array ( [setting] => false [type] => category [default] => [category] => 4 )
I am trying to make a tabular/grid view in the Admin area for some data that comes from an external API. For that I implemented a data provider. In here I need to create an instance for the external API client with the config stored in the store settings. However, […]
I am facing a weird issue with the “products in category” that reverts back from time to time on Magento 2.2.4 So if I change the products it suddenly rolls back to the products that were there before. For example The Category is “Coffee” but it was previously sausages. So […]
I have referenced a few different questions here and other articles online, but cannot for the life of me determine what is going wrong. Referenced: Event not triggered when new product added in admin : Magento 2 https://magecomp.com/blog/perform-operation-product-magento-2/ Magento 2: how to insert data when submit product in backend? Context: […]