We sacrifice by not doing any other technology, so that you get the best of Magento.
We sacrifice by not doing any other technology, so that you get the best of Magento.
At Mage monkeys, we received an inquiry that read, Hello, I’m interested to learn about migrating my Shopify store to Magento. Will it be beneficial? Let’s discuss this over a call. Ring me at XXX-XXX-XXXX. Our sales team took the technical head…
READ MORECreate setup file InstallData.php File: app/code/Magemonkeys/Customer/Setup/InstallData.php <?php namespace MagemonkeysCustomerSetup; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoEavModelConfig; use MagentoCustomerModelCustomer; class InstallData implements InstallDataInterface { private $eavSetupFactory; public function __construct(EavSetupFactory $eavSetupFactory, Config $eavConfig) { $this->eavSetupFactory = $eavSetupFactory; $this->eavConfig =…
READ MOREIf you want to add spacing between two gallery thumbnails, then you need to add the below code in your theme/etc/view.xml file. <var name="gallery"> <var name="thumbmargin">24</var> </var> After adding this code, you need to do a flush cache. Note: I have tried…
READ MORELe'ts add a color picker to textbox through system.xml file located at appcodeVendorExtensionetcadminhtml <system> <section> <group id="my_color_group" ...> <field id="my_color_option" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Background Color</label> <comment><![CDATA[Background color]]></comment> <frontend_model>VendorExtensionBlockColor</frontend_model> </field> </group> </section> </system> Now we have to create one Color.php…
READ MORECheck the following root script to create customer programmatically: use MagentoFrameworkAppBootstrap; require 'app/bootstrap.php'; $bootstrap = Bootstrap::create(BP, $_SERVER); $objectManager = $bootstrap->getObjectManager(); $state = $objectManager->get('MagentoFrameworkAppState'); $state->setAreaCode('frontend'); $storeManager = $objectManager->get('MagentoStoreModelStoreManagerInterface'); $storeId = $storeManager->getStore()->getId(); $websiteId = $storeManager->getStore($storeId)->getWebsiteId(); try { $customer = $objectManager->get('MagentoCustomerApiDataCustomerInterfaceFactory')->create(); $customer->setWebsiteId($websiteId); $email = 'ex00@example.com';…
READ MOREThis issue occurred from dotmailer/dotmailer-magento2-extension as detailed here: https://github.com/magento/magento2/issues/28244. It can be resolved by upgrading that module via composer require dotmailer/dotmailer-magento2-extension:"4.5.1 as 4.4.0" php bin/magento setup:upgrade Flush all the usual suspects, too: generated/*, caches, etc.
READ MOREIn some versions of Magento 2 we are facing issues like this where error occurs in all sent mails. I tried so many solutions related .less file also tried adding "pelago/emogrifier": "1.0.0 as 0.1.1" in our root composer.json But it never worked out.…
READ MORESometime we customise code , so we need to get drop-down attribute values in custom file. So the below code will help to retrieve attribute based on attribute id $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $attributeId = 101; $eavModel = $objectManager->create('MagentoCatalogModelResourceModelEavAttribute'); $eavModel->load($attributeId); $attributeCode = $eavModel->getAttributeCode();…
READ MOREAccording to Wikipedia, a bug is an error, flaw, or fault in a technical system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways. Thus, if your eCommerce system faces such bugs then it directly…
READ MORETo remove custom option pricing from the dropdown, you need to add below small piece of code to “select.pthml” file Location of “select.pthml” file: appdesignfrontendThemesyourthemeMagento_Catalogtemplatesproductviewoptionstypeselect.phtml <script> require([ 'jquery', 'domReady!' ], function($) { $(document).ready(function() { $('select.product-custom-option').change(function() { $('option').each(function() { var selectedOption = $(this).text();…
READ MOREOn October 21, 2026, the PHP security team announced two...
Effective immediately, Shopify will ban ALL vape products from its...
Artificial Intelligence has evolved from a competitive advantage into a...
Digital commerce has undergone a remarkable transformation over the last...
The Rise of AI in Shopify Ecommerce The ecommerce industry...