From collectibles to cars, buy and sell all kinds of items on eBay
aAdvanced Search
Last Post Nov 23, 2009 9:44 AM by: lawnmowers1
Replies: 25
)
lawnmowers1
Posts: 27

Creating a custom Cagegory Sidebar

Nov 4, 2009 5:13 AM
Hey everyone. Thanks for all the previous help that people have given me in this forum, it's been really helpful.

I'm now thinking about creating a complete custom listing template, but to do this I'll need to create my own category sidebar (to include in the description html). The only problem is, I've got no idea how to do this.

I think I'd be able to muster up the html to create a static category sidebar, with links to different shop categories, but I've got no idea how to make it dynamic i.e. display only the categories that we've actually got stock of. We need this feature because we sell different types of gardening equipment, that each drift in and out through the seasons. ebay manages this somehow when you use their listing frame feature (which I'm currently using). I'd also like new categories to appear in existing listings when we get new stock.

Does anybody know if this is possible, and if so - how? If so, it'd be greatly appreciated.

Thanks everyone. Lee
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
going1ncellc
Posts: 4,843
(1 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 4, 2009 6:47 AM
Hi Lee...
No way to dynamically populate custom navigation - though I, too, wish it were possible. I tend to advise my design clients to not go with custom navigation unless they generally have items in all categories - AND if they don't add/delete/modify their store categories.



eBay Certified Stores Designer. See my ME page for links to Blackthorne Pro help & FREE templates.

Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
lawnmowers1
Posts: 27
(2 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 4, 2009 7:40 AM
Thanks for your reply, and I see your point on that.

Hmmm, do you think that there would be a way of creating some html code that looked up the values elsewhere? For instance, if I created some sort of lookup table and put it on a server, could the code go through it and decide which to list? i.e. if the rows were 'Label' / 'Link' / 'In Stock', could the html code compile a list of categories?

That way, the list would at least be semi-dynamic, where it would just involve me updating a table day by day (it's better than updating 100 listings!). I know what I'm suggesting probably isn't possible and the very basis of my way of thinking sounds a little naive, but I'm just trying to think of some possible workaround! How does ebay manage this?

Or is java or flash the only way? Thanks! Lee
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
going1ncellc
Posts: 4,843
(3 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 5, 2009 5:07 AM
Lee...
I'm only a minor geek, so I don't know if what you're suggesting is possible. eBay has its own stable of geeks and servers & this is their game, so they can do the fancy stuff. Perhaps you can search other sellers' stores & if you find one who's doing what you want to do, study the source code to learn?



eBay Certified Stores Designer. See my ME page for links to Blackthorne Pro help & FREE templates.

Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
birddog2!
Posts: 2,727
(4 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 5, 2009 3:17 PM
IT can probably be done through the rss feed w/ php and flash if you can host files on a server.

I know we talked about something close to this a while ago but I think it died.
Ill take a look through old files and see if I can dig it up again.
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
shipscript
Posts: 8,259
(5 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 5, 2009 4:49 PM
birddog, I have a working example of php and simple HTML code on my server that will deliver up redirects based on images. It is part of something I was developing for the Xsell gallery to make it more configurable.

However, since I'm not a PHP guru, I only have a working sample and not a deliverable and haven't looked into all the server issues. I wouldn't mind sharing some work back and forth here. :)

In the posted example, the first column is a fully populated menu. The second has some elements removed from the database, while the third has different elements removed from the database. The server has a database file that contains the images and links, and that file can be changed as needed to create the different button populations.

In IE, the unused buttons are filled with x.gif images, while in FF, they don't yet display correctly. I'm working on that.

The other issue is the time it takes to deliver so many images based on redirection. :(

eBay Live 2007 Community Hall of Fame Award
Free Resources for Better Auctions • Programs • Tools • Hosts • Templates • Help • Guides • Blog

Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
birddog2!
Posts: 2,727
(6 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 6, 2009 12:38 AM
Hey Ship, Always up for a good project (Its my therapy after sitting here all day on "Real" things hahaha)

I was looking for what we were doing way back when I think robshelp was talking about something like this but I think it went in the api direction.

The ex. seems like a good start. I wrote something up that pulls the store info from the rss feed
I was going to send the info to flash and have a scrolling list like gallery from the other thread.

but here are the roadblocks I came across

- the rss feed doesnt list the category links, just the category names.

-again, the user will need to be able to host the files - a .php and .swf
(On top of that the server needs to be running php5 in order to use xml functions to pull the info)

-Im not getting subcats just main level categories (Dont think thats a big deal though)

I think the biggest concern is definetly linking to the cat page from the list.
Are you pulling that link in your setup?
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
shipscript
Posts: 8,259
(7 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 6, 2009 8:03 AM
birddog, I do remember that discussion with RobsHelp and we were talking about the API at the time. As you correctly remember, the API didn't pull up categories.

My example is not automatic.
It only provides flexibility.

In the example, the user would create a table of buttons and links hosted by the program. Every week or so, the user could update the table instead of going through and editing every auction. Of course, this could easily be automated if the facility were there.

I was considering hosting this sort of redirection tool, but the page impressions could become pretty heavy if used by lots of sellers with lots of links per page. I have no idea what kind of load that would present. And, since my server is guaranteed to go down for a day or two every year, it can't be used for anything but add-on gimicks.

However, I do have a working proof of concept and am at the programming point where I need to look at password login to prevent accidental access across accounts.

eBay Live 2007 Community Hall of Fame Award
Free Resources for Better Auctions • Programs • Tools • Hosts • Templates • Help • Guides • Blog

Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
birddog2!
Posts: 2,727
(8 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 6, 2009 3:04 PM
Well I looked again (now that Im on my "Free" time)
and what a let down
- once I read your post I had to look at my code again and it seems the RSS feed is pulling the listing category not the store category so we are back to square one as far as pulling it dynamically without the api goes.

If you are serving all the images it will get pretty hefty pretty quick, remember all those countdowns from a while back.
Once those things got noticed on other forums I had a pretty good spike. (Im fortunate to have Jerry running things though so its not an issue).

So should we just break down and dive into api world?
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
spaguyusa
Posts: 126
(9 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 7, 2009 9:35 PM
You may not be looking into the API far enough. It is possible to get the complete store structure through the API. You may have to manipulate it a little bit to turn it into URL's, but it is possible. I would have to look up the specific calls, but I have done it before.


I just am no good with what to do with the info once you have it. Rob was looking at using flash to insert it into the listing. I thought it had a lot of promise. (even though I am not a big fan of flash). If you guys figure out how to get the dynamic data formatted, I can get you the category structure from the API.

Chris
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
birddog2!
Posts: 2,727
(10 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 7, 2009 10:50 PM
Hi Chris,
Ive been trying all day yesterday to get the getStore API working but havent had luck
From what I understand you can request the store info from any store by adding the user ID of the store
But it isnt working on the sandbox at all.

Not sure if I had to have a store for the sandbox user but It wouldnt even allow me to create one so not really sure if thats required either -

The documentation on the developers site and sandbox operation is sketchy to say the least.

So Im wondering if it is where the store has to allow the script to get its info on their behalf in order to work - isnt there some sort of 3rd party thing like that?
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
birddog2!
Posts: 2,727
(11 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 8, 2009 2:56 AM
Nevermind, got it working
Seems you cannot create a sandbox store w/out a paypal acct linked to it for the $15 bucks a month.
So I just went w/ a production token and alls working now.

So more to come, Ship, you around? now that we are getting the cats dynamically we can go places!!! :^O
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
lawnmowers1
Posts: 27
(12 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 9, 2009 9:16 AM
Hey everyone, I've just been off for a few days and wow - quite a few replies. I'm starting to understand bits of this technical stuff now but quite a bit of the above has definitely gone over my head!

Birddog2 - did you say that you have figured out a way of doing this? If the store category URLS cannot be sourced from the RSS feed, can they not be entered manually into a table on a server, alike shipscript's suggestion? Or would this cause complications?

I'm glad to see the topic getting a bit of head and interest :)

Lee
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
birddog2!
Posts: 2,727
(13 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 9, 2009 3:21 PM
Lee,
Well I have it about 90% figured out.
I am pulling the categories from the api and using that to pull the category links.

But the testing has brought about a few obstacles like if the store doesnt display the categories on the main page no urls will be provided.
Subcategories is another issue -
And testing on a store with a few categories takes a little bit of time to load but a large amount of categories is taking way to long to make this something I would want to put out for use. (Could you just imagine this loading on the same page w/ auctivas scroller :_| )

So it will take some tweaking to get it working the way I would want.
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
)
lawnmowers1
Posts: 27
(14 of 25)

Re: Creating a custom Cagegory Sidebar

Nov 10, 2009 12:56 AM
Sounds promising and kudos for getting near to a solution. In the mean-time, do you know of any workaround, such as manually updating an external dataset that the auction refers to? I'm just dreading the thought of constantly updating all my listings as stock comes in and out! Just out of curiosity, what would happen if I created a static category list for my auctions, but then a category or two ran out of stock in my store (and then someone clicked on that category in my listing)? Would the link default to my store home page, or produce some sort of error?

If all of the above doesn't work, I'm thinking of creating - for now at least - a complete set of categories, and just making sure that there's always at least 1 item in each (or maybe setting the option in my store to display categories with 0 stock). If I go down this route, do the store category URLs always remain the same?

Thanks for the help, it's much appreciated. Lee
Reply
Name:
Email:
 
Tip: To create a link - type the desired text, highlight it with your mouse and click[Click for url tag]
Tags:
 
Page: of 2

New to eBay Boards? Try a visit to our Community Discussion Boards Help and Welcome Center .

Want to visit another board? You can view our Community Overview Page or select from these lists:

Community Help Boards:

eBay Tools Boards:

Category-Specific Boards:

General Discussion Boards:


Feedback Forum | Discussion Boards | Groups | Answer Center | Chat Rooms | Community Values

About eBay | Announcements | Security Center | Resolution Center | eBay Toolbar | Policies | Government Relations | Site Map | Help
Copyright © 1995-2009 eBay Inc. All Rights Reserved. Designated trademarks and brands are the property of their respective owners. Use of this Web site constitutes acceptance of the eBay User Agreement and Privacy Policy.
eBay official time
hosted by LiveWorld