Attribute values show in drop down menu
Heya all,
I'm very new to Zen-Cart so I'm sure I've probably overlooked something when I set up my attributes. I've searched the site and cannot find an answer so I'm posting.
Using 1.3.6 on linux server.
I'm wondering if there is a way to keep the attribute values from showing in the drop down menu.
The menu in question is WEIGHT. I'm including a link to the page, perhaps someone can take a look and see if this is how the attribute feature is suppose to display.
Currently it shows the product and base price, which is what I want. When you click the drop down arrow though to see the other 3, the other choices are displayed (which is also what I want), but next to them are the attribute values.. which I do not want visible.
1 lb White Poly (+$1.20)(+0.25lbs)
16 oz Valve (+$1.70)(+0.25lbs)
5 lb Bag (+$22.00)(+4.25lbs)
http://abyssnetwork.com/chauvinstore...roducts_id=286
thanks much
Re: Attribute values show in drop down menu
On each Product Type in the Catalog ... Product Type ... Edit Layout ...
There is a setting for whether or not to show the Attribute Weight:
Quote:
Show Attribute Weight
Display Attribute Weight on Product Info 0= off 1= on
Re: Attribute values show in drop down menu
Ajeh,
wow... thanks very much for the quick response. I followed your instructions and it worked, weight is no longer visible.
Is there something similar I can do so the *additional cost* doesn't show in the *menu*? I still want it to be figured into the cost of the product, just don't want it to be visible in the drop down menu.
again, thank you very much for the help
Re: Attribute values show in drop down menu
If you were shopping in a store ... and picked up a broom for $10.00 then got to checkout and it was $12.50 for the red broom ... wouldn't you be a bit miffled?
Why would you want to hide the prices from someone?
Re: Attribute values show in drop down menu
Hi - I'm looking to hide the attribute values that are listed at the side of some radio buttons i've added to some products.
I'm not hiding the prices as they are displayed in a table, but we've asked some people to test the site and found that E.g. "1 Week (+£26.00) *£50.00" seems to confuse people.
Please could you tell me if there is any way to hide this data?
Thanks
SM
Re: Attribute values show in drop down menu
Hi - It's ok i've managed to figure it out. Here it is for any one else who may need the info:
Copy includes/modules/attributes.php to your CUSTOM folder.
I needed to hide the info that was displayed alongside a radio button:
About line 159 you should see:
$products_options_display_price= ' (' . $products_options->fields['price_prefix'] . $currencies->display_price($new_attributes_price, zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . ') ';
Comment the line out (you may need to add // before $products and also $currencies.
And add in: $products_options_display_price= '';
This will then make the variable that displays the info blank.
upload the file and the product info page simply displays the option.
I also changed the one-time variable as well.
Hope this helps
SM
Re: Attribute values show in drop down menu
Thanks for the update! :smile: