Skip to main content

How can I add a product collection to any page on Shopify?

Use the Product Collection Element to Add a Collection to Standard, Blog, Product, and Other Collection Pages.

You can easily add a product collection to any page using this element.

How to Use The Product Collection Element

In the element library on the left, scroll down until you see the Collection element under the Shopify heading.

When you drop a Collection, choose which collection it shows.

Drag the element to where you'd like it on your page. A Select a product collection window opens, where you choose the collection to display.

In the settings panel on the right, you can then change which collection is displayed. The Main section also has these settings:

  • Update product order: refreshes the products and their order to match Shopify. The editor also does this each time you open the page.

  • Apply changes to all: makes the same edits to every product box in the collection. See below.

  • Hide out-of-stock products: hides sold-out products on your live page. Hidden products still count toward Number of products and aren't replaced, so fewer products may show.

  • Number of products: the most you can choose is the number of products in the collection that are available on your Online Store. Changing it needs the page to be republished.

  • Show as: Grid or Slider.

  • Columns per row: can be set separately for each screen size.

  • Stacking on smaller screens

The Collection Main section.

💡 Note: if you change the collection's sort order in Shopify, your live page updates automatically. The editor picks up the new order the next time you open the page, or when you click Update product order.


Apply changes to all

Turn on Apply changes to all to edit every product box in your collection at once. This keeps the design consistent across all of the products in your collection.

How does it work?

As soon as you enable Apply changes to all, any changes you make to a product box (or its child elements) will update across the other product boxes in your collection.

Some ways you can use Apply changes to all:

  • Adding/deleting product box elements

  • Changing the color, size and positioning of product box elements

Changing any product information within your ecommerce platform will filter through, meaning that you do not need to revisit Shogun unless you wish to make design changes, or updates!


Collection as a Slider

The Product Collections can be converted into a Slider/Carousel with a click of a button.

When you've added your collection to the page, look for the Show as option in the Main section of the settings panel on the right, and choose Slider.

When you choose Slider, Columns per row and Stacking on smaller screens are replaced by the Slider settings, such as Mode, Slides per page, arrows and dots. Use the Slide mode rather than Loop: Loop makes hidden copies of the slides on your live page, which can stop product elements from working.

For more information on how to best utilize the Slider, we have an in-depth guide here:


FAQs

Why can't I set Number of products to show every product in my collection?

When you add a Collection element, Shogun counts the products in that collection that are available on your Online Store sales channel. That count is the most you can set in Number of products. Products that are drafts, archived, unlisted or not published to the Online Store aren't counted. Out-of-stock products are counted. If you enter a higher number, you'll see "Value is greater than" followed by the maximum.

To include them, open each product in Shopify admin, set its status to Active, and make sure Online Store is selected under Sales channels.

What happens when products become available or unavailable?

Your Collection element always shows the number of products set in Number of products, so your layout stays as you designed it.

  • A product becomes available: it appears in its place in the collection order, in the editor and on your live page. If the collection is already showing the full number of products, the last product drops off. To show more, raise Number of products, then save and publish the page.

  • A product stops being available: the editor lowers Number of products for you when you next open the page. Save and publish the page so your live page matches.

Changes in Shopify appear in the editor when you open the page. If you save the page, those changes are saved too.

Is it possible to set up a product box to swap to a new product when the variant that is the main one goes out of stock?

At present, no, but you can add a 'Product Variant' element to your collection product box and that will allow the visitor to switch to in-stock variants if and when the variant associated with the product box in the editor goes out of stock.

You can further define what variants the end user can and can't see with the Sold Out Variants setting on the Product Variant element.

My Product Add to Carts are reading 'sold out' but I have Hide out-of-stock products turned on. What gives?

At present this toggle takes into account the availability of all the variants of a product, and if you haven't included a variant element in the layout, it is possible for product box content to render on the live page, but the end user is not able to switch to in-stock variants. Including a Product Variant element in the layout would resolve this issue.

Does the Collection element account for Shopify Markets availability?

Yes, on your live page. Visitors only see products that are available in their market, and the next product in the collection fills the space. The editor doesn't preview by market and counts every product available on your Online Store, so set Number of products no higher than the number of products available in every market you sell to.

Did this answer your question?