Published on May 11, 2020

How to replace Add to cart buttons output by Product List elements with custom buttons in Oxygen

Sridhar Katakam

This members-only tutorial provides the steps to replace the Add to cart buttons in the output of Oxygen's Product List components with custom Read more buttons that link to the single product pages instead of directly adding the product to the cart.

Before:

After:

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Replace Add to cart buttons in the output Product List with custom buttons

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $499 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-down