Setup for a Recently Sold Unique Products Collection

Alexmon96
Visitor
3 0 0

Hello Shopify Community,

I am seeking assistance with setting up a specific section on my Shopify store to display recently sold products. My products are unique and not restocked once sold, so I aim to keep the out-of-stock products collection hidden throughout the store except for this dedicated section showcasing these unique sold items.

Here are my specific requirements:

  1. I need the out-of-stock products collection to be invisible and inaccessible through both site navigation and search.
  2. I want to include a specific section on my homepage (or another relevant page) to show unique products that have been recently sold, even if they are out of stock.
  3. This recently sold products section should not be accessible or visible anywhere else on the website.

Could someone guide me on how to set this up within my Shopify theme, or recommend any apps that might facilitate this? Tips on the best practices for managing and displaying these unique products to avoid customer confusion would also be greatly appreciated.

Thank you in advance for your support and suggestions.

Best regards

Reply 1 (1)

StephensWorld
Shopify Expert
1178 129 296

This is easily achievable by simply creating a collection with the products you've sold in it. 

 

You can either handle the collection manually, moving products into it each time something is sold (and removing the products from any other collection) ... or else you can setup all of your collections to be based on product tags with the condition that 'inventory is greater than 0' ... but then have the 'recently sold' collection have the condition 'inventory is equal to 0'. 

 

The only issue with this setup is that the sold out products would still show in the search. It might be possible to edit your theme's coding for the search functionality to exclude products based on inventory quantity or product tags, but I'm not sure what the coding would be for that. Perhaps someone else can chime in, if you confirm that this is in fact how you would like to handle things. 

 

As far as excluding the products from your navigation menu goes -- that's as simple as not linking to the new collection ... and then if you have an 'all products' page/collection, you could create a new collection called "All Products" with the handle "all" to replace that, and just set the condition for the collection to be 'inventory is greater than 0' (just like the rest of your collections). 

 

If you wanted to go the extra mile on this one, you could create a custom product page template, where the 'add to cart' / 'sold out' options are removed, and then include a custom message about how the product has already been sold, but they can contact you if they'd like recommendations on similar products, etc. If you do a custom product page template though, you'd have to manually assign the template to the product each time you make a sale. 

★ Did my post help? If yes, then please like and accept solution. ★

Hire me for your Shopify project @ stephens.world | support@stephensworld.ca