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.
Here we can get cart rule from quote, so we can apply cart rule based on quote This is making module : Magemonkeys/Generalcart This is block file <?php namespace MagemonkeysGeneralcartBlock; class Simplequote extends MagentoFrameworkViewElementTemplate { protected $sessionmodelFactory; protected $quotemodelFactory; public function __construct(…
READ MORE1) Create a sales.xml file on app/code/Vendor/module/etc <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Sales:etc/sales.xsd"> <section name="quote"> <group name="totals"> <item name="promodiscount" instance="VendorModuleModelQuoteDiscount" sort_order="500"/> </group> </section> </config> 2) Create file Discount.php on this path appcodeVendorModuleModelQuoteDiscount namespace VendorModuleModelQuote; class Discount extends MagentoQuoteModelQuoteAddressTotalAbstractTotal { public function collect( MagentoQuoteModelQuote $quote, MagentoQuoteApiDataShippingAssignmentInterface…
READ MOREI got a solution by removing all the content security warnings by creating a module and adding the csp_whitelist.xml in the etc folder of the module. Step 1: Create a module. Step 2: Add csp_whitelist.xml in the etc folder of the module…
READ MOREeCommerce business is very sensitive when sales don't flow in the regular interval. Regular orders are the backbone of every business. But when this flow gets disturbed or delayed, it impacts the business cycle. Only marketing & sales aren't the reason. You…
READ MOREThe year has changed, but many stores are still struggling to achieve the desired sales target. This article is a catch for them. In this article, we're going to talk about the points which can help you to improve your eCommerce site's…
READ MOREMagento 2 is not having this by default setting to see import folder of pub/media in 'Insert Images' section under CMS Page or Blocks. If you want to show import folder in CMS Page or Blocks then follow below steps. Step 1…
READ MORE1. Open the database 2. Find table name "email_template" 3. Find the override template row and change column is_legacy = 1
READ MORErequire([ 'jquery', 'mage/validation' ], function($){ var dataForm = $('#form-validate'); var ignore = null; dataForm.mage('validation', { ignore: ignore ? ':hidden:not(' + ignore + ')' : ':hidden' }).find('input:text').attr('autocomplete', 'off'); $('button#my-button').click( function() { //can be replaced with any event dataForm.validation('isValid'); //validates form and returns boolean…
READ MOREIf you want to show custom text after price on product detail page in product view page, then follow the below steps. 1. Create catalog_product_view.xml in your custom theme app/design/frontend/[Vendor_name]/[theme_name]/Magento_Catalog/layout/catalog_product_view.xml <?xml version="1.0" ?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceContainer name="product.info.main"> <block class="MagentoFrameworkViewElementTemplate" name="price.after.text"…
READ MOREThe tech world is trending with the articles that read - "Shopify pulls down Trump's eCommerce store from their platform." This won't impact Trump organization a lot, but imagine what would have happened to a small or medium level Shopify store owner…
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...