Page 269 of 284 FirstFirst ... 169219259267268269270271279 ... LastLast
Results 2,681 to 2,690 of 2840
  1. #2681
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,629
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    I'll note that this is a 'base' Zen Cart issue, not specific to OPC. I've opened the issue on the Zen Cart GitHub repository: https://github.com/zencart/zencart/issues/6023

  2. #2682
    Join Date
    Jun 2014
    Posts
    145
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I'll note that this is a 'base' Zen Cart issue, not specific to OPC. I've opened the issue on the Zen Cart GitHub repository: https://github.com/zencart/zencart/issues/6023
    @lat9

    Thank you!

    jpda

  3. #2683
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,629
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jpda View Post
    Hello Cindy,

    I should have sent you this before my previous post on october, 25th.

    I had changed shipping.php, but the only available shipping method storepickup was not selected as cheapest.
    IMHO because storepickup has an option to register more than one pickup point with different prices.

    Did some testing described in my post https://www.zen-cart.com/showthread....04#post1397504

    Thanks,

    @jpda
    Please note that DrByte has provided a correction on the Zen Cart GitHub (https://github.com/zencart/zencart/p...b01164048b9c77).

    @jpda, could you confirm that those changes correct the issue that you identified?

  4. #2684
    Join Date
    Jun 2014
    Posts
    145
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Please note that DrByte has provided a correction on the Zen Cart GitHub (https://github.com/zencart/zencart/p...b01164048b9c77).

    @jpda, could you confirm that those changes correct the issue that you identified?
    @lat9
    Short answer: no, they didn't.

    Explanation:
    I am testing on:
    zc157d
    OPC 2.4.6 (OPC is essential))
    shipping method: storepickup with 5 locations, each with their own price.
    Problem was: shipping methods are shown but none selected -> payment choices are not shown.

    To test the github version of shipping.php, I only replaced its public function cheapest() in the v157d shipping.php.
    (The entire github version of shipping.php doesn't work in my v157d environment.)

    Tested, but no joy.
    Did some debugging:
    Changed line 272:
    Code:
     } elseif ($size === 1) {
    in:
    Code:
    } elseif (count($modules_with_quotes) === 1) {
    Reason:
    module storepickup with more than one location has a $size that equals the number of locations (5 in my example).
    Now it works.
    Even whith more shipping modules than only storepickup, it is still working.
    Tried with flat rate and table and storepickup together.
    The lowest price is selected by OPC, even if it is one of the storepickup locations. Payment choices are shown.

    Tested without OPC enabled. Three or four page checkout, no cheapest selected, user needs to select shipping to continue to next screen.

    Would this be a solution?

    Thanks,

    jpda

  5. #2685
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,629
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    @jpda, would you post your "Pickup Locations" setting for the storepickup module (or send to me via PM) so that I can (a) replicate the issue and (b) give your solution a try?

  6. #2686
    Join Date
    Jun 2014
    Posts
    145
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    @jpda, would you post your "Pickup Locations" setting for the storepickup module (or send to me via PM) so that I can (a) replicate the issue and (b) give your solution a try?
    @lat9
    Of course, copy this string in storepickup:
    Loc_A, 9.50;Loc_B, 2.50;Loc_C, 4.50;Loc_D, 7.50;Loc_E, 0.50
    and whatever you want for taxes.
    I have set CHECKOUT_ONE_ENABLE_SHIPPING_BILLING = true.

    Thanks,

    @jpda

  7. #2687
    Join Date
    Jun 2014
    Posts
    145
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    @lat9
    Forgot this:
    Shipping Cost
    0.00

    Tax Basis
    Shipping

  8. #2688
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,629
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Thanks for the info, @jpda. I'll look at that over the weekend.

  9. #2689
    Join Date
    Jun 2014
    Posts
    145
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Thanks for the info, @jpda. I'll look at that over the weekend.
    The change in shipping.php that I posted was:
    Code:
     } elseif (count($modules_with_quotes) === 1) {
    is not correct if storepickup is not the only method available because count($modules_with_quotes) > 1.

    I changed that line to: (rather weird...)
    Code:
       } elseif (true) {
    and then it works also when other shipping methods are available.
    The selected price is not always the cheapest.
    If I find a better solution, I will let you know.

    @jpda

  10. #2690
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,711
    Plugin Contributions
    11

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jpda View Post
    ...

    I changed that line to: (rather weird...)
    Code:
       } elseif (true) {
    ...
    code is never weird.... it is code... understanding it can be difficult.

    without getting into the logic in question here, the above line of code would be better suited as:

    Code:
       } else {
    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 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