I’m placing an order in magento 1.9 and I’m using coupon, the coupon code used isn’t being saved in the coupon_code field of the sales_flat_order table, so I can’t issue the report. I performed a test manually entering the coupon code directly into the database and managed to generate the […]
Magento
How do I remove the page loader or spinner when user entered value in the field i.e Phone Number field ? I believe is this default design by Magento to check on the validation part or making ajax request but is there any specific reason why such page loader or […]
When I go to compile I get this error- php bin/magento setup:di:compile Compilation was started. Area configuration aggregation... 5/9 [===============>------------] 55% 40 secs 517.0 MiB In ClassReader.php line 45: Impossible to process constructor argument Parameter #1 [ <required> AmastyBaseModelFilesystemProvider $filesystemP rovider ] of AmastyBaseHelperDeploy class In ClassReader.php line 34: Class […]
Magento 2.4.2-p1 Smartwave Porto theme extensions from Amasty We switched to Magento 2.4.2-p1 and the order of the Address fields during check-out is: First Name Middle Name/Initial Last Name Company Street Address Street Address: Line 1 Country State/Province City Zip/Postal Code Phone number Why is that? I’ve travelled around the […]
I created a page testPage and use $pageExist = $this->getUrl('testPage') ?> so i could render an a block if it exist like so if ($pageExist) BUT when i go from amdin panel and set page from enabled to disabled, clear cache, the $pageExist is till true, or what i assume, […]
I recently noticed the line $this->registry->register with register striked through. Mouseover displayed a message saying Register is deprecated. Could you please direct me to what is the alternative to this now? Thank you all. I am using the code below in the custom module. case "stripe_payments": // We need to […]
I have a product for which another product needs to be added in the cart. For this I need to check if the quantity of said product is changed in order to change the number of associated products. I wrote a Plugin on the SetQty function in order to get […]
This is my component field <field name="is_campaign_plp" formElement="checkbox"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="component" xsi:type="string">Cpy_Cms/js/form/element/plp-campaign</item> <item name="source" xsi:type="string">plp</item> <item name="default" xsi:type="number">0</item> </item> </argument> <settings> <dataType>boolean</dataType> <label translate="true">Used for Campaign only</label> <dataScope>is_campaign_plp</dataScope> </settings> <formElements> <checkbox> <settings> <valueMap> <map name="false" xsi:type="number">0</map> <map name="true" xsi:type="number">1</map> </valueMap> <prefer>toggle</prefer> </settings> </checkbox> </formElements> </field> […]