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
adding subcategories problem
Author Message
Reply with quote
Post adding subcategories problem 
I am adding subcategories and mostly working fine, except when I try to add a subcategory "Men" under the "Shirts" main category, it brings up both the products for the "Men" and "Women" subcategories. This does not happen under the "Women" subcategory. (I have not added anything under multiple categories using the :: )

I do not want the two different products to show under the "Men" category... how do I fix this?



Last edited by hildaleticia on Mon Jan 21, 08 10:56 pm; edited 2 times in total
View user's profile Send private message
Reply with quote
Post  
In the code you'll need to add xm=on (exact match) to the links...
The store_header.html file is what houses the dynamic code for displaying the categories.
Find the following lines:
Code:
<a href="agora.cgi?cart_id=%%cart_id%%&amp;product=$category2" class="ac_left_links" title="$category">


Code:
<a href="agora.cgi?cart_id=%%cart_id%%&amp;product=$category2&amp;$sc_subcat_index_field=$category3" class="ac_left_sub_links" title="$category3">


Edit them as follows:
Code:
<a href="agora.cgi?cart_id=%%cart_id%%&amp;xm=on&amp;product=$category2" class="ac_left_links" title="$category">


Code:
<a href="agora.cgi?cart_id=%%cart_id%%&amp;xm=on&amp;product=$category2&amp;$sc_subcat_index_field=$category3" class="ac_left_sub_links" title="$category3">


HTH!



Last edited by scottcrew on Wed Dec 26, 07 11:49 am; edited 1 time in total

_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
just to clarify:

for the first one, I have to add this below where indicated:

xm=on&amp;

for the second one, I have to add:

&amp;xm=onamp;

View user's profile Send private message
Reply with quote
Post  
Sorry, I made an error in the code... The post has been edited with the correct coding.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
is it something I will also have to edit in the secure_store_header.html file?

View user's profile Send private message
Reply with quote
Post  
Yep, both header files...


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
sorry to be asking so many questions all at once, I just want to make sure I edit the right things...

In the secure_store_header.html I am finding these three different lines which aren't the same as the ones in the other store header file, they have that extra $sc_store_url? part at the beginning, I am guessing they are the ones I'm looking for? which do I edit?

Code:

<a href="$sc_store_url?cart_id=%%cart_id%%&amp;product=$category2" class="ac_left_links" title="$category">



Code:

<a href="$sc_store_url?cart_id=%%cart_id%%&amp;product=$category2&amp;$sc_subcat_index_field=$category3" class="ac_left_sub_links" title="$category3">



Code:

<a href="$sc_store_url?cart_id=%%cart_id%%&amp;product=$category" class="ac_left_links" title="$category2">


thanks so much for your patience and quick replies!!!! Smile

View user's profile Send private message
Reply with quote
Post  
Those would be the ones...
Just add the &amp;xm=on just after the %%cart_id%% token.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
thanks!

one last picky question...

in the edits I made in the store_header file, I only made edits to 2 lines as you instructed.
Should I be making those edits to 3 lines as in the secure_store_header file?

There are 3 lines that look like the first 2 I edited in both header files.

View user's profile Send private message
Reply with quote
Post  
Yes... Make sure that you upload those files in ASCII mode back to the server...

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
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