Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: One-Page Checkout [Support Thread]

    Issue #2 turned out to be what broke OPC. If you want to use yourstore + OPC be prepared for mucho CSS hacking, but beyond that, the key fix I added is in includes/classes/order_total.php.

    Code:
    --- a/includes/classes/order_total.php
    +++ b/includes/classes/order_total.php
    @@ -96,7 +96,12 @@ class order_total extends base {
               }
             } else {
               // use a template file for output instead of hard-coded HTML
    -          require($template->get_template_dir('tpl_modules_order_totals.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_order_totals.php');
    +          global $template_dir;
    +          if ($template_dir == "yourstore" && defined('CHECKOUT_ONE_ENABLED') && (CHECKOUT_ONE_ENABLED == 'true')) {
    +            require(DIR_WS_INCLUDES . '/templates/template_default/templates/tpl_modules_order_totals.php');
    +          } else {
    +             require($template->get_template_dir('tpl_modules_order_totals.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_order_totals.php');^M
    +          }
             }
           }
         }
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    I recently loaded this plugin to a brand new site that I am working on.
    I am using the latest version of zen cart 156c
    I am getting the following error when opening my admin panel

    The One-Page Checkout plugin has been disabled. The file "/home/xxxxxx/public_html/xxxx/includes/templates/westminster_new/jscript/jscript_framework.php" is required for the plugin's proper operation.

    I admit I am not great at adding plugins so I have no idea what this error means. I did find in the plugin that there in the docs folder there seems to be some jscript files.
    Do I need to load these and if so where?

    Thanks in advance for any help.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    You'll need to copy the file /includes/templates/responsive_classic/jscript/jscript_framework.php to /includes/templates/westminster_new/jscript/jscript_framework.php.

  4. #4
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    You'll need to copy the file /includes/templates/responsive_classic/jscript/jscript_framework.php to /includes/templates/westminster_new/jscript/jscript_framework.php.
    Very much appreciated.
    With my knowledge in this stuff I know I would have not figured that one out. Thanks for the education.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: One-Page Checkout [Support Thread]

    OPC 2.2.2, Zen Cart 1.5.6c.
    Entering a coupon code on the checkout_one screen causes the success message to be shown twice. See image.
    Seems to happen on all templates (here shown on responsive_classic).
    Attached Images Attached Images  
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by swguy View Post
    OPC 2.2.2, Zen Cart 1.5.6c.
    Entering a coupon code on the checkout_one screen causes the success message to be shown twice. See image.
    Seems to happen on all templates (here shown on responsive_classic).
    Yep, I've noticed that too. I'll see what I can do to correct in the forthcoming v2.3.0 release.

    GitHub tracking issue: https://github.com/lat9/one_page_checkout/issues/231
    Last edited by lat9; 15 Feb 2020 at 08:47 PM.

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: One-Page Checkout [Support Thread]

    Also related to yourstore template: when a customer checks out with PayPal Express checkout from the shopping cart page, after they fill out PayPal details, they get sent back to standard checkout. Is this something that can be fixed to use OPC or no?
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

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

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