We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How to add Variant Title to cart, order email, order history etc.

How to add Variant Title to cart, order email, order history etc.

gigismith
New Member
6 0 0

Hi all!

 

Is there a setting I am missing or can I add something to the code so the variant titles are shown at check out and everywhere after that?   

 

In my test order, I would like it to be :

Number : 2

Hand Pump?: Yes, I need one!

 

But it only shows which variant they picked, not what they are picking from which can be confusing on all ends. 

 

Help!

PRODUCT-OPTIONS.JPGvariant.JPG

 

Replies 2 (2)

akshay_bhatt
Shopify Partner
178 14 26

Hi @gigismith ,

To display varient titles at checkout you have to follow these steps:

Edit Product Form: Go to Themes > Edit code >

<input type="hidden" name="properties[Number]" value="{{ variant.option1 }}" />
<input type="hidden" name="properties[Hand Pump?]" value="{{ variant.option2 }}" />

product.liquid. Add labels for each option:

 

Check Cart & Checkout: Ensure these labels appear in the cart and at checkout. Do a test order to confirm.

 

Got it! If you found my suggestions helpful, please consider liking or marking it as a solution.
Your feedback is appreciated! If you have any more questions or need further assistance, just let me know.

Thanks & Regards
Akshay Bhatt

 

 

- Need a Shopify Specialist?
- Custom Design | Advanced Coding | Store Modifications
Email us
gigismith
New Member
6 0 0

Hi Akshay!

 

The variant titles appear in the cart by default, but not on the final check out page, or in the email confirmation that the buyer receives, or in their account order area.  Do you know where that code would be modified for those areas? 

 

Thank you!