Creating a Template Tag for an eBay item ID

Printer-friendly version    Send to friend    3 replies
Greg Brown
User offline. Last seen 1 week 3 days ago.

 You'll have to forgive me for this newbie question, I am not very familiar with creating template tags from scratch.

Basically, our store sells products wherein customers often call to ask technical questions about a product prior to ordering.  As our stores are large, we often ask for the "eBay item ID" that the customer is looking at, but a lot of people have trouble finding it in the address bar.  To make it easier, I'd like to have the eBay item ID posted somewhere in our ad.

Basically I'm looking for a {{currentitemID}} that will have the corresponding eBay Auction ID.  I was surprised to find it not already intergrated with CA.. can anyone point me in the right direction toward finding code for something like this, if possible?

0
Your rating: None
Marshall Smith
ChannelAdvisor Employee
Marshall Smith's picture
User offline. Last seen 3 days 7 hours ago.
RE: Creating a Template Tag for an eBay item ID

We can't do that because the eBay Item Number is not created until the item is listed.  When we're creating all of the information for your description, price, title, etc., it hasn't been listed yet so there is no number available.  We wouldn't be able to put anything there, so it would always be blank.

eBay does clearly post it on the item page, though it's moved a few times in the last few years.  Currently it's off to the right just under the "Description" and "Shipping and payments" tabs, and under the various icons to share the item on Facebook, Twitter, Pinterest, and via e-mail.  That's a lot easier than getting it out of the URL.

Greg Brown
User offline. Last seen 1 week 3 days ago.
RE: Creating a Template Tag for an eBay item ID

 Thanks for the prompt reply!

Ocean Zhang
Ocean Zhang's picture
User offline. Last seen 28 weeks 5 days ago.
RE: Creating a Template Tag for an eBay item ID

 greg,

you can also put {{itemsku}} into your ad, or any other unique identifier that will help you identify the product. we have an attribute called product id that we ask customers to provide when calling about a product. We put that tag {{product id}} into our ad template.

However, directing customers to find attributes within an ad can be challenging as browser behavior can be different from one customer to the next, especially if they're on a mobile device. It won't be any easier than trying to find the eBay item number in the address bar (easy on standard browsers, but not with eBay mobile).

Ocean