Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default how can i accomplish this with attributes?

    Hi.

    Right now our site is very sluggish due to multiple attributes per product. We are also using the attributes to product listing module found here in the forum (it allows us to display the attributes in the product listing).

    The issue we have is that for every product we have 6 attributes (each with the alphabet and 0-9 as choices). The attributes are the same, except we have them declared 6 times (to allow customer to choose 6 letters or initials in their order). Due to this, multiplied by 1000+ products, the site loads very slow, like 1+ minute to load a page.

    So my question is, can we create just one set of attributes and have it show up 6 times in each product? This way there is no strain in the database and teh system. If so, how do we accomplish this? I tried replicating the $options_menu[$i] variable found in attributes_listing.php. However, how do we get them to show up in the shopping cart and in the succeeding pages, like checkout etc. I'm not sure how the zencart engine works and not sure how to pass the variable to the different pages needed.

    Can anyone help? I;m sure there are others facing something similar of an issue.

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: how can i accomplish this with attributes

    You did not provide a link so that we could see what it is you are attempting

    BUT for text and pricing this can be done in this way seen HERE
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default Re: how can i accomplish this with attributes?

    one page is:

    http://www.thecustomchip.com/store/i...87_161_162_165

    loading a product details page loads fine. but since we are displaying the attributes in the product listing, it's getting very slow. now I have removed the other products and left 84 products, each with these 8 attributes (each attribute has 40+ choices). The page listing is still loading 15-20 seconds.

    Please check http://www.thecustomchip.com/store/i...87_161_162_165 you'll notice that the attributes are the same same per product (8 attributes of the same type and choices).

    We would like to make them just 1 attribute per product, but each attribute is loaded 8 times or 8 instances since they are one and the same throughout.

    That would surely boost the speed, but we're not sure how to accomplish it.

    thanks

  4. #4
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: how can i accomplish this with attributes?

    Its definitely very slow. For this page i got: Parse Time: 20.013 - Number of Queries: 5796 - Query Time: 15.644644821762

    For an easy fix, try the Query cache addon, this might help a lot to reduce the number of Queries.

    However, using text attributes with max of 3 characters may simplify the use of your website as well for customers.

  5. #5
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default Re: how can i accomplish this with attributes?

    we already have that module installed though.

    the textboxes pribably will be a last resort, but right now I think there should be a way to reuse just one attribute and it's choices and make multiple instances of it, since the 8 attributes we load per product are identical.

    any adive how we can accomplish this?

    Thanks!

  6. #6
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default Re: how can i accomplish this with attributes?

    bump anyone???

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: how can i accomplish this with attributes?

    I'm just thinking out loud here, but since it looks like displaying the attributes in the product listing is what's causing the slowdown, and since that hodgepodge of dropdowns and text boxes is, well, ugly, and at best, bewildering to your visitors (this one, anyway) maybe the best idea would be to remove attributes from the product listing and return to standard Zencart operation.

 

 

Similar Threads

  1. Can Zencart do this with attributes?
    By rxalex in forum General Questions
    Replies: 2
    Last Post: 13 May 2010, 04:18 PM
  2. How to accomplish this with attributes?
    By TamyA in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Mar 2010, 03:07 PM
  3. How to accomplish this navigation
    By 04gotgoat? in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Dec 2007, 06:39 PM
  4. How can I accomplish this look?
    By lmw1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Oct 2007, 09:17 AM
  5. Can I Do This With Attributes????
    By mafiasam in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 8 Sep 2006, 04:34 AM

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