I have a custom catalog and want to add variants but don’t understand how/where I can do that.
Best answer by Tonio
View originalI have a custom catalog and want to add variants but don’t understand how/where I can do that.
Best answer by Tonio
View originalHey
Welcome to the community and congrats on your first post!
With our V3 APIs we actually have new catalog endpoints you can use to create and manage variants: https://developers.klaviyo.com/en/reference/create_catalog_variant
If you are unsure how to implement this API, work with your developer to make sure it’s set up correctly. If you don’t have a developer and need help, you can reach out to one of our Agency Partners to get the help you are looking for!
Thanks again for being part of the community. Looking forward to seeing you again!
Hi Stephen
thanks for getting back to me. I am not using the API but an .xml file to generate my custom catalog. How do I add variants this way?
Hi Stephen
thanks for getting back to me. I am not using the API but an .xml file to generate my custom catalog. How do I add variants this way?
<variants>
<variant name="Color" value="Red"/>
<variant name="Color" value="Blue"/>
<variant name="Size" value="Small"/>
<variant name="Size" value="Medium"/>
</variants>
Verify that the variants were imported correctly and make any necessary adjustments.
<variants>
<variant name="Color" value="Red"/>
<variant name="Color" value="Blue"/>
<variant name="Size" value="Small"/>
<variant name="Size" value="Medium"/>
</variants>
Verify that the variants were imported correctly and make any necessary adjustments.
Thank you
<product>
<id><![CDATA[test-id]]></id>
<title><![CDATA[test-title]]></title>
<link><![CDATA[test-link]]></link>
<description><![CDATA[test-description.]]></description>
<price><![CDATA[10.00]]></price>
<image_link><![CDATA[test-link]]></image_link>
<categories><![CDATA[test-category]]></categories>
<variants>
<variant name="variant-1" link="https://www.test-link.com”/>
<variant name="variant-2" link="https://www.test-link.de”/>
<variant name="variant-3" link="https://www.test-link.fr”/>
</variants>
</product>
I wanted to try it like that and upload this within Klaviyo, however a direct upload is unfortunately not possible and I currently can’t have it uploaded on a server for me to pull from there.
And next question:
Assuming this is working, could I then also add different descriptions to the variants? e.g. like this:
<product>
<id><![CDATA[test-id]]></id>
<title><![CDATA[test-title]]></title>
<link><![CDATA[test-link]]></link>
<description><![CDATA[test-description.]]></description>
<price><![CDATA[10.00]]></price>
<image_link><![CDATA[test-link]]></image_link>
<categories><![CDATA[test-category]]></categories>
<variants>
<variant name="variant-1" link="https://www.test-link.com” description=”description-1”/>
<variant name="variant-2" link="https://www.test-link.de” description=”description-2”/>
<variant name="variant-3" link="https://www.test-link.fr” description=”description-3”/>
</variants>
</product>
Thank you very much for your support!
To ensure that your custom catalog is properly formatted, you can use an XML validator tool to check for any errors or warnings. Once your custom catalog is properly formatted and the schema includes the desired attributes for the variants, you may be able to upload it to Klaviyo if the platform supports it and use it to create personalized campaigns.
To ensure that your custom catalog is properly formatted, you can use an XML validator tool to check for any errors or warnings. Once your custom catalog is properly formatted and the schema includes the desired attributes for the variants, you may be able to upload it to Klaviyo if the platform supports it and use it to create personalized campaigns.
Great, thank you
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.