Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2010
    Posts
    9
    Plugin Contributions
    0

    red flag Gift Cert purchase over free-shipping level triggers free shipping for other products

    When testing my soon to be completed ZC shopping cart (using Simply Kerrin template, version 1.3.8 of ZC), this problem arises: If I do a mock transaction of a gift certificate of $50 or more, along with some physical/shippable product, the customer will receive free shipping on the physical product. Free shipping is set to go in effect when the purchase total hits $50. Since this might result in free shipping again, when the same gift certificate is used/redeemed, I want to make it to where the free shipping is available only for purchases of physical/shippable products of $50 or more. (I do not charge for shipping of gift certificates, as they are virtual). PLEASE ADVISE ON A REMEDY.
    Tony A.
    http://braceletstar.com/
    NEWBIE ZENNER

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Gift Certificate purchase triggers free shipping for other products

    You would need to customize the Shipping ot_shipping Order Total module to not take into account the amount of the Order that is Gift Certificates ...

    If you look at the Low Order Free ot_loworderfee you can see how to calculate the Gift Certificate amount of the order to work it into the calculation for the Free Shipping in the Shipping ot_shipping module ...

    NOTE: you do need to check all of the code for where the:
    MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

    is used to include this adjustment as well ...

    Using the Tools ... Developers Tool Kit ... and entering in the bottom input box:
    MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

    you can find where you need to address this in the code ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Gift Certificate purchase triggers free shipping for other products

    Hi. Is it possible for you to list the steps by sequence. Also, could you please note which control/admin panel to be used for each step (ZC vs GoDaddy... my host). Thanks.
    Tony A.
    http://braceletstar.com/
    NEWBIE ZENNER

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Gift Certificate purchase triggers free shipping for other products

    I would have to sit down and actually write all of the code for this customization ...

    You might try a search for:
    MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

    on the forum and see if anything has been written for this before ...

    I may have broken it all down some time ago ... but I cannot recall ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Gift Certificate purchase triggers free shipping for other products

    In your opinion, is it more common than not for estores to allow gift certificate purchases to activate free shipping for other/physical products? If so, I will probably just do that. I am not a coder (html, xhtml, mysql, php, etc.). By the way, which of these coding languages would be useful to know for this? Thanks.
    Tony A.
    http://braceletstar.com/
    NEWBIE ZENNER

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Gift Certificate purchase triggers free shipping for other products

    php is what you need to customize ...

    You have a setting for the:
    MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

    and you do not want this to happen on orders that contain a Gift Certificate to give the Free Shipping because it takes the Order over the amount set by the:
    MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

    so, you need to customize all of the code where the constant:
    MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

    is used and take out the amount of the Gift Certificate from this amount so that it is not triggered ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v154 Free shipping item triggers all else in cart to be free shipping
    By avansant in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 25 May 2016, 04:20 PM
  2. Free shipping for orders over $100 BUT if weighs more than 25 pounds, charge shipping
    By WWRepair in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 30 Aug 2012, 11:38 PM
  3. How to hide all other shipping options when an order is eligible for free shipping?
    By shirster in forum Built-in Shipping and Payment Modules
    Replies: 16
    Last Post: 3 Feb 2010, 05:41 AM
  4. Free shipping for orders over $XX
    By earmsby in forum General Questions
    Replies: 5
    Last Post: 5 Dec 2008, 09:41 PM
  5. Free Shipping over $30, but other shipping options
    By kbalona in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 26 Mar 2008, 03:27 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR