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
This topic is locked: you cannot edit posts or make replies. Page 1 of 1
View Cart/ CheckOut buttons - Continue shopping problem
Author Message
Reply with quote
Post View Cart/ CheckOut buttons - Continue shopping problem 
I have 2 questions. First, can you please tell me the html code for adding a View Cart link and a Checkout link to a static page.

Also, I have added "Add to Cart" buttons to some static pages and they work, however the "Continue Shopping" button in the shopping cart does not. When it is clicked an error page comes up. How do you get it to go back to the page the customer was previously on? Thanks!

View user's profile Send private message
Reply with quote
Post  
hell-o
try this for a viewcart link...
<a href="path-to-agora.cgi-file/agora.cgi?dc=1">View Cart</a>

if that doesn't work i have a form that will.

the easiest way to fix the continue shopping button without being a pro member is to hardcode a link back to your index or sitemap or one particular page.
you can use java script but if the customer goes and changes qty or removes items from their cart then they may have problems. there is or was a post for a js solutions someplace in this forum. probably will have to seach in the add to cart/buy now buttons forum. maybe not.
there is a solution but it's lifetime members only. sorry.
regards,
dan

Reply with quote
Post Continue Shopping button 
Hi!

My site is:
http://www.frameofchoice.com/agora/agora.cgi

When I add an item to the shopping cart, click on "home" > "View Cart" and then the "Continue Shopping" button, it brings me to one of my product pages but with a "Found x items..." line on top. It also doesn't tack on my customized ProductPage.inc extension.

Any way around this?

Thanks in advance!

View user's profile Send private message
Reply with quote
Post  
The "Continue Shopping" button returns you to the last page that was viewed.

If you are wanting to use the 1a ppinc file as your default ppinc file, then it needs to be renamed as productPage.inc which is the default ppinc file name...

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 Let me rephrase, I am having the same issue 
If you have items in your cart, it works like the last post stated.

However, try this:

If you are sifting through the catgory pages and you click view cart, with nothing in it, then click continue shopping. It then brings you back to the store front, not the last thing you were viewing. I need to know personally, how to take it back to a specific URL to avoid this.

any help?

View user's profile Send private message
Reply with quote
Post  
Yep, that's the way it works...
If you want the continue shopping button to always go to a specific URL, you will need to edit the cart_footer.inc files


_________________
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 for the verification! 
Here is a cut from the cart_footer file. How would you specify a URL in this string?

<input type="image" name="continue_shopping_button"
value="Continue Shopping" src="%%ButtonSetURL%%/continue_shopping.gif">

Thanks in advance!

View user's profile Send private message
Reply with quote
Post  
Just change that input tag and code it like a regular image link...


_________________
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 This is what I tried 
This is the section of the cartfooter.inc file I changed in the html_templates directory:

<input type="image" name="delete_item_button"
value="Delete Items" src="%%ButtonSetURL%%/remove_items.gif">
<input type="image" name="continue_shopping_button"
value="Continue Shopping" src="%%ButtonSetURL%%/continue_shopping.gif" onclick="location.href=http://xxx.xxx.com">

xxx.xxx.com is actually my website name. Still seems to be taking it to the main shopping store front?? Is there anywhere I simply can change the value of the store front to a static URL and/or fix this?

Thanks in advance!

View user's profile Send private message
Reply with quote
Post Here's what worked 
Anyone else having trouble, I wanted to report back when i got it working and let everyone know.

Two issues, code previously just wasn't working. So I took another approach. Its listed below.

<a href="http://www.washingtonnuthouse.com" target="_parent">
<IMG src="%%ButtonSetURL%%/continue_shopping.gif"></a>

The second issue is that I was simply editing the wrong file. There is a empty_cart_footer.inc and a cart_footer.inc. With the steps listed above, I had an empty cart, hence the other file. Replacing what was there (the input declarations) and replacing with the above strings, it works now by taking me to the specified URL, something different then the store front.

Hope this helps...

View user's profile Send private message
Reply with quote
Post  
You would need to edit all *cart_footer.inc files....


_________________
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:
This topic is locked: you cannot edit posts or make replies. 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