Page 173 of 280 FirstFirst ... 73123163171172173174175183223273 ... LastLast
Results 1,721 to 1,730 of 2795
  1. #1721
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Somehow, part of OPC's installation didn't run. You need to run the database uninstall.sql provided in the plugin's /docs sub-directory. Then those missing database elements will be re-added on an admin-page refresh.

    YOU DA BOSS, Girl!!!!!! That worked!!! Thank you SO MUCH for sticking with me until this was resolved!

  2. #1722
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by stellarweb View Post
    YOU DA BOSS, Girl!!!!!! That worked!!! Thank you SO MUCH for sticking with me until this was resolved!
    No problems, happy to have helped. The real question, though, is why that database installation didn't "take" initially.

    Update: Remember, too, to change that OPC totals' selector in the admin configuration.

  3. #1723
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    No problems, happy to have helped. The real question, though, is why that database installation didn't "take" initially.

    Update: Remember, too, to change that OPC totals' selector in the admin configuration.
    I don't know - I installed it correctly, so don't know why the orders page and the checkout was affected.

    What do you mean about changing the OPC total's selector? Right now it says #ottotal > div:first-child

  4. #1724
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by stellarweb View Post
    I don't know - I installed it correctly, so don't know why the orders page and the checkout was affected.

    What do you mean about changing the OPC total's selector? Right now it says #ottotal > div:first-child
    I thought that your site's Bootstrap template's tpl_modules_order_total.php had been updated to use #OPC as the selector for the order's total. Check the code before making changes.

  5. #1725
    Join Date
    Nov 2005
    Location
    France
    Posts
    577
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    I've discovered that this module doesn't work when EC Analytics is installed (https://www.zen-cart.com/downloads.php?do=file&id=1997)
    I am just presented with the regular multiple page checkout.
    Is this something you're aware of, and is there a solution other than switching to a different analytics module?

  6. #1726
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    I've discovered that this module doesn't work when EC Analytics is installed (https://www.zen-cart.com/downloads.php?do=file&id=1997)
    I am just presented with the regular multiple page checkout.
    Is this something you're aware of, and is there a solution other than switching to a different analytics module?
    I've not seen that before. Are there console logs generated? Debug-logs?

  7. #1727
    Join Date
    Nov 2005
    Location
    France
    Posts
    577
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I've not seen that before. Are there console logs generated? Debug-logs?
    No debug logs, or console logs.

    EC Analytics is as per zc download apart from the following change after adding an admin configuration page for setting the GA number and a switch to enable/disable the module.

    In includes/templates/YOUR_TEMPLATE/jscript/jscript_ec_analytics.php i replaced

    if ((!defined('GOOGLE_UA') || GOOGLE_UA === "UA-XXXXXXXX-X")) {
    echo '<script>alert("The Google Analytics trackingID is not yet defined in\n /includes/extra_datafiles/ec_analytics.php")</script>' ;

    } else { $trackingID = GOOGLE_UA ; }
    ?>

    with

    if (GOOGLE_ANALYTICS_ENABLE == 'true'){
    if ((!defined('GOOGLE_UA') || GOOGLE_UA === "UA-XXXXXXXX-X")) {
    echo '<script>alert("The Google Analytics trackingID is not yet defined in Admin > Configuration > EC Analytics Configuration")</script>' ;
    } else { $trackingID = GOOGLE_UA ; }
    ?>

    so that the warning message wasn't displayed if the module wasn't active.

    Site is ZC 1.5.7, latest version of OPC, and last available update of EC Analytics apart from the edit mentioned above.

  8. #1728
    Join Date
    Nov 2005
    Location
    France
    Posts
    577
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    I did some digging around here and it seems to be related to 'NOTIFY_HEADER_START_CHECKOUT_SHIPPING', on line 26 of includes/classes/observers/class.ec_analytics.php, meaning that commenting out that line allows OPC to load correctly upon checkout. Obviously this is going to have some negative impact on the functionality of EC Analytics though.
    I assume it's somehow messing with whatever part of your code calls checkout_one rather than checkout_shipping

    Does that help at all?
    Last edited by strelitzia; 26 Jul 2020 at 12:59 AM.

  9. #1729
    Join Date
    Nov 2005
    Location
    France
    Posts
    577
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    I just looked at the auto_loaders file for both OPC and ECA

    ECA is using $autoLoadConfig[90] whereas OPC is mainly using $autoLoadConfig[200]

    I took a wild guess that perhaps ECA being loaded earlier than OPC was causing an issue so as a test I changed ECA to $autoLoadConfig[200] as well.
    The issue went away, but not sure of the ramifications of changing the loading order like this.

    Is it likely to cause issues for ECA, or should I perhaps change OPC to load earlier?

    What do you advise Cindy?

  10. #1730
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    I just looked at the auto_loaders file for both OPC and ECA

    ECA is using $autoLoadConfig[90] whereas OPC is mainly using $autoLoadConfig[200]

    I took a wild guess that perhaps ECA being loaded earlier than OPC was causing an issue so as a test I changed ECA to $autoLoadConfig[200] as well.
    The issue went away, but not sure of the ramifications of changing the loading order like this.

    Is it likely to cause issues for ECA, or should I perhaps change OPC to load earlier?

    What do you advise Cindy?
    You didn't indicate in your original posting, @strelitzia, but are you, by chance running zc157?

    If that's the case, there's a bug in the zc157 core, identified by @mc12345678 (https://github.com/zencart/zencart/pull/3654), that prevents multiple observers from watching the same event.

 

 

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