Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    May 2012
    Location
    Tamworth, United Kingdom
    Posts
    24
    Plugin Contributions
    0

    Default Attributes only appearing on some products

    Hi,

    I have gone through everything I can think off and searched all the forums but no one seems to have had this problem.

    My attributes are only appearing on certain products. There does not seem to be any pattern to it. Price increase, number of attributes etc, it just seems totally random.

    I haven't changed anything that i'm aware of, but even if I had, i would have thought it would effect all products, not just some.

    The products that the drop-downs aren't showing on, seem to be picking up something in the background as prices are showing as 'starting at'.

    Would anyone be able to look at the source file, see if anything that i'm not spotting.

    Thank you

    This is a link to one of the problem products: http://www.therummagehole.co.uk/~the...roducts_id=559

    However, this product is working fine: http://www.therummagehole.co.uk/~the...&products_id=1

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Attributes only appearing on some products

    Where is the check stock script coming from?
    Click image for larger version. 

Name:	left_right_attributes_source.jpg 
Views:	54 
Size:	72.8 KB 
ID:	13686


    Are all of your products 'priced by attribute' or are they mixed?


    What other modules do you have installed that would meddle with the tpl_product_info_display.php?
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  3. #3
    Join Date
    May 2012
    Location
    Tamworth, United Kingdom
    Posts
    24
    Plugin Contributions
    0

    Default Re: Attributes only appearing on some products

    Are all of your products 'priced by attribute' or are they mixed?


    What other modules do you have installed that would meddle with the tpl_product_info_display.php?[/QUOTE]



    They are mixed, some have attributes and some don't. I have 'stock by attributes' installed (by POTTERYHOUSE), and saveforlater_1.4 but don't think this uses that file.

    Was working fine after both of these modules were added.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Attributes only appearing on some products

    Quote Originally Posted by therummagehole View Post
    Are all of your products 'priced by attribute' or are they mixed?


    What other modules do you have installed that would meddle with the tpl_product_info_display.php?


    They are mixed, some have attributes and some don't. I have 'stock by attributes' installed (by POTTERYHOUSE), and saveforlater_1.4 but don't think this uses that file.

    Was working fine after both of these modules were added.[/QUOTE]

    SBA typically touches the templated attributes.php module file. How many option values were expected in how many option names for some of the items that are not showing attributes? Some versions of SBA have some not yet resolved issues depending on how the attributes are used on the product. Also, when saying that it worked before, you are 100% sure that after installation and before posting this thread that the products currently having an issue were looked at and the attribute options were available for selection? If so, what HAS changed between then and now? Option Name type, number of option values, etc...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    May 2012
    Location
    Tamworth, United Kingdom
    Posts
    24
    Plugin Contributions
    0

    Default Re: Attributes only appearing on some products

    Quote Originally Posted by mc12345678 View Post
    They are mixed, some have attributes and some don't. I have 'stock by attributes' installed (by POTTERYHOUSE), and saveforlater_1.4 but don't think this uses that file.

    Was working fine after both of these modules were added.
    SBA typically touches the templated attributes.php module file. How many option values were expected in how many option names for some of the items that are not showing attributes? Some versions of SBA have some not yet resolved issues depending on how the attributes are used on the product. Also, when saying that it worked before, you are 100% sure that after installation and before posting this thread that the products currently having an issue were looked at and the attribute options were available for selection? If so, what HAS changed between then and now? Option Name type, number of option values, etc...[/QUOTE]


    I generally only have 1 attribute option, but some items have 2. It appears that all the ones with 2 aren't working, but there are a few with only 1 that also aren't working. I am 99% sure that this was working until recently. The only thing I have changed that i'm of is I took 'weight' off from showing on the product listing and product info pages.

    There are also at least 1 item where the attribute dropdown is on the far left hand side, whereas all the other (the ones working) are in line with the price.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Attributes only appearing on some products

    Quote Originally Posted by therummagehole View Post
    SBA typically touches the templated attributes.php module file. How many option values were expected in how many option names for some of the items that are not showing attributes? Some versions of SBA have some not yet resolved issues depending on how the attributes are used on the product. Also, when saying that it worked before, you are 100% sure that after installation and before posting this thread that the products currently having an issue were looked at and the attribute options were available for selection? If so, what HAS changed between then and now? Option Name type, number of option values, etc...


    I generally only have 1 attribute option, but some items have 2. It appears that all the ones with 2 aren't working, but there are a few with only 1 that also aren't working. I am 99% sure that this was working until recently. The only thing I have changed that i'm of is I took 'weight' off from showing on the product listing and product info pages.

    There are also at least 1 item where the attribute dropdown is on the far left hand side, whereas all the other (the ones working) are in line with the price.
    To confirm, when you say one attribute option versus 2. It is important to know in regards to the version of SBA installed some of the details to be worked out.

    So I asked about number of option Names: color, size, height these are typical option names.
    Option values go inside of option names: so please choose a color, blue, green, red are four option values applicable to the option name color.
    There is at least one version of SBA that does not play well with certain arrangemments of these choices, that the number of option names must be one, etc...as well, after you modified the number of attributes, did you go back and verify you plussed up stock on the "new item" (typically SBA treats each item differently if there are a different number of option names. Makes sense, but not always considered when playing around.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    May 2012
    Location
    Tamworth, United Kingdom
    Posts
    24
    Plugin Contributions
    0

    Default Re: Attributes only appearing on some products

    The item that I linked to in my original post that is not working should be showing 2 option names, Size and Colour. Size has 3 values: 2 seater, 3 seater and 3 seater sofabed (with price increase on the last 2). Colour has 4 options: red, black, brown, ivory (with no price increases).

    Click image for larger version. 

Name:	zencart capture.jpg 
Views:	63 
Size:	52.9 KB 
ID:	13689

    The stock by attributes is showing all variations as being stock.

    Click image for larger version. 

Name:	zencart2.jpg 
Views:	52 
Size:	62.2 KB 
ID:	13690

  8. #8
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Attributes only appearing on some products

    Previously I had problems with SBA and one of the database tables. There is a bug in the code that left a comma in the field data that was referencing the various option names/values. There is no error and it's seemingly random. No changes one day, the next your missing attributes.

    I regularly had to scan the database table and manually correct the field data. Funding was cut on the project so no static solution was developed.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  9. #9
    Join Date
    May 2012
    Location
    Tamworth, United Kingdom
    Posts
    24
    Plugin Contributions
    0

    Default Re: Attributes only appearing on some products

    which table would I need to look in?

  10. #10
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Attributes only appearing on some products

    Quote Originally Posted by therummagehole View Post
    The item that I linked to in my original post that is not working should be showing 2 option names, Size and Colour. Size has 3 values: 2 seater, 3 seater and 3 seater sofabed (with price increase on the last 2). Colour has 4 options: red, black, brown, ivory (with no price increases).

    Click image for larger version. 

Name:	zencart capture.jpg 
Views:	63 
Size:	52.9 KB 
ID:	13689

    The stock by attributes is showing all variations as being stock.

    Click image for larger version. 

Name:	zencart2.jpg 
Views:	52 
Size:	62.2 KB 
ID:	13690
    Quote Originally Posted by twitchtoo View Post
    Previously I had problems with SBA and one of the database tables. There is a bug in the code that left a comma in the field data that was referencing the various option names/values. There is no error and it's seemingly random. No changes one day, the next your missing attributes.

    I regularly had to scan the database table and manually correct the field data. Funding was cut on the project so no static solution was developed.
    I'd like to warn about too general of a discussion on SBA. ZC at last check recognized I think 4 or 5 versions of SBA and basically have stopped accepting any new submissions that aren't versions off of those. Some have been able to handle conditions/situations as described, some have minor bugs when changing quantities if the attributes were not entered in a specific sequence, etc...the version I use doesn't include the java script display of products in stock, because I removed it and there were limitations that didn't go well with the store.

    So, it would seem that the version installed (and suggest finding out) doesn't play well at least in part with multiple option names. I seem to recall reading that one of them worked with 3 or more option names, but not with two. You could test this by creating a single option name that has a single value (therefore would have 3 option names, but only 2 would require adjustment by the customer.) It's a shot in the dark/test, but it may also revive the attributes

    Situation/logic was described, that it split the option names into three categories, first name, last name, and all names in between. But for some reason the logic wasn't worked out properly to handle a case where last was the same as middle, first was the same as middle, or middle just didn't exist...at any rate, it seemed to cause the quantity to be reported as out-of-stock, and if not mistaken when an attributed item is out of stock, then the attribute selection(s) disappear which means basically can't buy the product as there is nothing in stock..
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Categories only on main page without products appearing please
    By Winston56 in forum Customization from the Admin
    Replies: 2
    Last Post: 12 Nov 2012, 01:38 PM
  2. Add to Cart button not appearing on products w/attributes
    By marleyman in forum General Questions
    Replies: 7
    Last Post: 20 Sep 2010, 05:52 PM
  3. Setup Stock by Attributes with only some attributes?
    By jnisme in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 Jul 2010, 09:48 PM
  4. Product description over attributes on only some items?
    By byoriginaldesign in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Feb 2010, 08:20 AM
  5. Can I make some products ship-only, some pickup-only, some both?
    By TheToe in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 7 Nov 2006, 12:33 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