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
Showing all products from main index
Author Message
Reply with quote
Post Showing all products from main index 
I trying to show all products from main index screen when it loads now it doesnt show any products... just coding below is my code for that index page. Again im trying to show all products or if thats not possible to show a certain catagory. thanks for help in advance...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>AgoraCart %%agoracgi_ver%%</title>
%%head_info%%
</head>

<body>
%%StoreHeader%%

<div align="center" style="text-align:justify; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 13px; padding: 20px 10px 20px 10px;">


<br>
<tr><td class="ac_product_desc" width=170>
<form method="post" action="%%scriptURL%%">
%%make_hidden_fields%%<br/>
%%optionFile%%<br/><p>
<!--BEGIN SELECT QUANTITY BUTTON-->
<table class="ac_add-quantity"><tr><td class="ac_add-quantity">%%QtyBox%%</td>
<td class="ac_add-quantity"><input type="image" name="add_to_cart_button" value="Add To Cart" src="%%ButtonSetURL%%/add_to_cart.gif">
</p></td></tr></table>
<!--END SELECT QUANTITY BUTTON-->
</td><td class="ac_product_image">%%image%%</td>
<td class="ac_product_desc">
<b>%%name%%</b><br/>
%%description%%<br><br/>
<span class="ac_product_price">%%price%%</span><br>
</td></form></tr><tr><td>&nbsp;</td><td>&nbsp;</td><td class="ac_product_desc">
<a href="%%scripturl%%?dc=1&%%href_fields%%" rel="nofollow">Check Out</a></td></tr>
<tr><td colspan=3><hr/></td></tr>

<br>


<p></div>

%%StoreFooter%%
</body>
</html>

View user's profile Send private message
Reply with quote
Post  
You can't use code from the product page on the main index page.
There are ways to edit the "What's in the store" to display a certain category, but that info is only found in the Gold Members Forum.
You can edit the "What's in the store" to display a different quantity of products.
However, the home page of the store is basically for conveying information about the store, not necessarily displaying products.
If you are linking to the store and want to display all products, you could just use a link like:
http://www.domain.com/path_to_store/agora.cgi?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