Skip to main content

E-commerce Platforms

E-commerce Platforms

Common WordPress Installation Steps

Common WordPress Installation Steps

  • Install WordPress

  • Install the Theme => Create Child theme then activate it

  • Protect the website by Basic Authentication while the website under construction

  • do all your modification

  • you can now change the theme name into any name 'xxx' then modify the child them to put 'xxx' as parent theme

  • Install some important plugins

Magento 2 search results relevance with elasticsearch?

Magento 2.3 still use "OR" logic for mysql and elasticsearch. Plus "should" conditions (query to ES) are wrong. That's why relevance almost same. But ES significantly improve performance of search and catalog (layered navigation).

 

you have to set AND operator in your elastic search json queries, Override the module-elasticsearch/SearchAdapter/Query/Builder/Match.php. file in your custom module and then The code you have to edit in the build function in line no 75

 

How to Get Value of Product Custom Option from Cart & Order in Magento 2

If you are wondering how to get the value of product custom option from cart and order in Magento 2, this is the right place for you to learn that. Published by Mageplaza, this topic will point you how to do that with two examples as the following.

Firstly, you can use ObjectManager:

Get custom options of products present in shopping cart