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
Set a maximum shipping cost without using custom shipping?
Author Message
Reply with quote
Post Set a maximum shipping cost without using custom shipping? 
HI,

I have shipping set for each individual item but would like to set a maximum shipping charge of £5 per order. I know this can be done easily with custom shipping logic, but my client wants the total order to include shipping as soon as the customer views the cart which is not possible when using custom shipping. Is there any way to limit the total shipping cost without using custom shipping logic?

Thanks.

View user's profile Send private message
Reply with quote
Post  
Custom shipping logic can apply before the customer reaches the check-out...
But, with shipping price being "per item", this may be a little tricky.

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  
HI Bonnie,

I was using custom shipping originally and can easily go back to it, but the cart would not show the total including shipping prior to checkout, which is what the client wants. I gathered from reading other posts that it wasn't possible to show the total including shipping before checkout when using custom shipping logic, but would love to find I've misunderstood and that it can be done!

As it stands at the moment, if I use shipping price per item the cart shows individual shipping cost per item, item total and grand total including shipping, but I can't set a maximum level for shipping.
When I use my custom logic I see shipping cost per item and item total, but the grand total does not include the shipping cost (i.e. it's exactly the same as the items total). This does allow me to cap the shipping cost at £5 but my client is very keen to have the total including shipping displayed to the customer before they have to enter all their details in the checkout. Can it be done?

Best regards,
Jan

View user's profile Send private message
Reply with quote
Post  
Jan,
Which version of AgoraCart are you using?


_________________
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  
Version 5.0.006 - the most recent release downloaded and installed about a week ago as per your recommendation! (And it's a big improvement on the versionI was using previously).



Last edited by noodle on Wed Sep 12, 07 4:51 am; edited 1 time in total
View user's profile Send private message
Reply with quote
Post  
Okay, in the custom shipping logic put:
Code:
my $max_shipping_cost = 5.00;
if ($shipping_price <= $max_shipping_cost) {
    $shipping_price = $shipping_price;
   } else {
   $shipping_price = $max_shipping_cost;
  }


Test it out and let me know...


_________________
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  
Hi Bonnie,

No, I'm afraid that didn't work. The grand total still doesn't include shipping until after the 2nd stage of check out.

This is my original shipping logic, which is successfully limiting the total to £5, I just need to be able to show the grand total including shipping before the customer has to enter all their details in the checkout.
@sc_shipping_logic = ( "Royal Mail 2nd Class|||-.1.49|1.00",
"Royal Mail 2nd Class|||1.50-1.99|1.50",
"Royal Mail 2nd Class|||2.00-2.99|2.00",
"Royal Mail 2nd Class|||3.00-3.99|3.00",
"Royal Mail 2nd Class|||4.00-4.99|4.00",
"Royal Mail 2nd Class|||5.00-|5.00");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);

View user's profile Send private message
Reply with quote
Post  
What is the URL to the store?
What are your settings in the "Store Design - Misc Settings" manager, for:
Display Shipping Label/Costs at View Cart and Checkout?:
AND
Display Sub Total label instead of Grand Total label?


_________________
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  
Store URL is:

http://www.greatestgift.co.uk/shop

Settings at present are: "Display Shipping Label/Costs at View Cart and Checkout?" YES and "Display Sub Total label instead of Grand Total label?" NO

View user's profile Send private message
Reply with quote
Post  
You can use your shipping logic, just remove the Royal Mail 2nd Class from it...
Make sure that SBW is off.


_________________
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  
Brilliant! That's just what I wanted.....thank you so much!

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