Page 2 of 28 FirstFirst 123412 ... LastLast
Results 11 to 20 of 279
  1. #11
    Join Date
    Mar 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Hi we have downloaded the flexible attributes which is great
    but we would like all the attributes to sit to the right of the picture
    in list format ie one under the other and the option names above eg

    Name
    dropdown
    Size
    dropdown
    image
    dropdown
    etc etc.....

    is there a way we can acheive this if so how?

    thanks

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

    Default Re: Flexible Attributes support

    Let's see your site so I can give accurate advice for your specific layout.

  3. #13
    Join Date
    Mar 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: Flexible Attributes support


  4. #14
    Join Date
    Mar 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    think we may have sorted it put padding-right which moved them all down
    just wondering if you have to duplicate all the attributes in the stylesheet to get the same layout for all, or whether there is a way of making all attributes in the stylesheet across the site do the same.
    ie on tshirts the attributes 1,3,4,5 and 6 are all laying to the right of the image but on our cushions attributes 12,13,14,15 are laying to the right hand side.

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

    Default Re: Flexible Attributes support

    If you want an effect for specific attributes, use a selector like #wAttrib-1, #wAttrib-2 {}.
    If you want styling to apply to all attributes, you can use .wrapperAttribsOptions {}.

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

    Default Re: Flexible Attributes support

    If you want most of the attributes to sit one per row, but certain small ones to sit to the right of the preceding attribute, you can add to your stylesheet

    .wrapperAttribsOptions {width: 300px;}

    and then add to #wAttrib-6 {
    ...
    width: auto;
    }

    Eliminate the paddings as they may interfere with the widths in some cases.

  7. #17
    Join Date
    Mar 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    we are still struggling with the flexible attributes.

    we added the 300px width to the wrapperAttribsOptions in the css stylesheet and it moved all the attributes beneath the image.

    We want to achieve the image on the left hand side and then the attributes listed one beneath each other to the right of the image but left hand aligned. We want to apply this to all attributes on all products.

    How is the easiest way to achieve this, we have tried padding and margins but we would need to apply that to each individual attribute(and we have loads!!!)

    www.artifaxonline.co.uk/t-shirts

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

    Default Re: Flexible Attributes support

    Looks like you have figured out enough of the CSS to get the attributes located. Floating them right with a width more than half the column width also takes care of the case where they go lower than the main image.

    The last thing you need to do is get the discount box to stay below the rest. Add to your stylesheet

    #productQuantityDiscounts {clear: left;}

    if you want it just below the image, or

    #productQuantityDiscounts {clear: both;}

    if you want it below the add button.


    Also, you don't need to apply universal styling to attributes one at a time; all #wAttrib-x elements are also .wrapperAttribsOptions elements, so styling .wrapperAttribsOptions will automatically apply to any that are not individually styled with #wAttrib-x.
    Last edited by gjh42; 2 Jul 2010 at 03:48 PM.

  9. #19
    Join Date
    Jun 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Hi

    Is this ok to use with 1.3.9d please?

    Tia

    Paul

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

    Default Re: Flexible Attributes support

    I haven't tested it yet, but one file in the mod has changed for v1.3.9: /includes/modules/attributes.php.
    There is only one added line of mod code in that file (around line 606), so it should be extremely easy to apply that to the new version - just copy/paste that line in the appropriate place in the new file.
    PHP Code:
                    $options_wrapper_id[] = 'wAttrib-' $products_options_names->fields['products_options_id'];//gjh42 
    I will get the download updated as soon as some testing for another improvement to the mod is finished.

 

 
Page 2 of 28 FirstFirst 123412 ... 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