Page 6 of 6 FirstFirst ... 456
Results 51 to 54 of 54
  1. #51
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Rush/Priority Handling Charge

    Quote Originally Posted by mlankeit View Post
    First, some clarification... The Priority Handling module works by adding a new class to Zen Cart, called "ot_priority_handling", which encapsulates the processing or code portion that makes the module work. But the class itself does not store anything. The handling the handling charge itself and any preferences are stored in the ZenCart configuration table in MySQL. During a live cart session, whether the user selects this option or not is stored in the $_SESSION variable. Outside of this, the class then uses $_SESSION to see whether to do any processing; if so, then it uses the stored preferences to come up with a value to charge, does the tax calculation appropriately, and finally whatever else so everything shows up correctly in the final order total.

    I supposed you could modify the built-in shipping module to accomplish something similar. I'm not sure why this would be preferable. If you want to add a flat-rate shipping charge base, just define your shipping preferences this way. The additional charge would be there, but it would be hidden. If you want to call out the charge specifically and give the user the option to add it or not, then you can use something like Priority Handling, and maybe just modify the language file so the text description is what you want. Therefore, I do not see any semantic reason for modifying the built-in shipping module code, but maybe I don't understand your specific application.

    Another thing to consider is that modifying the built-in shipping module changes a component of the base distribution. The main idea with the Priority Handling module is to make the functionality an add-on that does not alter the distribution code base. Therefore, any Zen Cart update would be much easier for you using this module versus you trying to re-apply whatever code changes you did before on the base distribution.

    Hope this helps. Good Luck!

    -ml
    Thanks!

  2. #52
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,402
    Plugin Contributions
    87

    Default Re: Rush/Priority Handling Charge

    As identified by this post in the One-Page Checkout's support thread, there's an interoperability issue between the Priority Handling total and OPC. I've created a GitHub repository for the order-total and have provided (so far) this beta version: https://github.com/lat9/priority_han...g/v1.3.0-beta2

    Once validated, I'll be submitting v1.3.0 of Priority Handling to the Zen Cart plugins for review.

  3. #53
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,402
    Plugin Contributions
    87

    Default Re: Rush/Priority Handling Charge

    Quote Originally Posted by lat9 View Post
    As identified by this post in the One-Page Checkout's support thread, there's an interoperability issue between the Priority Handling total and OPC. I've created a GitHub repository for the order-total and have provided (so far) this beta version: https://github.com/lat9/priority_han...g/v1.3.0-beta2

    Once validated, I'll be submitting v1.3.0 of Priority Handling to the Zen Cart plugins for review.
    I've just submitted to the plugins for review. For those wanting a preview, you can download from the plugin's GitHub repository: https://github.com/lat9/priority_han...ses/tag/v1.3.0

  4. #54
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,402
    Plugin Contributions
    87

    Default Re: Rush/Priority Handling Charge

    Quote Originally Posted by lat9 View Post
    I've just submitted to the plugins for review. For those wanting a preview, you can download from the plugin's GitHub repository: https://github.com/lat9/priority_han...ses/tag/v1.3.0
    It's now available for download from the Zen Cart plugins: https://www.zen-cart.com/downloads.php?do=file&id=236

 

 
Page 6 of 6 FirstFirst ... 456

Similar Threads

  1. v151 Priority Handling Search
    By riomaha in forum Managing Customers and Orders
    Replies: 1
    Last Post: 14 Dec 2013, 10:03 AM
  2. Handling Fee for Armed Forces USPS Priority
    By mafiasam in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 7 Dec 2010, 02:13 AM
  3. Handling charge
    By bastroupe in forum General Questions
    Replies: 1
    Last Post: 16 Feb 2010, 11:49 AM
  4. Rush Priority Handling Tax Calculation Issue
    By catteridge in forum Managing Customers and Orders
    Replies: 0
    Last Post: 9 Dec 2009, 09:00 PM
  5. Disable Priority Handling addon Module?
    By stride-r in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Apr 2009, 03:59 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