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 logic and cart display inconsistent
Author Message
Reply with quote
Post Shipping logic and cart display inconsistent 
Hello,
I have been experimenting with this cart and so far it seems to be a nice piece of software.
Only one problem thus far:

Custom shipping logic works well and displays correctly in the purple box below the cart display.
However, cart display (Black box) under heading "shipping" is not consistent with logic.
Have tried every possible combination in the "Cart display" section but still no match.

Please advise
Thank you

View user's profile Send private message
Reply with quote
Post  
How, exactly, are you calculating your shipping?


_________________
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  
Enclosed is the shipping logic - x=numerical value

@sc_shipping_logic =
("|x-xx.xx|||x.xx",
"|xx-xx.xx|||xx.xx",
"|xx-xx.xx|||xx.xx");
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
$shipping_logic_done = "yes"; # forces exit, no handling charge added

I would also like to have the shipping price removed from the purple box when "Pickup" is selected.
Thanks for your help on this.

View user's profile Send private message
Reply with quote
Post  
What version of the cart are you using?
If anything below v5.0, you will want to upgrade...
HOWEVER, since you are calculating the shipping based on total dollar amount of the order, you will need to the shipping field from the Cart Display Manager. Just set that line to "BLANK" to remove it.

To have a zero price when pickup is selected, set your custom shipping logic like:
Code:
     
@sc_shipping_logic =
("Pickup||||0.00",
"|x-xx.xx|||x.xx",
"|xx-xx.xx|||xx.xx",
"|xx-xx.xx|||xx.xx");
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
$shipping_logic_done = "yes"; # forces exit, no handling charge added


BTW, it was unnecessary to remove the numeric values when posting the shipping logic... no need to be secretive on that... Rolling Eyes

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 had included ("Pickup||||0.00", line in the logic but it didn't remove the shipping price.
Not only does it not work, but, a sample transaction to Paypal showed a total which included the shipping AND that total was referred to as a subtotal w/o shipping.
I need a "fix"...

And when trying to submit an order through pay by cheque option, next screen states that cheque number and payment method not filled in when it was in fact filled in. i'm guessing that if I did get passed that, the shipping price would still be there.

I am using the latest version of Agora as of yesterday.

Thanks again



Last edited by Trabiz on Sun Oct 28, 07 5:46 pm; edited 1 time in total
View user's profile Send private message
Reply with quote
Post  
What is the URL to the store?...
It needs to be set up properly, you don't need a "fix"...


_________________
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