Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Location
    Scotland
    Posts
    76
    Plugin Contributions
    0

    help question Drop down box for postage options

    Hello,

    I am in UK and want to offer postage options in a drop down box for certain postcodes. For example: standard delivery: £9.50, before 9.00 am £16.00, before noon: £13.00.

    Can anyone tell me how to do this please?

    Best wishes

    Tog Porter

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Drop down box for postage options

    So my stab in the dark take on this is that you would first need to have each of the shipping modules developed to offer the time option that you want and to calculate out the shipping for that delivery time, then I'm thinking on the template for displaying the delivery options/methods, to create a dropdown box instead of radio buttons. I haven't looked at how it all fits together to say that it would be "this easy", but seems like it is the approximate way that it does/would work.

    It would be a little limiting though I think, but it may be what your store needs. The limiting part is that without extra effort, then every shipping option would fall into this dropdown list and it may not make sense.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Dec 2009
    Location
    Scotland
    Posts
    76
    Plugin Contributions
    0

    Default Re: Drop down box for postage options

    Hello,

    Many thanks for your reply. I am happy to have radio buttons instead of a drop down box. Can you tell me which page needs code altering in order to get that to work. I need to enter some code that creates additional radio buttons if the postcode matches a criteria. For example: if postcode contains PH26 then display radio button standard £9.95, radio button before 9.00 am £16.00, and radio button before noon £13.00, and if postcode contains FK1 then display radio button standard £9.95.

    All of my shipping costs are flat rate.

    Best wishes

    Tog Porter

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Drop down box for postage options

    Quote Originally Posted by Togfather View Post
    Hello,

    Many thanks for your reply. I am happy to have radio buttons instead of a drop down box. Can you tell me which page needs code altering in order to get that to work. I need to enter some code that creates additional radio buttons if the postcode matches a criteria. For example: if postcode contains PH26 then display radio button standard £9.95, radio button before 9.00 am £16.00, and radio button before noon £13.00, and if postcode contains FK1 then display radio button standard £9.95.

    All of my shipping costs are flat rate.

    Best wishes

    Tog Porter
    Forgive me for not being very familiar with the specifics of postcodes in your area, but when you say if the postcode contains FK1, that is what you meant such that all of the following postcodes (while fictitious in my creation) would be subject to the same shipping rate(s): 23FK1, 56FK1, FK136, etc. because they all contain FK1.

    So here is where my experience with ZC is light, but I understand the concept and that there are enough examples on this website to push through the problem. Unless there is a cleaner way, because all shipments are through the flat rate module, there are a couple of ways I think it can be done and it somewhat depends on if it is for you as a store modifier or for someone else that mostly uses it but doesn't understand modifications.

    The options I see are, copy the flatrate.php file enough times to address the different shipping characteristics, such as there is a general flat-rate, there is a flatrate for two postcodes, then there is a flatrate for each of two times, so that could be four files. Alternatively, in the one flatrate.php file, all of the rules could be incorporated so that there is one file and the rates are changed based onn what is included in the postcode. Ideally all of that inforation would be captured in the admin panel, but one may need to just modify the flatrate.php file in the future.

    The file(s) in question are located in store/includes/modules/shipping.

    At the moment I'm on a cell phone and it is not easy to find additional information to help out. But from what it appears the desire is to modify the rate based on where it is being shipped and offer some additional flatrate options based on the destination.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Dec 2009
    Location
    Scotland
    Posts
    76
    Plugin Contributions
    0

    Default Re: Drop down box for postage options

    Thank you.

    I have now added more flat rate modules, which give me the choices I want the buyer to have, but each one is displayed in a separate box. How can I get all of the choices to appear as different radio buttons inside one flat rate box?

    Many thanks

    Tog

 

 

Similar Threads

  1. v151 Drop down box for shipping??
    By nicksab in forum General Questions
    Replies: 7
    Last Post: 23 Feb 2014, 03:45 AM
  2. drop down options for products in the listing?
    By bfishing in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 5 Feb 2013, 08:16 PM
  3. Help w/ drop down box for options...
    By keekeedeke in forum Customization from the Admin
    Replies: 1
    Last Post: 8 Nov 2010, 11:42 AM
  4. Restricting customer input to drop down options for State
    By keyclearste in forum General Questions
    Replies: 13
    Last Post: 27 Sep 2010, 06:08 PM
  5. Drop down menu options for products?
    By mreateg in forum General Questions
    Replies: 1
    Last Post: 6 Jun 2008, 10:13 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