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.
1) 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 MOREThere is this code which used to get price with currency. Let's see how to get it. We can use below helper price to get it. <?php use MagentoFrameworkPricingHelperData protected $priceHelper; public function __construct(Data $priceHelper) { $this->priceHelper = $priceHelper; } public function…
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 MOREThe commercial vehicle components and spare parts industry has undergone...
The automotive aftermarket industry has undergone a massive transformation over...
The modern digital landscape has transformed how manufacturers, distributors, and...
The automotive parts and component industry has undergone a massive...
Understanding the Digital Transformation of the Industrial Supply Market The...