Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2012
    Posts
    282
    Plugin Contributions
    0

    Default How to force an option with 1 value? ie. compulsory

    Am trying to force an Attribute with a Single Option Value on a product....

    I'm trying to use the Attribute feature to define a HazMat property and charge one time charge of $25.

    So i set like this.
    Option Name: Hazmat with a single Option Value.
    So to force the value to be selected i set as a Radio button (so it can't be unchecked) and set as default value.

    This seems a little convoluted maybe, is there a better way?

    Also, a problem is the text that appears above reads 'Please choose' which doesnt' make sense.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: How to force an option with 1 value, ie. compulsory

    In attributes controller you will see a "legend" indicating the function of various "switches" which are indicated by little circle icons with an "x" in them. By making the attribute OPTION a REQUIRED option and the DEFAULT option, you will get the behaviour you are looking for.
    20 years a Zencart User

  3. #3
    Join Date
    Oct 2012
    Posts
    282
    Plugin Contributions
    0

    Default Re: How to force an option with 1 value, ie. compulsory

    thank you

 

 

Similar Threads

  1. Copy option value to all products with option name
    By Nick1973 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Feb 2015, 07:25 PM
  2. How do I set a compulsory option?
    By richardsnowstar in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 8 Nov 2010, 06:35 AM
  3. Attributes - Align Option Name with Option Value?
    By dropbop in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Sep 2009, 07:54 PM
  4. My Option names do not line up HORIZONTALLY with option value boxes...
    By youshine in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 4 Aug 2009, 03:08 AM
  5. How to create new option type with value for gift certificate
    By Beez in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 7 Dec 2006, 02:44 PM

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