The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Need Help with Subcategories
Author Message
Reply with quote
Post Need Help with Subcategories 
I read through the Agorasupport.com info but did'nt understand it very well. I have 15 main categories, 59 subcategories and 10 sub-subcategories. Can anybody help me through this?

View user's profile Send private message
Reply with quote
Post reply 
Hi,
I can understand your concerns when something is new to you and understanding of a tutorial is beyond your scope on first reading but I must say that the tutorial given is Extremely well set out and probably could not be made any easia.
My advise is to either Re Read the tutorial again ( I know it's a pain, but another reading may make it more understandable ) and break it down into chunks.
Also may be best to do exactly what it says in the tutorial and get their version up and running first, this sometimes makes it easia to understand what they mean. Then you can tweek it and change bits to fit your needs.

Another thing is to think of the catagories in terms of pages.
EG. Your first page will hold links to sub catagory pages which hold links to sub-subcatagories parsed as catagories through your product entry on manager.cgi screen.
Without a digram it's difficult to explain here but here goes.

index.html -
- <href="agora.cgi?&page=subcat1.html> -
- <href="agora.cgi?cart_id=&product=prod1>
- <href="agora.cgi?cart_id=&product=prod2>
- <href="agora.cgi?cart_id=&product=prod3>
- <href="agora.cgi?&page=subcat2.html> -
- <href="agora.cgi?cart_id=&product=prod4>
- <href="agora.cgi?cart_id=&product=prod5>
- <href="agora.cgi?cart_id=&product=prod3>

And so on.
So build your index.html with the cat links to sub-cat pages,
and the Sub-cat pages with the products links.

Takes a bit of getting used to to understand the workings, but I hope this has not confused you more.

Regards.
Glen.


_________________
glen.m.darby@virgin.net
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Reply with quote
Post subcatagories 
Okay. I don't see how to implement this. I am looking in the index.html file and I see the agorascript-pre where it is retreiveing all of the catgories from the product list. I don't understand where to place the code you show in the above post. Nor do I understand how it will successfully display in pages created dynamically using the inc files. Seems like that code should go in a inc file somewhere. So if my catagory is Saftey, and 3 of the subcatagories is Glasses, Gloves, and Earplugs - how can the agorascript decipher that and display it correctly since the product only allows a single product catagory and the parent of that catgory isn't known?

Or maybe you're telling me to hardcode the catagories and subcatagories and loose the dynamically generated list?

hmmmmm.
timjea

View user's profile Send private message
Reply with quote
Post  
Hi,
Thought I may have misslead you a little,
The code was a different way of looking at doing subcats not an extension to the one explained on agorasupport...... Sorry bout that.
Yes it is a way to hardcode the subcats and dosn't use the search facilities like the agorasupport one.
Using productPage.inc's to hold each individual catagorie, then the subcats are presented on those pages for selection.

Have you tried doing the agorasupport version as suggested you may find when you get into it that it comes together in your mind much easia then you can change it to suite your needs.

Sorry if i've been missleading.
Regards.
Glen.


_________________
glen.m.darby@virgin.net
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Reply with quote
Post Sub Catergory Listing Products 
this is what I have used now to link to a list of products and only display things in a specific subcatagory

<a style="color:white;text-decoration:none;" href="agora.cgi?cart_id=%%cart_id%%&product=BALLS&user5=STORM">text</a>

this is working for my menu at http://www.12xsproshop.com


I hope this helps

View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum