Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2010
    Posts
    5
    Plugin Contributions
    0

    Default Regarding shipping options

    I am working on an application in which I want to use Zen-cart shopping cart. But I am facing problems in setting different shipping options. Actually I have to set different shipping options in different conditions. Example: if a customer purchases goods worth 1000 or above, then there will be no shipping charges applied but only if total weight is less than 5kgs. Above 5kgs shipping charges are applied.
    Now if I want to put these conditions in the shopping cart, which file do I need to edit? Or if I want to set my own conditions, in which file can I write them?

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

    Default Re: Regarding shipping options

    IF you wanted to add this Free Shipping Option when Total >= 1000 and Weight <= 5 ... and have it show at the same time as the other shipping modules ... you could use the Free Shipping Options freeoptions and set the:
    Total >= 1000
    Weight <= 5

    Now this will show in addition to your other shipping modules ...

    Advantage: no coding changes

    IF you want that to be the ONLY shipping option showing, then you would need to do custom coding changes to the other shipping modules to disable them ...
    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!]
    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
    Apr 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Regarding shipping options

    Can I use 2-3 shipping options at the same time in accordance with my requirements and if to modify existing options which files do I edit?

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

    Default Re: Regarding shipping options

    You need to be more specific about what you are trying to do ...
    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!]
    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
    Apr 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Regarding shipping options

    1. If total amount for a transaction exceeds Rs.1000, then there will be no shipping charges. (For total weight upto 5Kgs. Above 5Kgs shipping charges will be applicable.)
    2. If total amount for consecutive 4 deliveries exceeds Rs.1500, then in that case for 4th delivery there will be no shipping charges. (Only if total weight for 4th transaction is upto 5 kg. If total weight is above 5Kgs, shipping charges are applicable.)

    Now I want to implement the above shipping options. How do I go about it?
    Can I use two or more shipping options at a time?

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

    Default Re: Regarding shipping options

    What do you mean when you say the 4th consecutive delivery?

    Do you mean based on the 4th order? Or are you referring to something else?

    On the Free Shipping Options freeoptions shipping module ... if you are wanting Total >= 1000 AND Weight <= 5 ... you will need to customize the code for:
    /includes/modules/shipping/freeoptions.php

    This IF statement right now is using the conditions based on OR
    Code:
    // final check for display of Free Options
          if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
    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!]
    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!

  7. #7
    Join Date
    Apr 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Regarding shipping options

    4th delivery means 4th consecutive order..
    If total amount for any 4 consecutive deliveries is more than 1000, then there will be no shipping charges applied for 4th order.. But only upto 5 kgs..

  8. #8
    Join Date
    Apr 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Regarding shipping options

    4th delivery means 4th consecutive order..
    If total amount for any 4 consecutive deliveries is more than 1000, then there will be no shipping charges applied for 4th order.. But 4th order should be upto 5 kgs..

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

    Default Re: Regarding shipping options

    You would need to write a custom shipping module to check the last 4 orders of a customer to determine that:

    1 there have been 4 orders

    2 that 1 is over 1000 (are you saying all 4 or 1 of the last 4 is over 1000)

    3 that the weight is less than 5

    Something also to consider is are you only giving Free Shipping when this is true or is Free Shipping an Option when this is true ...
    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!]
    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. v139h Virtual product setup question regarding shipping
    By jgold723 in forum General Questions
    Replies: 3
    Last Post: 5 Apr 2013, 07:28 PM
  2. Newbie Question regarding Shipping options
    By bugster in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Aug 2009, 07:37 PM
  3. Question regarding shipping setup to multiple countries
    By ashley_t_howes in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 24 Feb 2007, 10:45 AM
  4. Help Desperately Needed regarding shipping from Japan
    By tomato in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 12 Dec 2006, 06:05 AM

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