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
No Spaces allowed in Subcategory names?
Author Message
Reply with quote
Post No Spaces allowed in Subcategory names? 
Hi just wondering if spaces are permitted in subcategory names in version 5.2. I had subcat names with spaces in 5.0 and didn't seem to be a problem.

Now in version 5.2 - the links in the auto-generated Categories box (left margin) don't appear to work if there are embedded spaces in the subcategory name. If you look at this 5.2 version of my store you can see that I have specified 3 production sub-cats as "Magic_Flute" (with underscore) and 1 product with a subcat of "Magic Flute" (embedded space). Both subcats are written out dynamically as "Magic Flute" - but only the products that have "Magic_Flute" specified appear (the one with "Magic Flute" is not displayed).

http://www.littleopera.ca/agora/store52/agora.cgi

Have I missed a setting that permits me to have subcats with embedded spaces?

Here is a link to my 5.0 version of my store - which seems to work fine with subcats with embedded spaces. http://www.littleopera.ca/agora/store5/agora.cgi

Cheers,
operaman

View user's profile Send private message
Reply with quote
Post  
the links came up missing


_________________
Vote Mister Ed for Prez 2012, for a REAL change.

Need Low Cost Startup Option? Try NiftyPay's Pay to Play
http://www.NiftyPay.com
View user's profile Send private message Visit poster's website
Reply with quote
Post  
btw, fixed in 5.2.002

ME


_________________
Vote Mister Ed for Prez 2012, for a REAL change.

Need Low Cost Startup Option? Try NiftyPay's Pay to Play
http://www.NiftyPay.com
View user's profile Send private message Visit poster's website
Reply with quote
Post  
Hi ME -

I still seem to have same problem (I think I am current with the version 5.2.002).

When I change my sub category names from (without quotes): "MAGIC_FLUTE" to "MAGIC FLUTE" the subcategory is listed cateories box still with an underscore (MAGIC_FLUTE) - and when I click on the subcategory link no products are returned.

Here is an updated link: www.littleopera.ca/agora

Thx.

View user's profile Send private message
Reply with quote
Post  
More....

What the link needs to say (for subcatory name with a space) is this:
http://www.littleopera.ca/agora/agora.cgi?cart_id=5819622.4267&product=Tickets&user4=Magic%20Flute&xm=on

But it says this (which returns nothing):
http://www.littleopera.ca/agora/agora.cgi?cart_id=5819622.4267&product=Tickets&user4=Magic_Flute&xm=on

View user's profile Send private message
Reply with quote
Post  
Are you using the headers/footers from an older version?
V5.2 category listing code should eliminate this...


_________________
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  
Hi Scottcrew -

I believe that I am all current for 5.2 - what is the name of the header footer module?

-Operaman

View user's profile Send private message
Reply with quote
Post  
There isn't a module..
It is the category listing dynamic code in the default v5.2 store header files that has changed...


_________________
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  
Following is what I have in place for the Category Listings section of my store_header.html file. I don't think I have made any mods to this file:
Code:
<!--START Category Listings-->
<!--agorascript-pre {
# code to list categories and/or sub categories
# updated for pre-built lists in managers by Mister Ed September 29, 2007
if ($sc_displayDynamicCategories =~ /yes/i) {
&capture_STDOUT;
       print qq~<table width="160" border="0" align="center" cellpadding="3" cellspacing="1" class="template_mainbackground">
        <tr>
          <td class="template_mainbackground"><span class="style6"><span class="style7">Categories</span></span></td>
        </tr>
        <tr>
          <td bgcolor="#FFFFFF"><div align="left"><span class="style6"> </span><br>
~;
if ($sc_use_database_subcats =~ /yes/i) {
    if ($sc_global_bot_tracker ne '1') {
           print qq|\n$sc_categories_with_subcats\n|;
    }
    else {
           print qq|\n$sc_categories_bots_with_subcats\n|;
    }
} else {
    if ($sc_global_bot_tracker ne '1') {
           print qq|\n$sc_categories_no_subcats\n|;
    }
    else {
    print qq|\n$sc_categories_bots_no_subcats\n|;
    }
}
print "\n";
       print qq~
</div><br></td>
        </tr>
      </table>
       <br>
~;
&uncapture_STDOUT; }
}
-->
<!--END Category Listings-->


View user's profile Send private message
Reply with quote
Post  
Go into your product edit are and choose a product to edit, and just hit the submit button.
Reload the page an see what happens.


_________________
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  
Hi Bonnie -

Tried your suggestion and no change. If you have a look at my car (www.littleopera.ca/agora) you can see there is a Category called Tickets, under which there are two subcategories listed MagicFlute and Magic_Flute. There are in actually two products within each of these two subcategories; if you click on MagicFlute subcat it will list the two products - but the other subcat will not list any (even though there are 2 products in that subcat as well). The Magic_Flute subcat display was "generated" by including the text "Magic Flute" (space between words) in User4 field in the product edit form. What "needs to happen" is to rather generate a "Magic Flute" subcat name (maintain the space between the words and not replace with with an underscore) and then properly link and list those products. So first thing to solve is why is product editor substituting blanks between words with underscore.

At the end of the day - I will have one single subcategory with 4 products in it (I know it seems strange to have a subcategory with only one entry - but we are at the end of our season and only one show remains for this season. At the start of the year (Fall) there will be more subcats). I only have these two subcats now for problem demonstration purposes.

View user's profile Send private message
Reply with quote
Post  
Are all of your modules up to date?


_________________
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 applied the newly available 5.2.003 updates and looks like there was a fix for this with those updates (as you can see in my cart now: www.littleopera.ca/agora). The correct subcategory (with spaces) is now displayed and the products within that subcat. now all display correctly when the subcat link is clicked.

All good now! Thanks!

View user's profile Send private message
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