First off, it is important to note that most of our customers do not do this, and it is recommended to show TryNow on all products (except non-returnable products) to optimize conversion and success rate.
The reason why most of our customers do not do this is that TryNow return curves tend to be faster than buy now return curves. Brands typically have much more generous returns policies on buy now orders (14 or 30 days) compared to the length of a TryNow trial (~10 days). Therefore, inventory typically comes back much faster on TryNow orders than buy now orders.
If you still would like to hide TryNow based on inventory levels, there are a couple key things to consider:
You can use Shopify Flow to add tags such as "LowStock" based on SKU-level quantities.
You can use our Button Visibility Rules to hide TryNow based on product tags, such as hiding TryNow on products tagged with "LowStock." Note: product tags are at the SKU level and not at the variant level.
Hiding TryNow based on variant attributes will require complex custom code and will require your developer's involvement.
Instructions
Step 1: Create a new Shopify Flow that adds or removes a certain tag based on product inventory quantity.
Including an example below:
Step 2: In your Button Visibility Rules in your TryNow Merchant Portal, add a rule to hide TryNow based on the tag you used in your Shopify Flow.
Make sure to click "Save Rules" to save your edits and "Sync Products" to ensure your new rules will auto-sync based on product tagging changes from the Flow.