Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Location
    Illinois
    Posts
    11
    Plugin Contributions
    0

    Default 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
    When the grass is greener on the other side, don't jump the fence, water your side more.

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

    Default 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:
    Show Attribute Weight
    Display Attribute Weight on Product Info 0= off 1= on
    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: v1.5.5]
    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!

  3. #3
    Join Date
    Jan 2007
    Location
    Illinois
    Posts
    11
    Plugin Contributions
    0

    Default 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
    When the grass is greener on the other side, don't jump the fence, water your side more.

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

    Default 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?
    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: v1.5.5]
    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!

  5. #5
    Join Date
    Jun 2005
    Posts
    20
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Jun 2005
    Posts
    20
    Plugin Contributions
    0

    Default 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

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

    Default Re: Attribute values show in drop down menu

    Thanks for the update!
    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: v1.5.5]
    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!

 

 

Similar Threads

  1. v150 Email Address Exporter not show in my tools drop down menu
    By maperr55 in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 1 May 2013, 03:01 PM
  2. Replies: 11
    Last Post: 15 Aug 2011, 01:16 PM
  3. Need Option value to show an Image in Attribute drop down menu.
    By webflink2 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 20 Jan 2011, 08:30 PM
  4. Wierd attribute code showing in drop down menu
    By Newmanz in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Mar 2010, 11:45 AM
  5. Attribute Drop Down Menu
    By heysiteguy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Dec 2006, 02:14 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR