Skip to main content

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 ?

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!


Reply