Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,412
    Plugin Contributions
    94

    Default Re: Slow loading orders

    Quote Originally Posted by Nick1973 View Post
    Just done that, after no joy repairing the database and they load like lightning. I was just looking at it here when you replied Cindy https://docs.zen-cart.com/user/speed/admin_slow/
    Noting, too, that there's a change in the zc158 branch that enables these settings to be 'controlled' without core-file-carving:
    Code:
    // To override these values, create a file in admin/includes/extra_configures
    if (!isset($quick_view_popover_enabled)) $quick_view_popover_enabled = false;
    if (!isset($includeAttributesInProductDetailRows)) $includeAttributesInProductDetailRows = true;
    I'll suggest making the modifications to the zc157 version to include the above and then create /admin/includes/extra_configures/site_specific_overrides.php that contains
    Code:
    <?php
    $quick_view_popover_enabled = false;
    $includeAttributesInProductDetailRows = false;
    That'll save you a world-of-hurt when upgrading to zc158. As always, comment the heck out of the changes so that you (or your successor) have a clue as to what was done!

  2. #12
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,228
    Plugin Contributions
    6

    Default Re: Slow loading orders

    Quote Originally Posted by lat9 View Post
    zc157a introduced a popover functionality to the orders' listing to quickly view the products that are in a specific order. If the associated site has a bunch of attributed-products, that can significantly slow down the rendering of the orders' listing display.

    You can change the behavior by editing the core-file /admin/orders.php. Find (close to the top of the file):
    Code:
    $quick_view_popover_enabled = false;
    $includeAttributesInProductDetailRows = true;
    and change to
    Code:
    $quick_view_popover_enabled = false;
    $includeAttributesInProductDetailRows = false;
    It was actually this line in admin/orders.php

    PHP Code:
    $includeAttributesInProductDetailRows true
    Changed it to

    PHP Code:
    $includeAttributesInProductDetailRows false
    And the speed of the orders loading immediately increased.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  3. #13
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,228
    Plugin Contributions
    6

    Default Re: Slow loading orders

    Quote Originally Posted by lat9 View Post
    Noting, too, that there's a change in the zc158 branch that enables these settings to be 'controlled' without core-file-carving:
    Code:
    // To override these values, create a file in admin/includes/extra_configures
    if (!isset($quick_view_popover_enabled)) $quick_view_popover_enabled = false;
    if (!isset($includeAttributesInProductDetailRows)) $includeAttributesInProductDetailRows = true;
    I'll suggest making the modifications to the zc157 version to include the above and then create /admin/includes/extra_configures/site_specific_overrides.php that contains
    Code:
    <?php
    $quick_view_popover_enabled = false;
    $includeAttributesInProductDetailRows = false;
    That'll save you a world-of-hurt when upgrading to zc158. As always, comment the heck out of the changes so that you (or your successor) have a clue as to what was done!
    Oh and as always, Thank You Cindy :-)
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v156 slow loading
    By jimmie in forum General Questions
    Replies: 27
    Last Post: 27 May 2021, 03:08 PM
  2. v155 Slow loading website
    By KGL Racing in forum General Questions
    Replies: 5
    Last Post: 7 Dec 2018, 05:30 PM
  3. Site Loading Slow
    By rcj79 in forum General Questions
    Replies: 2
    Last Post: 14 Oct 2010, 04:02 AM
  4. Slow Loading
    By oewdirect in forum General Questions
    Replies: 2
    Last Post: 18 Jun 2009, 09:14 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