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
Shipping charges not showing on Checkout
Author Message
Reply with quote
Post Shipping charges not showing on Checkout 
I 'think' I have my logic set up correctly:

@sc_shipping_logic = ( "Brisbane||1-||44.00"
"Gold Coast||1-||44.00"
"Sunshine Coast||1-||44.00"
"Acacia Ridge||1-||0.00");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);


and in my order form:

<SELECT NAME=Ecom_ShipTo_Method>
<OPTION value="$vform_Ecom_ShipTo_Method"><!--agorascript-pre
if ("$vform_Ecom_ShipTo_Method" eq "") {
return " Select Shipping Method ";
} else {
return "$vform_Ecom_ShipTo_Method";
}
--></OPTION>
<OPTION VALUE="Brisbane">
Brisbane Metro</option>
<OPTION VALUE="Gold Coast">
Gold Coast</option>
<OPTION VALUE="Sunshine Coast">
Sunshine Coast</option>
<OPTION VALUE="Acacia Ridge">
Pickup from Acacia Ridge</option>
</SELECT>


BUT

I would like shipping charges to show through after verifying and order in the subtotals and have literally 'lost' the piece of code and where to put it somehow. Have had a look through an original offline order form but it has me stumped.

I have numerous other options to add in but the above will get me started.

Also - where on the "Option Value" line do I put the charge for that particular delivery (eg Sunshine Coast $44.00)?

Thank you for your help in advance - have racked my brain on all this and checked the forum but am at wits end!
Needless to say I think I love this Agora stuff! It's taken me a lot of perserverence but I'm coming up with the goods slowly!

Brenda

View user's profile Send private message
Reply with quote
Post  
Oops - http://www.gardenshed.com.au/store5

Thanks!

View user's profile Send private message
Reply with quote
Post  
Brenda,
You shipping logic is missing some very impotant characters.
It should be more like:
Code:
@sc_shipping_logic = ( "Brisbane||1-||44.00",
"Gold Coast||1-||44.00",
"Sunshine Coast||1-||44.00",
"Acacia Ridge||1-||0.00");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);


Fix your shipping logic and the shipping should show...

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  
Thank you - it's all starting to come together - have realised the importance of every little comma and semi-colon!!

Brenda

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