Quick Add Magic: Enabling 'Add to Cart' for Complementary Products in Your Shopify Ride Theme

Hey there, fellow store owners! It's always great to dive into the Shopify Community forums, where real-world problems get real-world solutions. I recently stumbled upon a super common head-scratcher that many of you using the sleek Ride theme might encounter: getting those handy "Add to Cart" buttons to show up right on your complementary product recommendations.

Our friend @cleankits kicked off a thread asking exactly this, saying they'd enabled "quick add" but saw no change. And guess what? This isn't just a Ride theme thing; it's a common point of confusion across many themes and Shopify setups. But the good news is, the community rallied with some fantastic insights, and most of the time, it's a simple fix, not a code headache!

The Mystery of the Missing Button: Why "Quick Add" Might Not Be Working

When you toggle a setting like "Enable quick add button" in your theme editor and nothing happens, it feels like a bug, right? But as several experts in the thread, including @Tim57 from Sonder Sites and @VilladsBFO, pointed out, it's usually not a glitch. It often means one of two things: either there's nothing for the button to attach to, or you're looking at the wrong toggle. Let's break down the common culprits and how to fix them.

Step 1: You HAVE to Assign Complementary Products First!

This is, hands down, the most overlooked step. The "quick add" button won't just magically appear if your product doesn't actually have any complementary products assigned to it. Think of it like a shelf: you can turn on the "display items" light, but if the shelf is empty, there's nothing to see!

Here’s how to make sure your products are linked up:

  1. Go to your Shopify Admin and navigate to Products.
  2. Click on the specific product you want to add complementary items to.
  3. Near the top right, click the ... (More actions) menu.
  4. Select Edit product recommendations.
  5. Scroll down to the Complementary products section.
  6. If this list is empty, click Add products and select the items you want to recommend.
  7. Don't forget to Save your changes!

As @Tim57 wisely put it, "Theme editor settings will not invent the list." You need to populate that list first!

Step 2: Double-Check Your Theme Editor Toggles (There Might Be Two!)

Okay, so you've assigned your complementary products. Now, let's look at those toggles. This is where it can get a little tricky, as @Priyasha and @Tim57 highlighted, because there might be two different "quick add" toggles depending on how your complementary products block is set up.

Most of the time, especially with newer versions of the Ride theme, you'll find it here:

  1. From your Shopify Admin, go to Online Store > Themes.
  2. Find your Ride theme and click Customize.
  3. Navigate to a product page template (e.g., Default product).
  4. In the left sidebar, find the Product information section.
  5. Look for the Complementary products block within that section and click on it.
  6. You should see an option to Enable quick add button. Make sure this is toggled on.

However, here's a crucial distinction: If your complementary products block is actually an "App block" coming from Shopify’s Search & Discovery app, it has its own dedicated "show quick add" toggle. This is separate from any general theme setting. So, if the first method doesn't work, click on the complementary products block and inspect its settings carefully to see if it's an app block with its own toggle.

Step 3: Save, Refresh, and Check Your Live Store!

This might sound obvious, but it's a common pitfall. After making any changes in the theme editor, always:

  1. Click the Save button in the top right corner of the theme editor.
  2. Go to your live, published store (not just the theme editor preview).
  3. Do a hard refresh of the page (Ctrl+Shift+R on Windows, Cmd+Shift+R on Mac). Caching can be a real trickster, making you think changes haven't taken effect when they actually have!

@VilladsBFO and @Priyasha both emphasized this point, and it's a simple step that often solves a lot of frustration.

A Quick Note on Product Variants

One last thing to keep in mind, as @Priyasha and @gotinker mentioned: If your complementary product has multiple variants (like different sizes or colors), the button won't say "Add to cart" directly. Instead, it will display "Select options." This is normal and expected behavior, not a bug! Customers need to choose their preferred variant before adding it to their cart.

When All Else Fails: Considering a Code Solution (The Advanced Route)

Most of the time, the steps above will get you those quick add buttons working beautifully. The general consensus from the community, especially from @gotinker, is that "You should not need custom Liquid for this on Ride." Shopify has really built out the functionality within the theme editor itself.

However, there are rare cases, such as if you're on a very old version of the Ride theme, where the built-in quick add setting might not exist. In such scenarios, you might need to dive into the code. But here's a BIG WARNING from @Tim57:

"Do not paste a custom form into the section until those two checks fail. A hand-rolled /cart/add form on complementary cards often fights Ride’s existing product form and you end up with the wrong variant in the cart."

This is super important! If you do go the code route, proceed with caution, back up your theme, and ideally, test on a duplicate theme. If you're comfortable with Liquid and JavaScript, @mastroke provided a potential code snippet that involves adding a product form and some AJAX JavaScript to handle the cart addition. This is an advanced solution and should only be attempted if you've exhausted all other options and understand the potential implications.

Here's the code snippet shared by @mastroke, but remember the warnings:

{%- form 'product', block_product -%}

And the accompanying JavaScript:

document.addEventListener('submit', function (e) {
const form = e.target.closest('product-form form');
if (!form || !form.closest('.complementary-products, [data-complementary]')) return;
e.preventDefault();

const formData = new FormData(form);
fetch('/cart/add.js', {
method: 'POST',
body: formData,
headers: { 'Accept': 'application/json' }
})
.then((res) => res.json())
.then((data) => {
if (data.status) {
alert(data.description || 'Could not add to cart');
return;
}
document.dispatchEvent(new CustomEvent('cart:refresh'));
})
.catch((err) => console.error(err));
});

It's truly inspiring to see how the Shopify community comes together to help each other out. The vast majority of issues like this can be solved by understanding the platform's features and settings, which is a testament to how powerful and user-friendly a platform like Shopify is for growing your business. So, before you reach for the code editor, give those initial setup and toggle checks a thorough run-through. Chances are, your quick add buttons are just waiting for you to flip the right switch!

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools