 |
Page 1 of 1
|
Author |
Message |
Sentimental
Newbie
Joined: 31 Jan 2004
Posts: 6
|
 Over-ride Shipping settings for single product
I'm sure I saw this a couple of months ago when I wasn't looking for it, but I can't find it now! Is there a way to override shipping and tax settings for a single product? I want to be able to have a customer order something and pay just a deposit, for which I do not have to charge tax, nor want to charge shipping. Any ideas apprciated. Thanks!
|
Tue Mar 23, 04 9:40 am |
|
 |
milehightrader
Guest
|
|
Tue Mar 23, 04 3:36 pm |
|
 |
dmthom
Newbie
Joined: 24 Feb 2004
Posts: 7
|
Any suggestions for one who wants to use this concept? Instead of shipping by weight, we ship by total $$ amount.
Thank you!
|
Tue May 25, 04 8:35 am |
|
 |
Sentimental
Newbie
Joined: 31 Jan 2004
Posts: 6
|
|
Tue May 25, 04 8:51 am |
|
 |
dmthom
Newbie
Joined: 24 Feb 2004
Posts: 7
|
 Override custom shipping for one item
sorry, I meant to say that I need Dr Vreeman's concept, except instead of by weight, by total amount.
|
Tue May 25, 04 9:09 am |
|
 |
milehightrader
Guest
|
Take a look at shipping.txt in the protected/docs directory. It has what you are looking for.
|
Wed May 26, 04 6:00 am |
|
 |
dmthom
Newbie
Joined: 24 Feb 2004
Posts: 7
|
Yex, I have looked there, and there is now explanation of how to combine the good dr.'s concept with the 'by amount' shipping module. If someone could break that down, I'd be most appreciative.
|
Wed May 26, 04 9:19 am |
|
 |
dmthom
Newbie
Joined: 24 Feb 2004
Posts: 7
|
"no" instead of "now", sorry!
|
Wed May 26, 04 9:24 am |
|
 |
milehightrader
Guest
|
I think we need to clarify what you want. Originally you said
Quote:Instead of shipping by weight, we ship by total $$ amount.
So, now you are saying you have 2 needs. You want "ship by total order amount", but you want to exempt certain items from shipping charges. Is this correct?
|
Thu May 27, 04 5:58 am |
|
 |
dmthom
Newbie
Joined: 24 Feb 2004
Posts: 7
|
that is exactly correct, sorry for the confusion.
David
|
Thu May 27, 04 7:42 pm |
|
 |
milehightrader
Guest
|
Advanced shipping logic (and other advanced topics) is generally handled in the Pro Forum. Here is a re-post of some information on custom shipping logic Mister Ed posted at one time that may help you write your shipping logic.
Quote:here's the logic fer this one. It's fairly simple actually. So no
need
to charge you for this one or quote out a price. I'll have more and
more examples at agoracart.com as time passes:
needed:
Order Total Shipping
$1 - $50.00 $8.95
$50.00 - $399.00 15.04%
@sc_shipping_logic = ( "|1-50.00|||8.95",
"|50.01-399.99|||15.04%");
$shipping_price = &calculate_shipping($temp_adj_total,
$total_quantity, $total_measured_quantity);
You need to define the cents just in case you have an order that is
exactly 50.00 so your cart doesn't get confuzzeled on this
particular
situation.
------------------------------------
Here's some handy tips
For custom shipping logic, you can use any method you desire, the sky
is the limit, as long as you are happy writing perl code ;) However,
there are some shortcuts that are built-in for your use.
The "sample" custom logic looks like this:
--------------------------------- -----------------------------
# 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-29.99|||10.0%",
"|30-59.99|||7.5%",
"|60-89.99|||5.0%",
"|90-119.99|||2.5%",
"|120-|||0.00");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
--------------------------------------------------------------
One thing that is not there is the variable that describes the
shipping
option. Say we define the form field that sets the shipping option:
@sc_order_form_shipping_related_fields = ("Ecom_ShipTo_Method");
Then, say your methods are "SLOW", "FAST", "OVERNIGHT", then you
could
use custom logic to set the price:
@sc_shipping_logic = ("SLOW|1-|||15%",
"FAST|1-|||18%",
"OVERNIGHT|1-|||35%");
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
Another thing you could do is set the sc_shipping_logic array to
respond to a different shipping field that you create, and to fixed
fees you set for the zone. Then add the value of the varible
$shipping_total (the sum of the "database" values multiplied by
quantities) to whatever you calc with your field and your logic
array:
@sc_order_form_shipping_related_fields = ("Ecom_My_Zone_Field_Here");
@sc_shipping_logic = ("USA|1-|||0.00",
"CANADA|1-|||3.00",
"EUROPE|1-|||8.00");
$shipping_price = $shipping_total + &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
$shipping_logic_done = "yes"; #forced exit
FYI, the logic array has five parts:
shipping related field value|subtotal price|quantity|measured value
(not
used generally)|amount to charge
The subtotal and quantity fields can be ranges, like 1-10, and 10 to
infinity would simply be 10- without an upper bounds. One or the
other
of these is left blank.
The amount to charge can be a percentage or a numeric amount.
I'll post this on the agoracart.com site later :)
Hope that helps
|
Fri May 28, 04 6:08 am |
|
 |
jneidigh
Newbie
Joined: 10 Mar 2004
Posts: 5
|
 wow i gotta learn how to compose questions!
milehightrader i am so impressed with this string, very helpful for my previous post from last night ("shipping by quantity twist") which generated no views or replies. guess i better learn how to phrase my questions!! haha.
treeguy
|
Fri May 28, 04 6:48 am |
|
 |
milehightrader
Guest
|
As for activity in one string versus another, if there is already a working string on a topic, or if the topic has already been addressed many times, there may not be much response to new strings.
|
Mon May 31, 04 8:09 am |
|
 |
jneidigh
Newbie
Joined: 10 Mar 2004
Posts: 5
|
Okay, but I haven't found my question addressed anywhere. I seached and searched the archives but all I find is stuff about "go to shipping logic and write some code" postings. Perhaps, you could direct me to where some code is already posted that can be tweaked? Again, what I need to do is be able to add a shipping premium charge ($6 per box for EVERY 5 items ordered) for ONLY certain items (i.e., which are over a certain size) AND be able to turn this AND all shipping charged off IF the customer chooses to pick up the order. I've already figured out how to turn the shipping charges on and off thing but not the shipping premium thing. But primarily orders are shipped UPS so that option still needs to be there. Does anyone have any ideas, or has anyone ever done this before??
|
Mon May 31, 04 10:19 am |
|
 |
milehightrader
Guest
|
Part of the problem is you keep changing the rules of the game. You started with wanting percentage of order, then you added zero shipping for some items, and now to wanting shipping based on quantity of certain items thrown into the equation. At this point you have some involved advanced level shipping logic, which is beyond the scope of the free forum. At minimum you will need the Pro Forum, and possibly to pay Mister Ed, or one of the other experts, to set up the shipping logic.
|
Tue Jun 01, 04 6:05 am |
|
 |
|
The time now is Fri May 02, 25 7:20 am | All times are GMT - 7 Hours
|
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
|
|
|