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
cart buttons in store_header.inc?
Author Message
Reply with quote
Post cart buttons in store_header.inc? 
Hi,
I will like to add a "view cart" and "check out" button in the store_header.inc file, is it possible?
If yes, can guide me on the links? Rolling Eyes


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
The code is already in the default header files. The thing is that they don't show up *until* something is added to the cart. This helps prevent someone from checking out with an empty cart.

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  
Not sure how things work in the cart but if there are no items in the cart there is no way that the customer can check out? Rolling Eyes
So there is no way to do it? I have seen it on some other people's site so I thought this is workable Crying or Very sad


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
It can be done. There is already code in the default header file of the cart to display those links once an item is added to the cart. You can pull that code from the default header and use it in your custom header.
The reasoning for the links not showing up until an item is added to the cart is to help prevent people from checking out with an empty cart.

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  
Ok. I have tried that and it works for view cart but when I tried to check out I was taken to 'page cannot be found' page. Initially thought is due to the fact that I have nothing in my shopping cart. I added an item to cart and click on the same button and I get the same response -> page cannot be found.
The script that I have added to the button is
Code:
<A HREF='%%StepOneURL%%?order_form_button.x=1&%%href_fields%%'>

Is there anything wrong with this script?


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
Where are you trying to put this bit of code? What is the URL to the 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
Reply with quote
Post  
My URL is http://www.nadioki.per.sg/store
If you go to my website, you can see that there are 2 green buttons on the left, 1 is 'view cart' and the other is 'checkout'. I am trying to place the link in the 'checkout' button. Confused


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
Looks like you have an incorrect URL set in the manager.
It is either the one in the Main AgoraCart Store Settings or the Payment Gateway.

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  
I have both URLs set up as http://www.nadioki.per.sg/cgi-bin/store/agora.cgi but I get the same message... Rolling Eyes help!


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
That's the wrong URL... The cart does NOT exist at that URL...
The URL to your store is:
http://www.nadioki.per.sg/store/agora.cgi

That is the URL that should be set in the manager...
In the Main AgoraCart Store Settings
AND in the Payment Gateway....

Also, make sure that your SSL/Secure URL fields are filled in, too...

HTH!



Last edited by scottcrew on Wed Jul 27, 05 6:31 am; edited 1 time in total

_________________
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  
Ok, I have changed the 3 URLs and right now I get a return to home (main) page when I click on checkout. Rolling Eyes


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
Ooops, try this for the URL:
http://www.nadioki.per.sg/store/agora.cgi

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  
Thanks! It's working fine now! Laughing


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
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