Add dynamic product cards to articles

SAKU Blog Duplicate: How to add dynamic product cards to blog articles

  • Duplicate blog posts in one click

  • Easily add dynamic product cards to posts

  • Edit in the same standard editor you already know

NEW
NEW
SAKU Blog Duplicate: How to add dynamic product cards to blog articles

App features

[Free plan]
• Duplicate blog posts (up to 5 per month)
• Blog post templates
• Save specific search filters with saved views

[Pro plan]
• Unlimited blog post duplication
• Easily add dynamic product cards inside blog posts

This article explains how to place product cards between the paragraphs of a blog article. Each card automatically shows the latest price, stock and an "Add to cart" button, so you don't need to rewrite the article when a product's price changes.

This feature is available on the Pro plan ($4.99/month or $49.90/year, with a 7-day free trial) or on development stores (test stores for Shopify Partners). It isn't available on live stores on the Free plan.

In this article

  • Getting ready to use product cards (granting permissions and the app embed)
  • How to add product cards to an article and save
  • How to read the preview in the admin
  • How to check the cards on your store, and what customers see

Where to go: Shopify admin → Apps → SAKU Blog Duplicate (home) → steps 3 and 4 of the Setup guide


Overview

You set up product cards by moving between these screens.

  1. The app's home page: allow the app to read products and themes (step 1).
  2. The theme editor: turn on the "Product cards" app embed and save (step 2).
  3. The app's "Add product cards between paragraphs" page: choose where the cards go and which products to show, then save (steps 3 to 6).
  4. Your store's article page: publish the article and check that the cards appear (step 7).


What you need before you start

  • SAKU Blog Duplicate is installed
  • The Pro plan, or a development store (product cards can't be used on live stores on the Free plan)
  • A blog article to add cards to, and the products you want to show (set the products to "Active")
  • A published theme (turn on the app embed in the published theme)


1️⃣ Allow the app to read products and themes

Open the "Setup guide" on the home page. If step 3 reads "Grant the product-card permissions (paid feature)", click "Grant product-card permissions". The "Update data access" page opens in a new tab and asks for permission to read product and theme information. Review it and click "Update".

Step 3: "Grant the product-card permissions (paid feature)"

The "Update data access" page, asking for permission to read product and theme information

Once you've granted it, go back to the app's tab. The page refreshes automatically, and you're done when the text of step 3 changes. This permission only lets the app read product and theme information. The app never changes your products.


2️⃣ Turn on "Product cards" in the theme editor and save

After granting permission, step 3 changes to "Blog product cards: Enable the app embed (paid feature)". Click "Open theme editor". The guide text mentions "SAKU Product Cards" — it's the same thing. In the theme editor, it's shown as "Product cards".

In the theme editor, open "App embeds" from the vertical icons on the far left. Check that the "Product cards" switch in the list is on (colored). Then be sure to click "Save" at the top right. Nothing changes until you save. Once it's saved, step 3 on the home page is completed automatically.

"Product cards" switched on under "App embeds" in the theme editor

Note: this is an "app embed", not an app block that you add to a section. You can also change the color and size of product cards on this screen. See "How to change the look of product cards".

Note: the theme editor can take a little while to open (it loads the whole theme).

Note: turn it on in your published theme. If you only turn it on in an unpublished theme, the app can't detect it.


3️⃣ Click "Add product cards between paragraphs" in the article list

Open "Blog posts" in the left menu and click "Add product cards between paragraphs" in the row of the article you want to add cards to. You can also go to the article list with "Open blog posts" in step 4 of the Setup guide on the home page.

Step 4 of the guide, with the "Open blog posts" button

The blog post list. "Add product cards between paragraphs" on the second line of the "Actions" column

A page for that article opens. At the top are the article title and the "Edit text", "Preview", "Manage comments" and "More actions" buttons. Use "Back to blog posts" at the top left to return to the list.

The "Add product cards between paragraphs" page. The red boxes mark "Insert here" and a product card row on the left, and the "Preview" note with the Open theme editor button on the right

The red boxes show "Insert here" and the product card row (with its Remove button) on the left, and the "Preview" note on the right.

  • "Edit text": rewrite the text in Shopify's standard editor.
  • "Preview": only works for published articles. Opens the article page of your store in a new tab.
  • "More actions": choose "Duplicate", "Save as template", "Publish" or "Unpublish", or "Delete article".


4️⃣ Choose a product with "Insert here"

On the left, the article body is listed paragraph by paragraph. Click "Insert here" before or after a paragraph to choose where the card goes. Shopify's product picker opens; select one product and confirm.

A row appears at that position with a small green "Product card" label and the product's handle (the last part of the product page's address). It isn't saved yet, so the article hasn't changed. To undo it, click the red "Remove" in that row.

Two product cards added. Green "Product card" labels and "Remove" are shown, with the save bar at the top

  • You can add up to 50 product cards to one article.
  • Paragraph excerpts are shown up to 90 characters. Image-only paragraphs are shown as "Image" (or their alt text), videos and embeds as "Video / embed", and empty paragraphs as "(no text)".
  • If the body is empty, "The article body is empty — insert the first card below." is shown.
  • If the product's handle contains characters that can't be used, "This product's URL handle contains unsupported characters, so a card cannot be inserted." appears and the card can't be added. For how to fix it, see "What to check when product cards don't show".


5️⃣ Click "Save" at the top of the screen

When you add or remove cards, a save bar appears at the very top of the app. Click "Save" next to "Unsaved changes" to apply them to the article. When "Product cards saved" appears, you're done. To cancel, click "Discard" in the save bar.

If you try to go to another page or reload without saving, you'll be asked "You have unsaved product-card changes. Discard them and continue?"

Saving only adds or removes the product card placeholders in the article body. Your text doesn't change — only the spots for the cards are added.

If the article was updated in another tab or in Shopify's editor after you opened this page, saving is cancelled. You'll see "This article was updated elsewhere, so the save was cancelled. The latest content has been reloaded — please place the cards again." Add the cards again.


6️⃣ Check the "Preview" on the right

On the right are "Article details" ("Visibility", "Blog" and "Author") and a "Preview" box. The "Preview" shows the full article with a simplified version of the product cards. As it says — "Simplified preview — the storefront look follows your theme and the app embed settings." — check the real look on your store's article page.

To change how the cards look, click "Open theme editor" in the "Preview" box. From this page, the theme editor opens with a preview of this article.


7️⃣ Check on your store

Publish the article, then click "Preview" in the article's row. For how to publish, see "How to publish or hide an article with one click". Your store's article page opens in a new tab; check that the product cards appear where you placed them. If a card with the product image, name, price and "Add to cart" shows at that position, you're done.

A blog article on the store. Between paragraphs, cards show the product image, product name, price and "Add to cart"


What customers see on your store

Product cards only appear, at the positions you chose, when customers open a blog article page (/blogs/(blog handle)/(article handle)). They don't appear anywhere else. Cards are shown when all of the following are true:

  • The "Product cards" app embed is turned on in the theme editor and saved
  • You're on the Pro plan, or it's a development store
  • The product you added is "Active" and on sale
  • The article is published (customers can't see draft articles)

Each card shows the product image (linked), the product name (linked), the price (with the original price struck through during a sale) and an "Add to cart" button. If the product has two or more variants, a selector appears too. For variants that are out of stock, the button reads "Sold out".

When "Add to cart" is pressed, the button text changes to "Adding…" and then "Added ✓", and your theme's cart (such as a cart drawer) responds. If it fails, "Could not add" appears and the original text returns after 2 seconds. These customer-facing texts are shown in Japanese when the theme language is Japanese, and in English otherwise (they follow the store language, not the admin language).

Changing the product card settings never makes the app rewrite the article text that customers see. Only the spots for the cards are added.

Troubleshooting

  • You can't start setting up product cards
    If step 3 doesn't move forward, have you finished "Grant product-card permissions"? After granting, go back to the app's tab. For details, see "What to check when product cards don't show".
  • Cards don't appear in the article on your store
    Check that you turned on the "Product cards" app embed and clicked "Save" at the top right of the theme editor. Other causes are listed in "What to check when product cards don't show".
  • You can't use it on a store on the Free plan
    Product cards are a paid feature. You'll see "This is a paid feature" and "Inserting product cards requires an active paid subscription. Development stores can use it for free.", along with a "View / change plan" button. See "Checking and changing your plan, and how the free allowance works".