Page 27 of 28 FirstFirst ... 1725262728 LastLast
Results 261 to 270 of 279
  1. #261
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flexible Attributes support

    Add to your stylesheet_flexible_attributes.css
    Code:
    #productAttributes {position: relative;}
    #wAttrib-4 {position: relative; border: 1px solid #000000; padding: 0.8em; margin-top: 1em;}
    #wAttrib-4>h3 {position: absolute; top: -1.8em; background: #ffffee; padding: 0 0.5em;}
    #wAttrib-5 {position: absolute; left: 25em; top: 8.8em}
    Adjust to taste.

    This positions the "last name" relative to the whole attributes container, so if the first name box changes position, they will no longer line up, and you will have to change the last name position to match.

    The other sets of attributes can be handled the same way, adjusting dimensions as required.

  2. #262
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Ooh yeah that looks just like it!

    If I start adding in different attributes with different sort orders will I need to have a different stylesheet for each product?

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

    Default Re: Flexible Attributes support

    You might. If you run into issues with different products, then it will be time to deal with it. No biggie, you would just need to make a p_###.css stylesheet for each applicable product (### = the product id) with the relevant unique rules.

    This stylesheet will only be loaded for the specific product, so you won't have a mess of different files clogging your browser.
    Last edited by gjh42; 25 Oct 2013 at 03:17 PM.

  4. #264
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    ok. Thank you good sir, you are a scholar and a gentleman.

  5. #265
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Hi. Me again.

    I'm trying to get lengthier attribute comments but I keep getting cut off at around 64 characters and I can't seem to find an option to increase that. I notice that the NY Faerie Festival example has some pretty lengthy comments with multiple paragraphs and I'm wondering how I too can achieve that?

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

    Default Re: Flexible Attributes support

    I had to alter a field in the database, don't remember exactly which one right now. I think I mentioned it in the readme...
    Yep:

    If you want to increase the length of Option Name comments allowed from the standard 64 characters, you will need to modify a database setting.
    In your admin > Tools > Install SQL Patches, you may copy and paste this code and send (only do this if you need to):
    For up to 255 characters:
    Code:
    ALTER TABLE products_options MODIFY products_options_comment VARCHAR(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL;
    or for longer comments:
    Code:
    ALTER TABLE products_options MODIFY products_options_comment TEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL;
    You might want to check if the "latin1_swedish_ci" is still correct for recent Zen Cart versions/installations. I would examine your existing version of the field in the db and coordinate with that.

  7. #267
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Thanks so much for your help and your contribution. Did I mention you're a scholar and a gentleman?

    Quote Originally Posted by gjh42 View Post
    I think I mentioned it in the readme...
    I was searching the forums for the answer and (what an oversight!) never even thought to look at the readme. Thanks again.

  8. #268
    Join Date
    Feb 2014
    Posts
    4
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Hi,

    I am having problem with this plugin on Zen Cart version 1.5 for some reason what ever attribute is required will not be required anymore can anyone give me a quick fix or hack via jquery or anything.

    http://royalsat.com/index.php?main_p...products_id=92

    Now the last attribute is required first i thought it was because of my jquery code but it turns out its from the pluggin.

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

    Default Re: Flexible Attributes support

    What makes you think that this mod is what is causing your "attribute required" issue? Its code doesn't touch required status.

  10. #270
    Join Date
    Feb 2014
    Posts
    4
    Plugin Contributions
    0

    Default Re: Flexible Attributes support

    Quote Originally Posted by gjh42 View Post
    What makes you think that this mod is what is causing your "attribute required" issue? Its code doesn't touch required status.
    Maybe I only noticed after i downloaded and installed the plugin.

    I only have 2 plugins one is flex atrribute and the other is CKEditor.

    Either way can someone help me figure this out.

    Thank you.

 

 
Page 27 of 28 FirstFirst ... 1725262728 LastLast

Similar Threads

  1. v154 Flexible Footer Menu Multilingual [Support Thread]
    By rbarbour in forum All Other Contributions/Addons
    Replies: 130
    Last Post: 1 Jun 2025, 02:18 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