Results 1 to 10 of 2252

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Quote Originally Posted by robbie269 View Post
    I am using the Ozpost module to calculate my shipping. I would like to offer free standard shipping on all orders over a certain amount. And still have the option to choose Express Post if they are in a hurry.
    I can see how you can do free shipping in the Order Total section but this offers no other shipping options.
    Is this option possible?
    Worked it out by using the freeshipping options instead. Would really like to discount the Express Post option if they are entitled to free shipping though and not show the standard shipping option.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by robbie269 View Post
    Worked it out by using the freeshipping options instead.
    Glad you figured it out. Off the top of my head I didn't have a solution to your problem.

    Quote Originally Posted by robbie269 View Post
    Would really like to discount the Express Post option if they are entitled to free shipping though and not show the standard shipping option.
    This would only be possible by modifying the ozpost code. I don't think it'd be too difficult to do. The 'hard' part would be adding the checks needed to determine if a discounted rate is applicable for any given order. The ozpost code itself (V3.5.4+) already contains code that applies discount rates for the bulk purchase of prepaid satchels so this can be copied/modified so discounts can be applied to the various express post methods.

    Example:
    Code:
      if ((in_array("500g Express Satchel", $this->allowed_methods)) && ($quote->id == "PPSE5")) {
                            $handlingFee = MODULE_SHIPPING_OZPOST_PPSE_HANDLING;
                                if (defined('PPSE5_description')) $quote->description = PPSE5_description; 
                                if ( MODULE_SHIPPING_OZPOST_AP_DISCOUNT1E == '1') { 
                                        $quote->cost = (float)$quote->cost - ((float)$quote->cost * 0.05 ); } 
                                 elseif (MODULE_SHIPPING_OZPOST_AP_DISCOUNT1E == '2') {
                                      $quote->cost =  (float)$quote->cost - ((float)$quote->cost * 0.125) ;  }
                                elseif (ADD YOUR CHECK HERE) {
                                      $quote->cost =  (ADD YOUR REQUIRED COST OR FORMULA HERE)   ;  }
    This example is for the 500gm Express Satchels. It will need to be replicated/added for each of the other satchels and Express parcels.

    Unfortunately you will need to re-do this whenever the ozpost module is upgraded.

    Cheers
    RodG

  3. #3
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    I looked at some other websites that offer free postage beyond a certain amount and they don't seem to discount the Express Post. So maybe I won't bother either. I may just see how it goes for now.

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by robbie269 View Post
    I looked at some other websites that offer free postage beyond a certain amount and they don't seem to discount the Express Post. So maybe I won't bother either. I may just see how it goes for now.
    Perhaps they don't offer it because they don't have the same kind of support that will allow them to do it.

    Little things like this could give you the edge over your competitors.

    Just saying.

    Cheers
    RodG

  5. #5
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Quote Originally Posted by RodG View Post
    elseif (ADD YOUR CHECK HERE) {$quote->cost = (ADD YOUR REQUIRED COST OR FORMULA HERE) ; }
    The Check would be that Free Postage has been activated. The formula would be Express Postage minus Standard Postage but I am not sure what terms I need to use. Total novice at PHP.

  6. #6
    Join Date
    Mar 2014
    Location
    Melbourne Australia
    Posts
    7
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Hi ROBG

    I am using the latest ZEN Cart Version and have had your Ozpost Module installed when i go to the product and enter the dimensions and weights that's fine then go to and preview update i went back in to the product to find the measurements are blank i entered L 8.50 W 5.50 H 3.50 and when i returned they all read 0.00 could please give me some idea as to the cause please
    Thanks John

  7. #7
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by Catching Angels View Post
    I am using the latest ZEN Cart Version and have had your Ozpost Module installed when i go to the product and enter the dimensions and weights that's fine then go to and preview update i went back in to the product to find the measurements are blank i entered L 8.50 W 5.50 H 3.50 and when i returned they all read 0.00 could please give me some idea as to the cause please
    Thanks John
    This sounds like the file /youradmin/includes/modules/update_product.php either didn't get modified during the install/update, or perhaps it was modified or replaced by another add-on that you've installed?

    The 1st thing to do is navigate you way to the shipping module settings, click the button to uninstall ozpost, then click again to re-install. Most (if not all) of your current settings will be retained during this process.

    The ozpost installation code will attempt to (re)modify the files it needs to function and all should be good. It will generate warnings about any files can't be updated (which would typically be caused if the file or folder permissions are too restrictive).

    Please let me know if you still have the problem after doing this because if it is caused from changes made to the file(s) by another module it may require a manual approach to merge the changes. We'll cross that bridge if we come to it.

    Cheers
    RodG

  8. #8
    Join Date
    Mar 2014
    Location
    Melbourne Australia
    Posts
    7
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Hi Rodg
    Thank you for your reply
    I did as you suggested uninstalled and reinstalled and i still have the same problem it will not hold the dimensions
    thanks john

  9. #9
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by Catching Angels View Post
    Hi Rodg
    Thank you for your reply
    I did as you suggested uninstalled and reinstalled and i still have the same problem it will not hold the dimensions
    thanks john
    Question time. :)

    1) Please confirm that the uninstall/reinstall that you did was via the store configuration and NOT by removing/replacing the ozpost files.
    2) What versions of ZenCart and Ozpost are you using?
    3) With the ozpost module *installed* does the file /YOURADMIN/includes/modules/update_product.php_ozpRestore exist?
    4) If this file DOES exist, is it the same size, larger, or smaller than /YOURADMIN/includes/modules/update_product.php?
    5) With the ozpost module *uninstalled* (via admin) does the date/timestamp of /YOURADMIN/includes/modules/update_product.php match the date/timestamp of most (if not all) of the other files in the folder?

    This info should be enough to allow me to determine the best way for you to proceed.

    Cheers
    RodG

  10. #10
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by robbie269 View Post
    The Check would be that Free Postage has been activated.
    I'm afraid I can't offer much advice here. It isn't something I've needed to do before. I have no idea how easy/hard it is for one shipping module to determine what another shipping module is doing.

    Quote Originally Posted by robbie269 View Post
    The formula would be Express Postage minus Standard Postage but I am not sure what terms I need to use.
    This should be quite easy. The ozpost servers return quotes in the order lowest to highest, which means it will be possible to save the Standard postage cost into a variable and then subtract this value from the Express postage cost for the adjustment.

    IOW, the second part of the calculation will read something like
    $quote->cost = ( $quote->cost - $STDcostVariable. ) ;

    Quote Originally Posted by robbie269 View Post
    Total novice at PHP
    I wish I could help more, but at the moment I'm flat out updating the client modules for the other shopping carts that ozpost supports so my mindset is in a completely different place.

    It's quite possible that someone like Ajeh (who has more experience with the other shipping modules than I) could provide advice as to the easiest way for ozpost to detect if the Free Postage is applicable or not.

    Cheers
    RodG

 

 

Similar Threads

  1. v151 Product dimensions revert to 0 - using ozpost module
    By mpforum in forum General Questions
    Replies: 8
    Last Post: 18 Apr 2014, 09:49 AM
  2. Ozpost and module help
    By janelle in forum Addon Shipping Modules
    Replies: 2
    Last Post: 15 Jun 2012, 09:19 AM
  3. Ozpost Combine shipping !! Possible ?
    By toytemple in forum Addon Shipping Modules
    Replies: 7
    Last Post: 21 Jan 2010, 02:22 PM
  4. ozpost module problems
    By hspark in forum Addon Shipping Modules
    Replies: 19
    Last Post: 7 Dec 2009, 12:44 PM
  5. store pick-ip in ozpost shipping module
    By lazerweb in forum Addon Shipping Modules
    Replies: 2
    Last Post: 29 Jul 2008, 05:04 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