Meditative Folks Theme
Blocks

Add to cart button

How to use the Add to cart button block in the Meditative Folks Theme.

Add to cart button

At a glance

Adds an Add to cart button on the product form. You can style it like other theme buttons and optionally add shimmer.

Used in

  • Product section (buy box)

Settings

General

SettingWhat it doesDefaultShows when
Show contentShows or hides this block without removing it from the section.YesAlways
Additional button classesControls “Additional button classes” on the storefront. Open the theme editor to preview live.—Show content is on
Button variantChoose the button style for navigation controls.outlineShow content is on
Button sizeChoose the button size for navigation controls.mediumShow content is on
Use custom button stylesUse custom styles for the navigation buttons.NoShow content is on
Button backgroundControls “Button background” on the storefront. Open the theme editor to preview live.#ffffffShow content is on and Use custom button styles is on
Button text colorControls “Button text color” on the storefront. Open the theme editor to preview live.#000000Show content is on and Use custom button styles is on
Button padding top & bottomAdds empty space (button padding top & bottom) around the section content.0Show content is on and Use custom button styles is on
Button padding left & rightAdds empty space (button padding left & right) around the section content.0Show content is on and Use custom button styles is on
Full width buttonStretches the button across the full width of its container.NoShow content is on
Enable shimmerAdds a moving highlight across the button or ribbon.YesShow content is on

Setting details

Each control from the tables above, explained simply:

Show content

Shows or hides this block without removing it from the section. Default: Yes.

Additional button classes

Controls “Additional button classes” on the storefront. Open the theme editor to preview live. Default: —. This control appears when: Show content is on.

Button variant

Choose the button style for navigation controls. Default: outline. This control appears when: Show content is on.

Button size

Choose the button size for navigation controls. Default: medium. This control appears when: Show content is on.

Use custom button styles

Use custom styles for the navigation buttons. Default: No. This control appears when: Show content is on.

Button background

Controls “Button background” on the storefront. Open the theme editor to preview live. Default: #ffffff. This control appears when: Show content is on and Use custom button styles is on.

Button text color

Controls “Button text color” on the storefront. Open the theme editor to preview live. Default: #000000. This control appears when: Show content is on and Use custom button styles is on.

Button padding top & bottom

Adds empty space (button padding top & bottom) around the section content. Default: 0. This control appears when: Show content is on and Use custom button styles is on.

Button padding left & right

Adds empty space (button padding left & right) around the section content. Default: 0. This control appears when: Show content is on and Use custom button styles is on.

Full width button

Stretches the button across the full width of its container. Default: No. This control appears when: Show content is on.

Enable shimmer

Adds a moving highlight across the button or ribbon. Default: Yes. This control appears when: Show content is on.

Tips

  • Keep Add to cart next to Buy now in the buy box so shoppers see both actions.
  • Enable shimmer draws the eye — use it on one primary action, not every button.

On this page