*** Update: This only works in Firefox or Chrome. Safari doesn’t show a formated XML sheet which makes it almost impossible to find the variant id
[00:0:00] – Finding the Variant ID
I’m going to walk you through on how to find the variant ID of a product. This comes up in a couple of different situations, mostly when we want to generate a link that will take you directly to the checkout page for a client. This happens quite often when we want to say, “Okay. This is a product you want to buy, I’m going to put a link right here in your email. When you click on it, it will take you to the checkout page.”
To find that variant ID, what we want to do is we want to go to “Products”, and then we want to pick a products on and pick our “5 Hour Bucket” here.
This is our product that’s listed on our website. You can go through and buy it. But I want to create a buy now link specifically for one specific customer. When I get to a product, what I can do is I can put a .xml on the end of this product ID and what it will do is it will give us a XML sheet. This is all of the details that is put into a high arcal type of appearance so that you can see all the different pieces in a more cleaner form. When looking for a variant ID, what you want to do is you want to come down here to variants, because there you can see, this is where the variants are left in.
If you have multiple ones, there’s going to be multiple variant boxes here. If this say had different size T-shirts or there were different colors or whatever, each one is going to be a seperate variant, so the id’s will differ depending on which one you’re on. What I’m going to do now is I’m going to go grab this ID integer here. This is the variant ID. I’m actually going to copy that, put that in my clipboard. Now I’m going to show you how to compose an email on how we would actually create this buy button for the reason and why we would need this variant ID.
[00:02:00] – Sending the Email
I’m going to go over to my email. I’m going to login and I’m going to create a new email here. I’m just going to send this to myself so we can see how it all works. This is variant ID test. You need here is the link to the bucket you will need for your website. Then I go 5 hour bucket and I go buy now. Now I want to create this link. I needed that variant ID in order to do that. What I’m going to do is I’m going to select this and I’m going to go to link. Then I’m going to put in my stored URL so http://www.sunbowl.ca/cart/variantid:1
If I wanted to do multiple variant ID, so say I wanted to actually put two products into the shopping cart for them, I could to a “,” and I can do it again. I could put this one and another one and it would add.
But for right now, we’re just going to do a single one. I’m going to hit “Okay” and then I’m going to hit “Thanks”, and then I’m going to send the email.
[00:03:00] – Result
Then when the email comes in, I can check it out and then, okay, I’m ready to buy this bucket. I hit “Buy” and it takes me straight to the checkout page and you can see there is the order. Then all the has more has to do is fill in there information and a way they go.