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.
If 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 get all the children product ids from the configurable product in Magento 2, you need to retrieve the list of child item ids by the configurable product id. <?php namespace MagemonkeysChildIdsModel; use MagentoConfigurableProductModelProductTypeConfigurable; class ConfigurableChildrenIds { private $configurable; public function __construct(…
READ MOREIf you want to show sub category image with sub category name of current category page then follow below process. Get subcategory of current category Step 1 : create sub-category.phtml file under ../app/design/frontend/[VendorName]/[theme]/Magento_Catalog/templates/category/ and paste below code inside it <?php $objectManager =…
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 MOREArtificial 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...
(more…)
The rapid advancement of artificial intelligence has transformed the digital...