Announcement

Collapse
No announcement yet.

Attribute drop-down not working

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

    Attribute drop-down not working

    Hi!

    I have set up a product attribute with a drop-down of 3 choices. For some reason the choices are appearing outside of the text box.

    Can anyone help before I rip out all my hair??

    www.thecakegallerydirect.co.uk/acatalog/Colours.html

    Thanks

    Rachel

    #2
    Look in Act_VariantListHeader.html and you'll probably see that someone has added an unwanted "</select>" tag with total disregard for your hair.

    The file should look like:-

    Code:
    <!-- VariantListHeader HTML begin -->
    <!-- This template is used for a product variant list box header. -->
    
    <SELECT NAME="NETQUOTEVAR:ATTRIBUTEREF">
    
    <!-- This template is used for a product variant list box header. -->
    <!-- VariantListHeader HTML end -->
    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Norman

      Unfortunately there were not any unwanted <SELECT> tags. The code is as you posted.

      Just off to purchase a wig.....

      Rachel

      Comment


        #4
        Wierd. Here's the relevant bit of generated code from your page source

        Code:
        <SELECT NAME="v_21_1"></select><OPTION VALUE=1 SELECTED>red<BR><OPTION VALUE=2 >blue<BR><OPTION VALUE=3 >yellow<BR></SELECT>
        You can see it right in there - the lower case "</select>" just shouldn't be there. As far as I can see it can only be coming from Act_VariantListHeader.html.

        Try creating another product with a drop down list and see what happens to that.

        Have you a customised product template? If so post it so we can see if its crept in there.

        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Created a new product with drop-down

          [URL=http://www.thecakegallerydirect.co.uk/acatalog/Decorations___Edible.html]

          and the <SELECT NAME="v_**"></select> is still appearing.

          - radio buttons work fine
          - tried using different product layout templates and it still appears

          Attached Act_ProductLineTable.html

          Thanks for all you help!

          Rachel
          Attached Files

          Comment


            #6
            Could you post Act_VariantListHeader.html, Act_VarianListChoice.html and Act_VariantListFooter.html. They're all tiny so just paste them, one after the other, into a message - no need for an attachment.

            Norman
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              As requested:-

              <!-- VariantListHeader HTML begin -->
              <!-- This template is used for a product variant list box header. -->
              <SELECT NAME="NETQUOTEVAR:ATTRIBUTEREF">
              <!-- This template is used for a product variant list box header. -->
              <!-- VariantListHeader HTML end --></select>


              <!-- VariantListChoice HTML begin -->
              <!-- This template is used for a product variant list box choice. -->
              <OPTION VALUE=NETQUOTEVAR:CHOICESELVALUE NETQUOTEVAR:ITEMSELECTED>NETQUOTEVAR:CHOICENAME
              <!-- This template is used for a product variant list box choice. -->
              <!-- VariantListChoice HTML end -->


              <!-- VariantListFooter HTML begin -->
              <!-- This template is used for a product variant list box footer. -->



              <!-- This template is used for a product variant list box footer. -->
              <!-- VariantListFooter HTML end -->


              Thought it looked like someone who is wondering where their hair is!

              Comment


                #8
                There it is. Tucked in right at the end of Act_VariantListHeader.html just like I first suggested. Just delete that </select> fragment and you'll be instantly cured of hair tear!

                Norman
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Surprise surprise its now functioning. How frustrating for you - sorry for being such a pain! Been looking at too much code and not reading things properly! I suppose I must have just thought it was just closing off the tag.

                  Thank you for all the time you have put into this! Think I deserve the hair tear!

                  Rachel

                  Comment

                  Working...
                  X