How Do I Hide the Add-to-Cart Button in Prestashop Based on Products and Categories?

To hide the add-to-cart button in PrestaShop, you can follow these 3 simple steps: 

Step 1: Install and Activate the Module

Install and activate the Hide Price & Add to Cart Pro module. Once that’s done, click Configure to customize the add-to-cart visibility settings. 

Step 2: Hide the Add-to-Cart Button 

Go to Addify Hide Price Pro > General Settings. From here, activate the module and go to Rules. Now click Add New using the plus sign in the top right corner. Now, you can create multiple scenarios in which the add-to-cart button will be shown or hidden as you like. To get started, adjust the following settings: 

  • Enable Hide Add-to-Cart Button: Choose to show or hide the add-to-cart button 
  • Custom button: Replace add-to-cart with custom button and customize the following:
    • Custom Button Title: Add a title for the custom button
    • Custom Button Link Field: Add a URL for the custom button for redirection
    • Custom Button Text Color: Choose a color for the custom button
    • Custom Button Background Color: Choose a background color for the custom button

Step 3: Set Restrictions Based on Products and Categories

Now you can choose to apply the rule on all products or on specific:

  • Products: Apply the rule to specific products 
  • Categories: Apply the rule to specific categories  
  • Supplier: Apply the rule to specific suppliers 
  • Manufacturer: Apply the rule to specific manufacturers 

Within the rules, you can further apply restrictions based on customer groups, prices, stock, etc. Once you have done so, save your changes, and the rule will automatically apply under the desired conditions.