Offering 'full' products after a 'trial' product

Topic summary

A gym class operator using Shopify wants to streamline the process of offering full-year classes to customers who initially book single trial sessions. Currently, they manually email customers after trials, but want to provide direct links that make purchasing the full class easier without requiring customers to search again.

Proposed Solution:

  • Generate pre-filled checkout/cart links using Shopify’s cart URL structure
  • Format: https://yogaclass.com/cart/{product_variant_id}:1
  • For customers who purchased multiple trial classes, use comma-separated variant IDs to pre-populate the cart with all corresponding full classes

Implementation Approach:

  • Create a naming convention connecting trial and full products (e.g., Gym001Trial → Gym001Full)
  • Use scripts or Shopify automation tools to dynamically generate appropriate cart links based on which trials were purchased

Current Status:
The discussion remains open with the original poster requesting implementation assistance. They’ve indicated they will need help setting up the dynamic cart link system in their theme files.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hi All,

Not sure what label to use.

I am using shopify for my gym classes.

People often book a single trial class, and i then email tham asking if they would like to continue for the remainder of the year. I have this. option set up in my collections already.

I would like to then email them offering them the full class option. This would be a link to a basket or a filtered search to make it easier. Rather than having them re-search for the product they want. Is this possible?

Possibly if I add a connecting code? eg:

Gym001Trial

Gym001Full

Gym002Trial

Gym002Full

So the system knows that they are connnecting products?

Thanks in advance

2 Likes

lol, my brain exploded. I will take a look. Thanks

Hey @Tokyorob I hope you are doing well.

Yes, this is absolutely possible! Besed on the requirements, you need a dynamic link system that directs customers to the full class option after they complete a trial. Here are the possible solutions:

  1. Create a Direct Checkout/Basket Link: You can generate a pre-filled checkout link for each full-class product. When sending a follow-up email, use a link like: https://yogaclass.com/cart/{product_variant_id}:1 where {product_variant_id} is the ID of the full class product.

By following these steps you will be able to track the fullc lass customers.

If this was helpful mark as solution and like it.

Thanks for this, super helpful. Would this work if the customer has bought multiple items? I suppose it starts becoming too complicated?

Thanks,

Robert

Glad to found it helpful. If the customer has purchased multiple trial classes, we can still make it work by dynamically generating a cart link with all the corresponding full-class products.

Here is the possible solution fo that:

  1. To achieve this either we can create a script (or use shopify automation tools) to check which trial classes the customer purchased and generate a cart link that containig the corresponding full-class products. Here is the example of the link.
https://yogaclass.com/cart/{full_class_1_variant_id}:1,{full_class_2_variant_id}:1

This will ensure the correct full-class pre added to their cart.

Let me know if you need help to implement this in your theme file.

Thanks

That looks great. I may need help with that

Can you drop me an email. After a quick think, i will definately need your help.