The Add to cart button block renders the control that adds the currently selected product variant to a customer's cart.
Add to cart button block
Updated last month
The Add to cart button block renders the control that adds the currently selected product variant to a customer's cart.
Settings
Setting | What it does |
|---|---|
Show price in Add to cart | Shows the selected variant's price in the button label (default off). |
Like all Pops blocks, the Add to cart button block shares the theme's common controls: hide the block on desktop or mobile, and set a margin top on desktop and mobile.
FAQ
What does the Add to cart button block do in the Pops theme?
How do I show the price in the Pops Add to cart button?
Turn on the Show price in Add to cart setting to show the selected variant's price in the button label. It is off by default.
Can I hide the Add to cart button block on desktop or mobile in Pops?
Yes. Like all Pops blocks, the Add to cart button block shares the theme's common controls, which let you hide the block on desktop or mobile.
Can I set a margin top on the Add to cart button block?
Yes. The Add to cart button block shares the theme's common controls, which let you set a margin top on desktop and mobile.
Is the price shown in the Add to cart button by default?
No. The Show price in Add to cart setting is off by default, so the price is not shown until you turn it on.