Skip to main content

Magento2

Power your online business with the most flexible and scalable ecommerce platform

Disable Smile-SA / Elasticsuite

We can disable Disable Smile-SA / Elasticsuite in Magento by executing this command 

php bin/magento modeul:disable Smile_ElasticsuiteCore Smile_ElasticsuiteCatalog Smile_ElasticsuiteCatalogGraphQl Smile_ElasticsuiteCatalogRule Smile_ElasticsuiteCatalogOptimizer Smile_ElasticsuiteTracker Smile_ElasticsuiteThesaurus Smile_ElasticsuiteSwatches Smile_ElasticsuiteIndices Smile_ElasticsuiteVirtualCategory

to install the needed plugins you need to execute this command 

 

How to use Private Content or Sections in Magento 2?

We will show here how we can display a private content in a full cached page, it is very useful if you want to display information per customer 
Magento loads sections by AJAX request to /customer/section/load/ and caches loaded data in the browser local storage under the key mage-cache-storage. Magento tracks when some section is changed and load updated section automatically.

We will use this Vendor/Module as names

Getting error when try to save shipping information for user using magento 2 api

Unable to save address. Please check input data.

It's a strange error we have it sometime, to solve it in some cases you execute this query 

SELECT entity_id, customer_id FROM quote WHERE customer_id != 0 AND customer_is_guest = 1;

and then update the records by this query 

UPDATE quote SET customer_is_guest = 0 WHERE customer_id != 0 AND customer_is_guest = 1;

reference url :

https://stackoverflow.com/a/58086757/4135373

Magento2- Remove plus sign from the configurable product attributes that have additional price

To do this we need to work on the design area it is the easiest way 

firs Create new folder under your theme 

Folder Name: Magento_ConfigurableProduct\web\js

Copy this file "configurable.js" from this path

vendor/magento/module-configurable-product/view/frontend/web/js/configurable.js 

in the line 407 you need to modify this part