Results 1 to 5 of 5
  1. #1
    Join Date
    May 2007
    Posts
    24
    Plugin Contributions
    0

    image problem Formatting For Product Attributes

    Hey Guys. I am trying to match a style my client had last year and I am not having any luck. I am trying to Separate the Attribute Name from the text field. Take a look at the picture below and see what I am trying to accomplish. Any help would be GREATLY appreciated.

  2. #2
    Join Date
    Jul 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: Formatting For Product Attributes

    I'm looking for the same thing in a way, but I need to seperate each field to use and style anywhere on my page.

    So far I have been able to do this by viewing my source code in FF and copy / paste the relevant field info into my own divs. Thus creating duplicate fields. I have hidden the the attributes list Zen created by display:none. You can't just delete otherwise attributes won't be recognised........BUT

    ....BUT BUT BUT..... the reason why I'm looking for what you looking for is the fact with text input fields this method seems to not work. As with radio / checkboxes if selected it selects the fields in the hidden section, but when it comes to text inputs or file uploads it does not update the hidden fields and therefore not adding to cart.

    Does this make sense, anyway this is what I have done so far, but anyone does have a way of extracting each attribute individually for styling, specifically positioning inside divs that swap, I would also really appreciate it.

    -------------------
    Jay

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Formatting For Product Attributes


  4. #4
    Join Date
    Jul 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: Formatting For Product Attributes

    Once again, Steve to the rescue. Exactly what I was after...

    THANKS!


  5. #5
    Join Date
    Jul 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: Formatting For Product Attributes

    Just came to a realization that I am using Show/Hide Divs so I think I need the actual code to go into specific div tags and not just position.

    example:

    Code:
    <div id="someone_content" style="display:none;">
    <!--  bof Code for file upload input  -->
     <div class="wrapperAttribsOptions" id="wAttrib-5">
      <div class="attribsOptions">
       <h4 class="optionName back"><label class="attribsUploads" for="attrib-5-0">photo</label></h4>
       <input name="id[TEXT_PREFIX5]" id="attrib-5-0" type="file"><br>
       <input name="UPLOAD_PREFIX1" value="5" type="hidden">
       <input name="TEXT_PREFIXUPLOAD_PREFIX1" type="hidden"> ( +£0.50 )
      </div>
     </div>
    <!--  eof Code for file upload input  -->
    </div>
    Seems simple enough, but I do it this way it does not update the actual input field which is grouped together with the other attributes. As I mention I am able to do this method with radio buttons, checkboxes and selectors, just not text or file inputs. But I did find a snippet to sort out text inputs (see above post for code) and this does not work for file input....

    So if anyone could help out with this, please help, driving me crazy....

    Thanks in advance

 

 

Similar Threads

  1. v139h Formatting Product Attributes
    By ZSchinelli in forum General Questions
    Replies: 2
    Last Post: 10 Jul 2013, 07:40 PM
  2. custom jQuery Mobile formatting issue for product info
    By smm11 in forum General Questions
    Replies: 3
    Last Post: 11 Jan 2012, 08:13 PM
  3. Tip for Product Info page formatting please
    By chufty bill in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Mar 2010, 11:01 PM
  4. Formatting attributes
    By valnoren in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Jul 2007, 11:35 PM

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