Skip to main content

# Shop The Post

It's a product carousel that showcases the products discussed in the post. Each product can be an affiliate link.

## Possible locations

The Shop the Post collection can be placed:

- inside a post content
- after a post content
- on post collection (homepage, category, tag etc)

## Type of products

The Shop the Post collection can display products from:

- WooCommerce
- Affiliate Platform like shopstylecollective.com

## Insert into a post

You can insert the Shop the Post collection inside your post content. The method for embedding WooCommerce products and 3rd party platforms code is a little bit different. Below step by step guide for both.

### WooCommerce

This method requires the WooCommerce plugin to be activated. Please activate the plugin and follow these simple steps:

1. Open a post for edition
2. Find the the Shop the Post button above the WP content editor

3. Click the button
4. This will open modal window where you can select products for your collection

5. Click the Create a new collection button
6. Reorder items if needed and click Insert collection button
7. Inside your post content the collection should look like this. You can edit it from here

### Affiliate code

If you are a part of any affiliate program like shopstylecollective.com, you should grab a code from the platform and paste it directly into your post content.

## Insert after a post content

You can place the Shop the Post collection right after your post content. For this location you can use the WooCommerce products or external Affiliate Platform code.

### WooCommerce

To display WooCommerce products after a post content, please open a post for edition, scroll down to the metabox Shop the Post and set it up as on the image below.

### Affiliate code

To display affiliate products (from embed code) after a post content, please open a post for edition, scroll down to the metabox Shop the Post and set it up as on the image below.

## Insert on a post collection

The setup from the point Insert after a post content works also for some post collection templates. So if you like to have the Shop the Post collection (like on the image below) on your homepage (and other archives), please follow the steps from the Insert after a post content section.