Brickspace Lab
Contact usContact ShopifyTry a theme
Space
Space
  • Space documentation
  • Getting started
    • Theme basics
    • Theme settings
      • Theme typography
      • Selecting theme colors
  • Guides
    • Products
      • Adding product subtitles
      • Adding product badges
      • Replacing "Add to cart" for a product
      • Disable "quick add" for a product
      • Product template
    • Collections
      • Collection template
    • Sitewide
      • Using color and option swatches
      • Using device specific visibility
      • Dynamic discount popups
      • Blog template
      • Article template
      • Search results
  • Sections
    • Sitewide
      • Header
      • Footer
      • Announcement
      • Cart drawer
    • Navigation
      • Menu drawer
      • Fixed menu
      • Search drawer
      • Navigation slider
    • Content and Media
      • Video
      • Slideshow
      • Marquee
      • Split banner
      • Image hotspot
      • Countdown
      • Discount
      • Logo list
      • Banner
      • Slider
      • Testimonial slider
      • Search banner
      • Rich text
      • Blog posts grid
      • Testimonial grid
      • Icon grid
      • Collapsible content
      • Tabs
      • Text highlight
      • Block reveal
      • Tooltip
      • Collage
      • Comparison table
    • Products and collections
      • Featured product
      • Alt collection grid
      • Collection list grid
      • Collection list slider
      • Collection slider
      • Featured collection grid
      • Product list
      • Recently viewed
    • Forms
      • Static chat
      • Email sign-up
      • Contact form
      • Custom liquid
      • Store locater
  • General
    • Changelog
      • v2.1.1
      • v2.1.0
      • v2.0.0
      • v1.2.1
      • v1.2.0
      • v1.1.0
      • v1.0.1
      • v1.0.0
    • Known issues and troubleshooting
      • v2.0.0
    • Cloning a demo theme
Powered by GitBook
LogoLogo

Try a theme

  • Paper
  • Space
  • Keystone

Resources

  • Get theme support
  • Services
  • Contact
On this page
  • Space: Replacing "Add to cart" for a product
  • Summary
  • How to
  • Create metafield definition
  • Update metafield

Was this helpful?

Edit on GitHub
  1. Guides
  2. Products

Replacing "Add to cart" for a product

Space: Replacing "Add to cart" for a product

Summary


The “Add to cart” text can be customized for each product using metafields. This is useful if you want to change the wording for specific products. For example, you could use this to display “Pre-order” for one product.

How to


Create metafield definition

  1. Navigate to Settings > Custom data > Products

  2. Click Add definition

  3. In the name field type “Button text”

  4. Ensure the namespace and key field is custom.button_text

Update metafield

  1. Navigate to the product you’d like to update

  2. Scroll to the bottom and enter in text for the “Button text” metafield

  3. Click Save

  • Metafields can also be updated using the bulk editor

Last updated 1 month ago

Was this helpful?