Networking

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Chained Shipping Question

    0 answers - 2513 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi Everyone,
    In the quest to stop orders over 30.00 GBP from being placed without the
    appropriate shipping insurance, I've decided that I need to use a shipping
    method that first looks at the subtotal of a cart AND its weight before
    showing the options to the customer.
    I already have 2 shipping methods (STANDARD and NEXTDAY), both based on
    weight, and wondered what's the best way to extend them to include the
    subtotal in the calculation.
    The checkout page should offer the shipping methods as per the following
    simple pseudo code:
    If subtotal <= 30.00
    show/use uninsured shipping based on cart weight (STANDARD)
    show the insured shipping as an option as it doubles up as a next
    day delivery (NEXTDAY)
    If subtotal 30.00
    show/use insured shipping based on cart weight (NEXTDAY) only
    endif
    The shipmodes value for the country concerned in the ****RY table is
    currently "STANDARD NEXTDAY".
    I'm thinking I should alter that to "NEWMETHD NEXTDAY" and create a new
    "wrapper method" called NEWMETHD that checks the subtotal before chaining
    to the STANDARD method (if under 30 GBP) to get the final cost based on the
    cart's weight.
    I've had a good read of the online docs
    and
    where an example of chained shipping is given, but I'm still a bit confused
    about how to properly apply it to my circumstances. However, Mike does
    comment that it's a mostly undocumented feature :(
    I think I could just add the first 2 lines below to my shipping.asc and
    make the above country table change to make it all work?
    NEWMETHD Standard Shipping [subtotal
    noformat=1] 0 0 e Nothing in your cart to ship!
    NEWMETHD Standard Shipping [subtotal
    noformat=1] 1 30 m >>STANDARD
    STANDARD Standard Shipping weight 0 0 e Nothing
    in your cart to ship!
    STANDARD Standard Shipping weight 1 100 0.42
    STANDARD Standard Shipping weight 100 150 0.60
    <truncated list>
    STANDARD Standard Shipping weight 2000 9999999 e Your cart
    is too heavy!
    Does anyone see any potential problems doing this?
    Many thanks
    Mark
    Eros Shop
    vwe internet ltd
    P BX 1067
    SLUGH
    SL1 7YA
    UK
    Shop - http://www.eros-shop.co.uk
    EMail - info (AT) eros-shop (DOT) co.uk
    Tel - 0870 284 3369
    Fax - 0870 284 4469
    interchange-users mailing list
    interchange-users (AT) icdevgroup (DOT) org

Re: Chained Shipping Question


max 4000 letters.
Your nickname that display:
In order to stop the spam: 0 + 9 =
QUESTION ON "Networking"

EMSDN.COM