Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    Ok then, I can make them super small size if there's a way to get rid of the "larger image" picture in the product description.


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

    Default Re: Is my site slow because I'm using redone classic template?

    If you truly want to not see that image on the product page, then you can edit the template to remove it:
    /includes/templates/YOURTEMPLATE/templates/tpl_product_info_display.php
    approx line 52 contains:
    Code:
       require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
    Simply put two slashes in front of it, like this:
    Code:
    //  require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
    That will cause it to skip displaying the image.


    If you would rather that the image was displayed elsewhere on the page, you could move the section of code elsewhere within the file:
    Code:
    <!--bof Main Product Image -->
    <?php
      if (zen_not_null($products_image)) {
      ?>
    <?php
    /**
     * display the main product image
     */
       require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
    <?php
      }
    ?>
    <!--eof Main Product Image-->

    If you simply wanted the image to display smaller, you could change the size of the "medium" image in Admin->Configuration->Images
    .

    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.

  3. #3
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    ok, i've made all the images on the front page 2k or less except for the header which is 16k. Load time is still slow. Is there any other suggestions floating around that I can try out?

    DrByte, I'm unsure what the parse times show, could you let me know if it shows something that I can do to help the site?

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

    Default Re: Is my site slow because I'm using redone classic template?

    I just tried it fresh:
    Parse Time: 5.151 - Number of Queries: 211 - Query Time: 2.5286067775116
    .

    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.

  5. #5
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    Are those numbers good or bad?

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

    Default Re: Is my site slow because I'm using redone classic template?

    They're not great, but not overly bad either. The parse time is not ideal, and suggests a slow or poorly-tuned server (as far as running a database-intensive application for eCommerce, such as Zen Cart)
    .

    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.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Is my site slow because I'm using redone classic template?

    Based on the number of products on your site and the speeds, I'd say that your MySQL is not configured ideally ...

    Either you are on an overloaded server or your hosting site has not configued MySQL to run properly with memory or cache ...

    To test what is slowing down your site ... turn off the Google sidebox and navigate through your site ...

    Does this change the load times?

    Next, turn off the Google analytic ...

    Does this change the load times?

    If turning off Google does not significantly speed up your site ... then you need to speak to your hosting site about the load on the server you are on and whether or not they are optimally configured for MySQL ...

    I have a 700,000 product test site that runs faster ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jul 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    Edit: Nvm
    Does your site view properly in Opera? Why not?

  9. #9
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    Ajeh, what hosting company are you with? I still have time to get a refund on dreamhost and change to a differant company

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Is my site slow because I'm using redone classic template?

    To avoid favortisim ... I will drop you a PM ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. developer changed classic template instead of using override system
    By iddy in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 10 Mar 2010, 02:09 PM
  2. Define Pages using classic template and overide system
    By FishySteve in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Jun 2007, 03:23 PM
  3. using classic template - adding a jpg file
    By ewalker3 in forum General Questions
    Replies: 2
    Last Post: 23 Nov 2006, 12:16 AM
  4. Adjusting shop width using Classic Template
    By chief_wiggum in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Jul 2006, 11:42 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