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
Text on category pages
Author Message
Reply with quote
Post Text on category pages 
I want to add some text above the product listing on each category page. The text will be different for each category (general information about the products in that category).

I found some information that I may have to have separate ppinc pages for each category.

Is that true and how do I do that?

Thanks

Kasia

View user's profile Send private message
Reply with quote
Post  
Kasia,
No, you don't need different category ppinc files.
Which ppinc file will you be using?


_________________
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  
I am using the default ppinc file, although I already made some changes to it in the layout of the products on the page.

View user's profile Send private message
Reply with quote
Post  
Okay, not a problem.
In the database, for each product within a category, choose a user field (IE: user2), for the info to go in. Then put the same info in for each product in that category and repeat for other categories.

Then, in your productPage.inc file, at about line 7, you will find the following:
Code:

$myans .= '<tr><td colspan=3><table width="100%" border=1>'."\n";


Edit it to look like this:
Code:

$myans .= '<tr><td colspan=3><center>%%userFieldTwo%%</center><br><table width="100%" border=1>'."\n";


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  
Thank you. It worked on the first page, but not on the "next 10 items" page. I imagine this can also be done. BTW, which inc file is the "next" page?

However there is another issue: the user field allowed me to put only small amount of characters, enough for one sentence. If I want to have a larger text, ie. a full page, is it better to make a static page and link it somehow?

Thanks

Kasia

View user's profile Send private message
Reply with quote
Post  
Editing the database directly would be better or even editing the manager file that handles the product adding & editing.
How many products do you have in each category? You can change the number of products to display per page in the manager.

BTW, what is the URL to your store?

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  
Hello,

The URL is www.shoppoland.com/store

I generally have under ten products in each category, except for two categories. I didn't think of changing the number of items displayed on a page - I will do that, thanks.

Is changing the database and/or the manager to accept more characters (so that I can display long text on top of the category pages) a major job? How do I do it?

Thanks

Kasia

View user's profile Send private message
Reply with quote
Post  
In the long run, probably editing the manager would be most convenient. Editing the database can be done by downloading data.file from the data_files directory and opening in a plain text editor. Each line is a new product and no line breaks are allowed in the database or it will be interpreted as a new product.

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