The information on this page relates to our Shopr WordPress plugin.
Sometimes you may not want a product to show within your main shop page. There are two ways of approaching this:
1. You could setup your shop so that only specific collections are displayed there. For example, you could have a core set of collections for the shop, such as "Spring", "Summer", "Fall" or "Winter".
2. You could allow all products to show in the shop, except for specific collections.
Option 1 - Show specific collections in the shop (recommended)
You can display a specific Collection by adding the name to the [shopr] shortcode. For example, the following shortcode would show all products from the "Summer" Collection in a grid layout:
You can also list multiple collections in a comma separated list. The following shortcode would show products from the "Spring", "Summer", "Fall" or "Winter" collections.
This means that when you add any new products, you would just need to add it to one of the "Spring", "Summer", "Fall" or "Winter" collections to display it in the shop. If you don't want to display it in the shop, don't add it to one of the main collections.
Option 2 - Exclude specific collections from the shop
It is also possible to stop products from showing in the shop if they are part of a specific collection. This approach means that all products are shown in the main shop, unless you add that product to one of the excluded collections.
The following example would create a shop page with all products except ones within a "My Summer Looks 2018" collection.
Note that "My Summer Looks 2018" is set as "my-summer-looks-2018" within the shortcode text.
You can also list multiple collections in a comma separated list. The following shortcode would exclude products from the "Books", "Games" and "Accessories" collections.