Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Bug in Checkout Shipping's header_php.php

    Hi,

    Time to put my tail between my legs here....

    I missed the fact that the shipping class' "quote" method only retrieves the quote for the currently selected module at the submission of the checkout_shipping stage, and that at this point it passes the name of the method the chosen shipping module should return a single quote for.

    I was mistakenly returning all the quotes for the method and then using the user's selection on submission of the checkout_shipping page to extract the selected quote only.

    I should have looked into how things worked a little closer, I got blinkered by the fact that I don't tend to have methods return multiple arrays in one place and single values in another... it's not the worst thing in the world but, obviously, not intuitive for outside developers.

    As I said at the start though, my tail is between my legs, your code works just fine and I'll update the new Region Tables module to operate in the same way.

    This bug can be disregarded now. :)

    All the best...

    Conor

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Bug in Checkout Shipping's header_php.php

    No sweat ... just wanted to be sure we were both looking at the right thing ;)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 5 Feb 2014, 04:45 PM
  2. Replies: 3
    Last Post: 10 Apr 2013, 03:46 PM
  3. productArray - not in header_php.php?
    By mdewyer in forum General Questions
    Replies: 0
    Last Post: 8 Jul 2008, 02:53 AM
  4. Replies: 4
    Last Post: 7 Apr 2008, 03:52 PM
  5. Replies: 2
    Last Post: 5 Dec 2007, 04:28 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