Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    15
    Plugin Contributions
    0

    help question Specialized shipping logic

    Trying to figure out if (and how) this can be done...

    I sell product and gift certificates. The GCs are printed in hardcopy (not via e-mail). I currently use Table Rates for shipping product and this is based on total price of the product purchased (ie: <$25 is $8.25, $25-$50 is $10.50, etc). However I need to have custom shipping pricing if there are GiftCerts in the cart order as follows:

    - If the only type of item is a Gift Cert (any Qty of them for any total value), I want to only charge $0.41 (which covers standard first class mail postage).

    - If there is actual product in the order in addition to Gift Certs, then the shipping rate is based on the product total cost (not including GC value) and uses Table Rate shipping only - does not add $0.41 (since the hardcopy GC will be included in the shipping package).

    Can this be done using the built-in admin tools, does it require a contributed add-on module, or must some .php file be hacked to do this?

    Thanks in advance!

  2. #2
    Join Date
    Apr 2006
    Posts
    265
    Plugin Contributions
    0

    Default Re: Specialized shipping logic

    I can't think of any contribs that would work for this off the top of my head, so I'm going to say this is going to require a little hacking...

    If you do not have any free shipping products, you could set all of the Gift Certificates to free shipping, then have a little php code that checks the shipping cost, and, if it's $0, change it to $0.41.

    This tutorial should get you started:
    http://www.zen-cart.com/wiki/index.p..._World_Example

    The example is for free shipping, but that page in general should give you what you need to get it done.

    BrandTim

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Specialized shipping logic

    If you are not using the Gift Certificate redemption and email system of Zen Cart, then change the model of the gift cert to something besides GIFT and then it will behave as a "normal" product.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. Help With Inputting Shipping Logic
    By lmw1 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 7 Jun 2009, 02:45 PM
  2. What file holds the shipping logic for Downloads
    By emaugust in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 25 May 2009, 06:26 PM
  3. Interesting shipping logic - FedEx + multiple recipients
    By corrado444 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Feb 2007, 11:44 PM
  4. Shipping Estimator logic / breadcrumb problem(s)
    By wasana in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 1 Jul 2006, 05:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg