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
Main store look...
Author Message
Reply with quote
Post Main store look... 
Dear Mr. Ed (Oh I just love writing that, brings back lota memories)

Following what you've said in a previous locked post, I've removed the header and footer tags and want to make the store basically look like my other pages.

Is this the only part of the code (in v5) that I need to keep on that page? Is there anything else I need to keep in order for the store to look right as I add more products and services to it?? Or am I keeping too much of the code for that to work.

I ask for two reasons. 1) I want to get it right; not just looking right 2) the other pages are keeping the former header and footer.

Code:

<!--agorascript-pre
# this is an AgoraCart members only AgoraScript Snippet.  You must be a current member at:
# http://www.AgoraCartPro.com .  Sign up or renew at AgoraCart.com
# Copyright &copy; 2000 - Present by K-Factor Technologies Inc., AgoraScript, and BytePipe.
&capture_STDOUT; open (DATAFILE, "<./data_files/data.file") || die print "Could not open data.file";  @line=<DATAFILE>;
 close (DATAFILE);
 srand;
 $array1 = $line[int rand(@line)];
 $array2 = $line[int rand(@line)];
 $array3 = $line[int rand(@line)];
 $array4 = $line[int rand(@line)];
 @special1 = split (/\|/, $array1);
 @special2 = split (/\|/, $array2);
 @special3 = split (/\|/, $array3);
 @special4 = split (/\|/, $array4);
 $image1 = $special1[7];
 $image2 = $special2[7];
 $image3 = $special3[7];
 $image4 = $special4[7];
   $image1 =~ s/%%IMG%%//ig;
   $image2 =~ s/%%IMG%%//ig;
   $image3 =~ s/%%IMG%%//ig;
   $image4 =~ s/%%IMG%%//ig;

print qq~
<!--this is an AgoraCart members only AgoraScript Snippet.  You must be a current member at:
 http://www.AgoraCartPro.com .  Sign up or renew at AgoraCart.com
 Copyright &copy; 2000 - Present by K-Factor Technologies Inc., AgoraScript, and BytePipe.--\>


<h3 class="gold left">See What's inside our Store:</h3>

<table width="100%" border="0" align="center" cellpadding="3">

<tr>
<td valign=top width="25%"><center><font face=arial size="2">In $special1[1]:<br><br></font>
    <a href="agora.cgi?cart_id=&amp;p_id=$special1[0]&amp;xm=on">
   <img class="template_image_no_border" src="%%URLofImages%%/$image1" alt="$image1"></a></center></td>

<td valign=top width="25%"><center><font face=arial size="2">In $special2[1]:<br><br></font>
    <a href="agora.cgi?cart_id=&amp;p_id=$special2[0]&amp;xm=on">
    <img class="template_image_no_border"  src="%%URLofImages%%/$image2" alt="$image2"></a></center></td>

<td valign=top width="25%"><center><font face=arial size="2">In $special3[1]:<br><br></font>
    <a href="agora.cgi?cart_id=&amp;p_id=$special3[0]&amp;xm=on">
    <img class="template_image_no_border" src="%%URLofImages%%/$image3" alt="$image3"></a></center></td>

<td valign=top width="25%"><center><font face=arial size="2">In $special4[1]:<br><br></font>
    <a href="agora.cgi?cart_id=&amp;p_id=$special4[0]&amp;xm=on">
    <img class="template_image_no_border" src="%%URLofImages%%/$image4" alt="$image4"></a></center></td>
</tr>

<tr>
<td valign=top width="25%"><center><font face=arial size="2">
     <a href="agora.cgi?cart_id=&amp;p_id=$special1[0]&amp;xm=on">$special1[3]</a></font></center></td>
     
<td valign=top width="25%"><center><font face=arial size="2">
     <a href="agora.cgi?cart_id=&amp;p_id=$special2[0]&amp;xm=on">$special2[3]</a></font></center></td>

<td valign=top width="25%"><center><font face=arial size="2">
     <a href="agora.cgi?cart_id=&amp;p_id=$special3[0]&amp;xm=on">$special3[3]</a></font></center></td>

<td valign=top width="25%"><center><font face=arial size="2">
     <a href="agora.cgi?cart_id=&amp;p_id=$special4[0]&amp;xm=on">$special4[3]</a></font></center></td>
</tr>

<tr>
<td valign=top width="25%"><center><font face=arial size="2">
      <b><font color="FF0000">Only $sc_money_symbol $special1[2]<\/font></b></font></center></td>

<td valign=top width="25%"><center><font face=arial size="2">
      <b><font color="FF0000">Only $sc_money_symbol $special2[2]</font></b></font></center></td>

<td valign=top width="25%"><center><font face=arial size="2">
       <b><font color=\"FF0000\">Only $sc_money_symbol $special3[2]<\/font><\/b><\/font></center><\/td>

<td valign=top width="25%"><center><font face=arial size="2">
       <b><font color="FF0000">Only $sc_money_symbol $special4[2]</font></b></font></center></td>

</tr>
</table>
~; &uncapture_STDOUT;
-->



_________________
Maria Marsala
Business Coach

http://www.ElevatingYourBusiness.com
View user's profile Send private message
Reply with quote
Post  
Maria,
What in the world are you doing???

Put the %%StoreHeader%% and %%StoreFooter%% tokens back!!!
It might help if you had referenced the URL of the post that you said was locked, so that we know what you are talking about... Many of the posts in this forum are for previous versions. So it is important that you give complete info.

You need to edit the store_header.html, secure_store_header.html, store_footer.html, and secure_store_footer.html files to edit the web design of the store to look more like the rest of your site... The store uses these template files all throughout the store...

The code you posted is the code that displays the "What's in our store" block.... Not exactly sure why you posted it here.... But, that is the only bit of code *between* the %%StoreHeader%% and %%StoreFooter%% tokens that you should really keep. You can add promo info about your store or a welcome message to your customers/clients in that file.

Please, please, please... in the future...
Try to post in the correct topic areas of the forum...
As it was, I had to move this thread to this topic area...
You keep trying to post in the "Where's everything located" area or hijacking people's posts...
Take a little time to find the right topic to post in...
Also, please take a moment to read this post before making your next post...
http://www.agoraguide.com/faq/viewtopic.php?t=4701

BTW, Mister Ed rarely sees this forum any more... He frequents the Pro Forum and has left me to admin this one.

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 Same question 
I want to be able to insert the main body into the middle column of a 3 column template?

View user's profile Send private message
Reply with quote
Post  
Current version, v5.2, of AgoraCart has a default 3 column template.
If you do not have the current version, uninstall the version you have and install current version using the installer file found at the "download" link on this page.


_________________
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