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
Helpme It simple by quantites
Author Message
Reply with quote
Post Helpme It simple by quantites 
I want to do this
if total amount is
$1-$49.99 charge $8
$50-$99.99 charge $10
$100+ charge 10% of total quantity


which formula should i write down ?

please help me.

thanks

View user's profile Send private message
Reply with quote
Post  
It looks like you are wanting to do it by dollar amount...
Check out this thread, it will give you a push in the right direction:
http://www.agoraguide.com/faq/viewtopic.php?t=3988

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  
@sc_shipping_logic = ( "|1-49.99||8.00",
"|50-99.99||10.00",
"|100-||10%");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
$shipping_logic_done = "yes";


What is the the diference between || and ||| ? .

Please can somebody check if my code is correct? because it still dosent work.


I want to do this
if total amount is
$1-$49.99 charge $8
$50-$99.99 charge $10
$100+ charge 10% of total quantity


PLEASE HELP ME

I already read the DOCS

View user's profile Send private message
Reply with quote
Post  
The shipping logic field definitions are as follows:
ShippingMethod|DollarAmt|Quantity|Weight/MeasuredValue|ShippingCost

BTW, you do not need the $shipping_logic_done = "yes"; line...

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 scott please help me build this since iam a novice in this...
this is what i have can u please edit this and give me the right code.
Code:

# In this example Shipping Cost is based on the total order.
# $1-$29.99 is 10%, $30-$59.99 is 7.5%, etc. (TURN OFF UPS!)
# Code does not force exit, so handling charge will be added!
@sc_shipping_logic = ( "|1-49.99||8.95",
                       "|50-99.99||10.95",
                       "|100-||20.99");


#
#$shipping_price = &calculate_shipping($temp_total,
#                  $total_quantity, $total_measured_quantity);


P.S.
the two above options i have it both ...........NO................
Use the custom shipping logic? If yes, you may still use the SBW module (perhaps some items are not appropriate for that module and you desire to handle these differently.) If Custom logic and SBW are both set to "no" then the "shipping" field in the database is the shipping price of the item. yes yes no
If using Custom Logic, is shipping measured by weight? In other words, do you define total shipping price by total order weight within the custom shipping logic? If so, select yes



Sorry for my ignorance.

regards

View user's profile Send private message
Reply with quote
Post  
You are missing a field in the Custom Shipping Logic...
Custom Shipping Logic should be:
Code:
@sc_shipping_logic = ( "|1-49.99|||8.95",
                       "|50.00-99.99|||10.95",
                       "|100.00-|||20.99");


#
$shipping_price = &calculate_shipping($temp_total,
                  $total_quantity, $total_measured_quantity);


"Use Custom Shipping Logic?" Should be set to "YES"
"If using Custom Logic, is shipping measured by weight?" Should be set to "NO"

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
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