Skip to content

kingfisherdirect/disable-compare-magento-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAGENTO 2 DISABLE COMPARE

Some shop owners keep complaining about Compare features in Magento 2 default that slows down customers’ purchasing process. How to get rid of it? Magento 2 Disable Compare Free extension is the simple answer to disable all compare features on any pages of Magento 2 websites

1. Documentation

2. How to install

  • Step 1: Unzip the file.
  • Step 2: Create another directory called app/code/Bss/MODULENAME/ where MODULENAME must be replaced by the modules internal identifier. You can find it in the "composer.json" file in the extension ZIP file you downloaded, look at the node "psr-4". For example, it could say "Bss\AjaxCart\" or "Bss\OneStepCheckout\" there, then the MODULENAME is the part after \ and before \, so in our examples AjaxCart" or "OneStepCheckout". This is what you call the directory, then, for example app/code/Bss/AjaxCart, and you put the contents of the extension ZIP file in there.
  • Step 3: Upload the directory app/code/Bss/MODULENAME/ into the root directory of your Magento installation. The root directory of Magento is the directory that contains the directories "app", "bin", "lib" and more. All directories should match the existing directory structure.
  • Step 4: Go to Magento 2 root directory. Run: php bin/magento setup:upgrade.
  • Step 5: Run: php bin/magento setup:static-content:deploy.
  • Step 6: Clear all caches.

3. Detailed Features

Just install and enable disable compare feature and Magento 2 Disable Compare Free extension does the rest to remove all compare functions on any places of your sites.

  • Disable compare blocks and links on all pages Once Magento 2 Disable Compare Free extension is enabled, all compare features will completely disappear on Search Result Page, Product page, Category Page, Related/Cross-sell/Up-sell Products,Widget, Home Page Header, or Layer Navigation Bottom.

Disable_Compare_M2_catagory_page.png

In any case, admin wants to regenerate “Add to compare” functions, just go to Disable Compare Config and choose “No”.

  • No interfering with the core code Overriding template code is the biggest issue that prevents admin from removing compare products on pages. Thus, Magento 2 Disable Compare Free modules becomes the easiest solution ever!

Disable_Compare_backend.png

Disable Compare Tutorial blog that you may be interested.

4. User Guide

Please go to Stores → Configuration → BSSCommerce → Disable Compare after finishing the installation. Disable_Compare_backend.png

On setting “Yes” In Disable, disable compare feature are in use to:

  • Remove the Compare functionality on all places: the Widget, Category Page, Search Result Page, and Product Page, Layered Navigation Bottom, Home Page Header,...
  • Remove “Add to Compare” features in the Related, Upsell, Cross-sell Products.

5. Other Useful Magento 2 Extensions Recommended for Your Ecommerce Store

Pre-Order: allows customers to pre order products that are not available.

Reorder Product List: allows customers to repurchase previously ordered items quickly in their Accounts.

Custom Order Number: allows admin to customize all documents numbering related to sales especially the order number in Magento 2.

Auto Cancel Order: cancels order automatically after a period of time set by admin.

Delete Order: allow admins to delete redundant orders, invoices, shipments and credit memos within clicks.

Google AMP: helps create and customize AMP - Accelerated Mobile Pages for Homepage, Category Page and Product Page in Magento 2.

XML Sitepmap: generates and splits XML sitemap for Magento 2 store to boost up crawling by search engines.

Dynamic HTML Sitemap: generates a HTML sitemap including all links on Magento 2 store for both users and search engines.

Rich Snippets: adds Rich Snippets, breadcrumbs, rating, price, review… for products and other information of your Magento 2 store in search result pages.

Meta Tags Template: auto-adds meta description, meta title, meta keywords and description for products and categories in Magento 2 by customizing meta tags template.

Lazy Load: delays loading images of products until customers scroll down the page so as to reduce loading time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.3%
  • HTML 3.7%