Skip to main content
Solved

Hide the variant "default title" for back in stock flow email

  • April 9, 2024
  • 1 reply
  • 47 views

Forum|alt.badge.img

Hi there !

 

I am working on a back in stock flow and I a facing an issue with the email… I wanted the variant to show in the email (The Vase Blue is back in stock) so I had the variant snippet from the tutorial but, if the product has no variant, the “Default title” after the rpoduct name is showing. Would it be possible to add code with a condition so that the variant snippet shows only when the product has a variant and is hidden when it has no variant ?

Best answer by annasophiefc

Hi @LolitaF 

 

Thank you for posting your question in the Community!

 

Yes, that is indeed possible. By using django, you can setup additional code for what to show in certain scenarios. 

 

You can reed more about Django here and see a full tutorial: https://academy.klaviyo.com/customize-and-personalize-emails-using-django/1865943

Hope this helps!

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

annasophiefc
Partner - Platinum
Forum|alt.badge.img+23
  • 2025 Champion
  • 104 replies
  • Answer
  • April 9, 2024

Hi @LolitaF 

 

Thank you for posting your question in the Community!

 

Yes, that is indeed possible. By using django, you can setup additional code for what to show in certain scenarios. 

 

You can reed more about Django here and see a full tutorial: https://academy.klaviyo.com/customize-and-personalize-emails-using-django/1865943

Hope this helps!