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
"See what's in our store" section gone
Author Message
Reply with quote
Post "See what's in our store" section gone 
I am trying to edit the main page and have got it almost right but no matter what I do the "See what's in our store" does not appear....

And I AM ftp'ing in ASCII..

Can someone please help me while I have hair left...

TIA
Emily

Here is the link http://www.moneymaderight.com/agora/agora.cgi

View user's profile Send private message
Reply with quote
Post  
Hi,

Try putting the following in in place of the code you have at present.

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;

 for ($index = 0; $index < 4; $index++)
 { 
 $array = $line[int rand(@line)];
 if ($array =~ m/\|inactive\|/i){$index--;next;}
 @special = split (/\|/, $array);
 for($index2 = 0; $index2 < $index; $index2++){
 if ($special[0] == $spc_id[$index2]){$duplicate = 1;next;}
 }
 if ($duplicate == 1){$index--;$duplicate = 0;next;}
$image[$index] = $special[7];$spc_category[$index] = $special[1];$spc_id[$index] = $special[0];$spc_product[$index] = $special[3];$spc_price[$index] = $special[12];$image[$index] =~ s/%%IMG%%//ig;
 }
 
 print qq~
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" class="template_mainbackground">
          <tr>
            <td  class="template_mainbackground"><span class="headerText">See What's inside our Store:</span></td>
          </tr>
  <tr>
   <td>
<table width="100%" border="0" align="center" cellpadding="3" bgcolor="#FFFFFF">
          <tr>   
        ~;
 for ($index = 0; $index < 4; $index++)
 {   
  print qq~
<td valign=top width="25%"><center><font face=arial size="2">In $spc_category[$index]:<br><br></font>
    <a href="agora.cgi?cart_id=&amp;p_id=$spc_id[$index]&amp;xm=on">
   <img class="template_image_no_border" src="%%URLofImages%%/$image[$index]" alt="$image[$index]"></a></center></td>   
   ~;
 }
   print qq~</tr><tr>~;
 for ($index = 0; $index < 4; $index++)
 {
  print qq~
 <td valign=top width="25%"><center><font face=arial size="2">
   <a href="agora.cgi?cart_id=&amp;p_id=$spc_id[$index]&amp;xm=on">$spc_product[$index]</a></font></center></td>   
   ~;
 }
  print qq~</tr><tr>~;
  for ($index = 0; $index < 4; $index++)
 {
  print qq~
<td valign=top width="25%"><center><font face=arial size="2">
      <b><font color="FF0000">From Only<br />$spc_price[$index]<\/font></b></font></center></td>
      ~;   
 }
  print qq~
</tr>
</table></td>
   </tr>
</table>       
~; &uncapture_STDOUT;
-->


Hopefully that will do the trick, if not get back to me and I'll have another look.

Regards.
Glen.


_________________
glen.m.darby@virgin.net
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Reply with quote
Post  
Thanks so much!!!!!! I do now see my "See whats in our store" section but now instead of the price there is this

From Only
%%OPTION%%Scents.html

I looked and tried to know what to do to fix it, but I couldn't figure it out.

I appreciate all your help! I am getting close to being done....WOOHOO!

Here is the link again

http://www.moneymaderight.com/agora/agora.cgi

Emily

View user's profile Send private message
Reply with quote
Post  
And after changing the script to get the "See whats in our store" working.. now when I try to go through the ordering process, I have no checkout page. It is blank with nothing on it..

I only THOUGHT I was close to being done....LOL

View user's profile Send private message
Reply with quote
Post  
Hi,

Yes sorry....... Opps!

in the part in the code above where it has the following :
Code:

$image[$index] = $special[7];$spc_category[$index] = $special[1];$spc_id[$index] = $special[0];$spc_product[$index] = $special[3];$spc_price[$index] = $special[12];$image[$index] =~ s/%%IMG%%//ig;
 }


find the one that says :

$special[12] and change to $special[2]

I appologise, I was using a userfield for my price for reasons that required a userfield rather than the actual price filed.

That should set you straight on that one.
Hope that helps.

Regards.
Glen.


_________________
glen.m.darby@virgin.net
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Reply with quote
Post  
Thanks so much Glenn.... I truly appreciate it. Laughing

I still have no checkout just a blank page. Do I need to post this problem in a different section or does it go along with this changing of the script?

View user's profile Send private message
Reply with quote
Post  
I would post the checkout problem in one of the Payment Gateway areas depending on what gateway you are using, however I would judge the problem to be incorrect settings in the manager files relating to step 2 or payment gateway somewhere along the line, I had a quick add to cart and view cart and everything came up for me, however it may be further down the line you found the problem, and I didn't go that far in.

Hope that helps.

Glen.


_________________
glen.m.darby@virgin.net
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Reply with quote
Post  
I found the answer by reading some of the other topics on the same question...

I have found a few more things to fix before I can finally say I am done......But thanks so much for helping me with this!!!! I would have NEVER got that right by my lonesome...
Laughing

View user's profile Send private message
Reply with quote
Post  
Hi,

No problem, glad I could help.

Regards.
Glen.


_________________
glen.m.darby@virgin.net
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
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