Author |
Message |
jasperguy
Newbie
Joined: 19 Nov 2007
Posts: 3
|
Can this option calculate the total purchase amount (let's say over $500) and not charge for shipping?
|
Mon Nov 19, 07 2:38 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
What version of the cart are you currently using?
How are you currently calculating your shipping?
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Nov 19, 07 3:06 pm |
 |
 |
jasperguy
Newbie
Joined: 19 Nov 2007
Posts: 3
|
I have version 5 and just installed it. With the defaults on at the moment. Trying to test out if this cart is the right option. It is quite a script, a little too much on what I need.
My criteria is:
Products: add/remove
Shipping: $1-$500 - 15%
Shipping: $500-$and up - free
Tax: 6%
Payment: Paypal
www.jollyworks.ab.ca/store5
I'm still fiddling with it, so it might change around...
|
Mon Nov 19, 07 3:41 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Use the custom shipping logic to set up your shipping calculations.
There is documentation in it in the 'protected/DOCS' directory of the store's installation.
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Nov 19, 07 3:52 pm |
 |
 |
jasperguy
Newbie
Joined: 19 Nov 2007
Posts: 3
|
Okay, I have followed the instructions, but now my shipping has different rates when listed in the shopping cart.
|
Mon Nov 19, 07 6:02 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
What do you mean? Which instructions?
What does the custom shipping logic look like, that you are using?
What are your settings in the Shipping Settings manager?
You need to be more specific. With the highly customizable nature of AgoraCart,
you need to explain things in a LOT more detail and give examples.
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Tue Nov 20, 07 5:24 am |
 |
 |
genebadd
Newbie - Two Blades
Joined: 18 Sep 2007
Posts: 25
|
I am looking to do the somthing similiar. I would like to provide free shipping to my customers on orders of 20.00 or more for a limited time. I was looking at the shipping.txt file downloaded from protected/docs and I feel like I jumped right into the middle of a chapter to some book. The file is dates back to April 30th 2000, is this current with the new script? There is a section in the file, "Basics of basing shipping on Form Variable 'the old way,'" and it gives some examples. If the file is already 8 years old how old is the old way? And provided I got my variables correct which I know I didn't because I don't know how to impliment the custom shipping logic with the pre-existing shipping setup that I already have, where would I put the code so it could do it's job? Sorry for all the questions I feel like this is one big puzzle and I am scrambling to piece it all together. I haven't found a tutorial for boneheads yet.
Gene
|
Mon Jan 28, 08 5:16 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Gene,
The shipping file in the 'protected/DOCS' directory is still valid... Those basics have been around for at least 10 years... I used the predecesor of AgoraCart, Selena Sol's Webstore...
In the custom shipping logic, Use the Custom Shipping Logic Example calculates shipping based on the total order.
IE:
Code:@sc_shipping_logic =
("|1-29.99|||3.95",
"|30-59.99|||4.95",
"|60-89.99|||6.95",
"|90-119.99|||10.95",
"|120-|||0.00");
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
Do NOT use the line about shipping logic done... That's about the only change to that, although there may be times when you would want to use it...
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Tue Jan 29, 08 1:33 pm |
 |
 |
genebadd
Newbie - Two Blades
Joined: 18 Sep 2007
Posts: 25
|
Hi Bonnie, just curious, would using the shipping logic example you provided still take into consideration the USPS and UPS API information? Also once I have this code snippet adjusted correctly where should I place it? Thanks again for all your help.
Gene
would this be right?
Code:@sc_shipping_logic =
("|1-24.99|||4.95",
"|25-|||0.00");
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
|
Tue Jan 29, 08 3:04 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Gene,
The logic should look more like:
Code:
@sc_shipping_logic =
("|-24.99|||4.95",
"|25-|||0.00");
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
You put it in the Custom Shipping Logic box in the Shipping Settings manager.
Now, what about the weight? When you were last emailing me about this, the lower charge was supposed to be based on weight, too. Isn't it still supposed to be that way?
If so, you need to define the max weight for the calculation to apply to.
Otherwise, the UPS & USPS APIs may not even come into play...
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Tue Jan 29, 08 3:20 pm |
 |
 |
genebadd
Newbie - Two Blades
Joined: 18 Sep 2007
Posts: 25
|
yep.. The weight is important.. I am kind of fumbling around here...Weight needs to come into play for prices less the 25 bucks..
|
Tue Jan 29, 08 8:34 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Well, you have to determine how/when you want the API to take over, then you can set up the custom shipping logic to work in the gap.
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Wed Jan 30, 08 5:50 am |
 |
 |
genebadd
Newbie - Two Blades
Joined: 18 Sep 2007
Posts: 25
|
Ahh I see.. I guess the shipping logic should kick in the moment a customers cart exceeds the 24.99 limit and is entitled to free shipping. Is there something in the custom logic that replaces ("|-24.99|||4.95", or is the logic smart enough to know that the API's handle everything prior to that price. I guess I am a little confused as to how the custom shipping logic and API's work together.
If the shipping logic is used prior to the Api's then wouldn't the API neglect the custom shipping logic and total the cost of shipping based on weight or if Custom shipping is used after the API's wouldn't the custom shipping logic simply ignore the API's and charge 4.95 for everything under 24.99 and free for everything over 24.99? Thank you for all the valuable help, I hope my questions make a little sense here...
Regards,
gene
|
Wed Jan 30, 08 12:14 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Gene,
You offer FREE shipping on orders over $25.00???
Why would you even use the API???
I am totally confused as to why you are doing your shipping this way...
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Wed Jan 30, 08 2:05 pm |
 |
 |
genebadd
Newbie - Two Blades
Joined: 18 Sep 2007
Posts: 25
|
Hi Bonnie, this is for valentines day.. You see we have a lot of small cheap items that could keep the price under 25.00 but drive the price of shipping over $4.95. The free shipping over 25.00 is merely a temporary promotion..Hopefully this makes sense... Maybe I should just hold off on the API's for now...
|
Wed Jan 30, 08 3:37 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
The problem comes in with... what if someone orders something of a larger amount of weight, how will that affect your shipping?
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Wed Jan 30, 08 6:44 pm |
 |
 |
genebadd
Newbie - Two Blades
Joined: 18 Sep 2007
Posts: 25
|
I guess if it's over 25 bucks I absorb the costs...I think the chances of someone actually buying heavier cheaper items are probably rare, I think I will just enable the custom shipping and ignore the API's for now and then return it all back to normal after the holiday..Does that sound logical?
|
Wed Jan 30, 08 7:17 pm |
|
 |
|