Announcement

Collapse
No announcement yet.

attributes and choices - problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    attributes and choices - problems

    V8.02 (designer trial mode)
    I've created a new product - "seat"
    created a new attribute called "seat Width"
    created a new choice "18 inch"
    created a new choice "20 inch"
    and preview the page - the page displays as expected.
    the code generated is as follows:
    Code:
    <span class="text_options">Seat Width</span>
    <br />
    <select name="v_1_1" class="form_input_general">
     <option value="1">18 inch</option>
     <option value="2">20 inch</option>
    </select>
    but I expected to see something like:
    Code:
    <span class="text_options">Seat Width</span>
    <br />
    <select name="seat_width" class="form_input_general">
     <option value="18inch">18 inch</option>
     <option value="20inch">20 inch</option>
    </select>
    the main difference being the < select name= and the < option value="20inch"
    i've included the space to prevent display issues within the forum and added the odd line feed in the quoted code to help with the readability.

    so how do I control
    • the name of the <select
    • the value of the option


    How does the "option values" show up in the order details or am I worrying about something that is really irrelevant ??

    #2
    You are worrying about something totally irrelevant.

    If you add a second attribute, you will see that it takes the name of v_1_2 - but when these items get to the shopping basket, they will be correctly translated back into Seat Width - 18 inch.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      ahhhh. The joys on NOT knowing what your'e talking about !

      thanks

      Comment

      Working...
      X