Page 1 of 28 12311 ... LastLast
Results 1 to 10 of 279
  1. #1
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Flexible Attributes addon support

    Flexible Attributes has been submitted to Free Addons.

    This mod allows control over the display of individual attributes on the product info page. Each attribute can be styled globally to affect it in all products which use it, or with a per-product stylesheet to affect its display in only one product.

    All user customization is done through the stylesheet (example stylesheet included).

    An optional SQL patch is included to allow longer Option Name comments if desired.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flexible Attributes support

    An example of this mod in use can be seen at www.nyfaeriefest.com . Click on "Artist Vendors", then "Artist Vendor Application". This is an extreme example, showing a "product" turned into an application form which collects a wide variety of types of info including images and saves it to the database.

    On a more ordinary level, attributes can be organized into columns or given individual styling for whatever purposes may arise.

  3. #3
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Flexible Attributes support

    Thank you for contributing this great mod!

  4. #4
    Join Date
    Jun 2007
    Location
    NJ
    Posts
    83
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    I thank you for this awesome mod however, is there a way to place a dropdown underneath the option text? Please see link for example.

    http://www.modebook.com/cart/index.p...&products_id=1

    Thanks

    Jeff

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flexible Attributes support

    Are you wanting to get the dropdown to be under the "Number of 2-Page Spreads" text? Add to your stylesheet

    Code:
    #wAttrib-2 .back {float: none;}

  6. #6
    Join Date
    Dec 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Thank you so much, a great contribution!!!!

    However, I'm having a bit of a problem getting a TEXT attribute to sit to the right of a RADIO attribute. Should this work or does it only work with dropdowns?

    /*Promo Code (radios)*/
    #wAttrib-5 {float:left;; margin:0; Padding:0 5px 0 30px;}
    #wAttrib-5 label {float:left; text-align:right; width:84px; margin:0; padding:0;}
    #wAttrib-5 .back{float:left; margin-top:3px;}
    #attrib-5-9, #attrib-5-10, #attrib-5-11, #attrib-5-12{width:30px;}
    /*Promo Code URL*/
    #wAttrib-6 {clear:left; float:left; margin:0; Padding:0 5px 0 0;}
    #wAttrib-6 label {float: left; text-align:right; width:100px; margin:0; padding:0;}
    #wAttrib-6 .back{ margin-top:3px;}

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flexible Attributes support

    I can't tell for sure what should be happening here, or what is actually happening on your site. A link to see it live will let me advise.

  8. #8
    Join Date
    Dec 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Quote Originally Posted by gjh42 View Post
    I can't tell for sure what should be happening here, or what is actually happening on your site. A link to see it live will let me advise.

    Thanks man! I fixed it now anyways with this:

    /*Promo Code (radios)*/
    #wAttrib-5 {clear:left; float:left; margin:0; Padding:0 5px 0 30px;}
    #wAttrib-5 label {float:left; text-align:right; width:84px; margin:0; padding:0;}
    #wAttrib-5 .back{float:left; margin-top:3px;}
    #attrib-5-9, #attrib-5-10, #attrib-5-11, #attrib-5-12{width:30px;}
    /*Promo Code URL*/
    #wAttrib-6 {float:left; margin:0; Padding:0 5px 0 0;} Removed clear:left on this line
    #wAttrib-6 label {float: left; text-align:right; width:100px; margin:0; padding:0;}
    #wAttrib-6 .back{ margin-top:3px;}

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flexible Attributes support

    Re Side by side read-only attributes... possible? how?

    You can space out the attributes in a row by adding side margins or padding, such as this at the bottom of your stylesheet:
    Code:
    /*attribute layout*/
    .wrapperAttribsOptions label {font-size: 1.0em;}/*make "label" elements match other text*/
    h3#attribsOptionsText {display: none;}/*hide the "Please Choose:" heading*/
    h4.optionName {font-size: 1.0em;}
    .wrapperAttribsOptions+br.clearBoth {display: none;}/*allow floated attributes to sit side by side if desired*/
    #wAttrib-3 {clear: left; float: left;}
    #wAttrib-4 {float: left;}/*this will sit beside #wAttrib-3*/
    #wAttrib-5 {float: left;}/*this will sit beside #wAttrib-4*/
    /*#wAttrib-5 {clear: left;}*/ /*this will sit on a new line*/
    /*#wAttrib-14 h4 {display: none;}*/
    /*#wAttrib-15 h3  {font-size: 1em; font-weight: normal;}*/ /*make comments above attribute like standard text*/
    /*#wAttrib-35 .attribsOptions {display: none;}*/ /*for a read-only attribute to hide all but comments*/
    
    .attribsOptions {margin-right: 2.0em;}
    Note also that CSS does not recognize the // comment; you need to use /* */ around the commented code as shown.

  10. #10
    Join Date
    Apr 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Thanks for the spacing tip! Worked perfectly.

    Does your mod also allow attributes to list the option values themselves side by side instead of in a vertical list? Such as:

    Style 1: Small, Medium, Large
    Style 2: Small, Medium, Large

    I'm just trying to figure out the cleanest way to list read-only attributes. My ideal would be a table of some kind, but I'm not sure if the Product Attribute Grid add-on works with read-only attributes.

 

 
Page 1 of 28 12311 ... LastLast

Similar Threads

  1. v154 Flexible Footer Menu Multilingual [Support Thread]
    By rbarbour in forum All Other Contributions/Addons
    Replies: 128
    Last Post: 6 Sep 2023, 10:30 PM
  2. v152 Flexible Language/Currency Header Options (Support Thread)
    By rbarbour in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 20 May 2021, 03:46 PM
  3. v151 Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 167
    Last Post: 11 Apr 2021, 08:56 PM
  4. Flexible Product Listing [support]
    By gjh42 in forum All Other Contributions/Addons
    Replies: 27
    Last Post: 27 Apr 2015, 11:16 AM
  5. help with flexible product listing addon
    By artifaxworthing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jun 2010, 11:25 AM

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