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 with UPS
Author Message
Reply with quote
Post Shipping with UPS 
I plan to only ship UPS, at least for now. I want to make it so the cart will calulate shipping for me through my ups account based on weight and distance. But if they purchase over $100.00 worth of stuff, I want shipping to be free. I'm very new to this whole thing. Thanks for any help and direction.

Thanks
AZ Cycle Sports

View user's profile Send private message
Reply with quote
Post Mee too 
Yes, I want to do the same thing. Hav'nt figured it out yet. If i get it working i will post - please doo the same

Stev

View user's profile Send private message
Reply with quote
Post  
Repost of information from Mister Ed
Quote:
Subject: free shipping hack if order total over

actually this can be done in the custom shipping logic (diff syntax
though)... no need to go into the code itself... you lose that in
upgrades. Basic premise of agoracart is that 95% of the changes to code
can be done with custom logic, drop in custom libraries, and online
managers when available.

If using custom shipping logic, add this to your logic just after the
$shipping_price = &calculate_shipping(... routine:

if (!($temp_total < 50.00)) {$shipping_price=0;}


If using SBW via realtime (not custom logic on sbw), add this to the top
box of the freeform logic manager (online manager):


&add_codehook("end_final_values_loop_iteration_before_calc","zero_shipping");

sub zero_shipping {
if (!($temp_total < 50.00)) {$shipping=0;}
}

this last one is not tested, but it should do the trick :) It can also
be made into custom lib and placed inthe custom directory for automatic
inclusion in the cart as it operates.

but using these two methods, you just drop code into a manager area and
go try it. This is one major aspect that separates AgoraCart from it's
predecessors and their programming ideaologies

ME


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