Published on Apr 17, 2020

How to add a custom field’s value below the Add to Cart button on single products in Oxygen

Sridhar Katakam

This premium members-only tutorial provides the steps to display the value of a product_note Wysiwyg Editor type custom field created using Advanced Custom Fields in between the Add to Cart button and product meta on single product pages in Oxygen.

ACF Field Group:

Product Note field being populated in the product editor:

Product Note being output on the front end on the single product:

Step 1

Install and activate ACF.

Create your field group having a Text or Text Area or Wysiwyg Editor type of field.

Set the group to appear on Products.

Step 2

Edit your products and enter your desired text for the field.

Step 3

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Add content below Add to Cart button on single products

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-downarrow-right