Announcement

Collapse
No announcement yet.

Attribute layout

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

    Attribute layout

    Hello,

    I do not use Inventory variants and swatches - just old attributes with an image and a radio button.

    What I want to do is
    a) Lay out my choices in a table (say 5 wide and as deep as required by the number of choices)
    b) Next to the radio button have a small image (it is a color choice)
    c) Below the image have a name for the color (eg. forest green)

    I have toolkit.

    Does anyone have any sample code that might be used as a starting point? My problem is I dont know how to iterate in groups of 5 or whatever number I choose my width to be.....

    Thanks
    Sam

    #2
    Re: Attribute layout

    Check out this article on pos1. It is a loop counter which is the best way to display the attributes in rows of 5

    http://www.mivamerchant.com/videos/a...oops-with-pos1
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Attribute layout

      The other option, though I don't have an example handy, is to use CSS with an unordered list, float each list item and let the space for the parent list container control the number of spaces.
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment

      Working...
      X