Is there a way to completely delete price data for sold items?

Tourist
8 0 10

Howdy,

I would like to retain sold items in an archive, but I would like to completely scrub the pricing data from these items. As of right now the prices are replaced by a "Sold Out" label, but is there a way to completely scrub the prices from all metadata? I am using OOTSB Parallax theme. Site URL below, any ideas appreciated.

 

Thanks

https://freestone-vintage-tackle.myshopify.com/collections/sold-archive

0 Likes
Shopify Expert
1120 90 250

What I've done for this before is use Liquid code to hide the price if inventory = 0.

Reference for checking inventory on variants: https://shopify.dev/docs/themes/liquid/reference/objects/variant.

 

Founder of Speed Boostr (Shopify optimization experts, theme customization, custom app development).
Creator of Shopify Analyzer (first performance analysis tool for Shopify sites, free for the Shopify community).
Creator of Order Automator (auto tag orders and customers + auto fulfill orders + email notifications).
Creator of Theme Scientist (A/B testing app) and Tip Jar (add a tip button to your store).
0 Likes