i need to add text swatch attribute value through script. I’am able to add the attribute but swatch value is not adding. Below is the code i using – $attributeDetails = $objectManager->create('MagentoEavModelConfig')->getAttribute("catalog_product", $attributeCode); //print_r($attributeDetails->getId()); exit(); $attributeId = $attributeDetails->getId(); $languageValues[0]=$label; $languageValues[1]=$label; /* @var $attr MagentoEavModelEntityAttribute */ $attr = $objectManager->create('MagentoEavModelEntityAttribute'); $attr->load($attributeId); $option […]
Monthly Archives: February 2020
I have been using PayPal Payflow Pro for several months now and it often takes 30 seconds for a payment to be processed. I am running Payment Action as “Sale”, Debug Mode is disabled, PayPal Credit is disabled. No errors in my log (when debug was enabled). Magento 2.3.1 Is […]
How do I configure the Magento2 can do below promotion? Free shipping with coupon code: (order >= $50)? I did google some result, some ask to enable free shipping method and set min-order-amount $50. that’s not work. Coz, I don’t want to show free shipping as a shipping method selection. […]
I have an email template that I’m updating using the Magento admin interface. Essentially what I’m trying to do is get the Order ID, hash it, and send it as part of the email. I read that PHP short tags can be used in email templates, but all of them […]
As the title says, the X-Magento-Vary cookie isn’t working that well on my website. Sometimes, whenever a customer logs in, the cookie isn’t created and that makes the user lose the session as soon as he enters another page. I use Varnish 5, Magento 2.3.3 and nginx (could microcache be […]
Right now, default space which Windows 10 tells the programs to use it as (My) Documents folder is C:Usershaa_adminOneDriveاسناد. (Documents folder is not shown in File Explorer) This has made problems for some of my old games which use (My) Documents folder as the default space for saving progress. Because […]
I’ve recently moved into quite a large house (From where the router is based, it’s approximately 22 meters to the other side of the house’s door) and I’ve got the M500 package with Virgin Media. This guarantees an average of 500mbps download speed. I have confirmed this via ethernet. What […]
I am using a Dell Precision 7530 and every time I plug in an earphone or headset via the 3.5mm jack the audio settings change randomly when the side of the laptop is tapped or touched by hand. This causes random behaviour such as volume control going up or down […]