I'm using v 1.3.9h (no addons installed) using a template from template monster, although I dont think the template is the cause as its unlikely that they would toy with those files, and more so because the file I suspect to be causing this is in the default template (root/includes/modules/attributes.php).
I can't post the url, as I have blocked access to the site. I need to do the final security check before public access. Sorry about that. Regardless, I will explain clearly below.
I have various categories; some with products and some without. To explain the problem, we are looking at 2 categories here which I call Category A and Category B.
In both categories, there are one or more products which have attributes with (one or more) checkboxes.
In Category A, there are 3 products with one checkbox attribute each. No problem there. All displays perfectly.
In Category B, one of the products has attributes. The first is a dropdown menu and the rest are checkboxes. The issue is that all the checkboxes here are problematic because they show the attribute ID number, which would look strange to, and might confuse, customers who question what the numbers mean.
The rendered format is:
ATTRIBUTE NAME [ATTRIBUTE NOTES - onMouseover] ATTRIBUTE ID NUMBER ( + PRICE )
I looked in the HTML output (as in previous para) for a "marker" and chose the string "attribsCheckbox" which points to the root/includes/modules/attributes.php file (using the Dev Tool Kit), because "attribsCheckbox" was near the ATTRIBUTE ID which I wanted to remove. There were 9 occurrences in attributes.php of "attribsCheckbox". The top 3 "attribsCheckbox" were contained within lines 326, 329 and 332 which all begin with:
$tmp_checkbox .= zen_draw_checkbox_field('id[' . $products_options_names->fields['products_options_id'] .
At the end of each of those lines is the variable $products_options_details which outputs:
ATTRIBUTE NAME [ATTRIBUTE NOTES - onMouseover] ATTRIBUTE ID NUMBER ( + PRICE )
I searched this variable with the Dev Tool Kit and the variable seems to be put together in the same attributes.php file.
What I can't figure is WHERE exactly ATTRIBUTE ID is introduced into this, so god knows how to remove it. I wanted to find and publish the solution, but this is as far as I got.
Bookmarks