My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Glad you like it :)
I haven't used it yet, but I will.. (I can say this sight unseen since I have no doubt in my mind that anything you contribute is a top notch solution out the gate!!) I remember you talking about how this could be implemented using only CSS on that thread regarding my hack for creating a two column attribute layout..
THIS is way better than the hack I was using, and since it's using CSS to manage the layout, it's infinitely more flexible than my table solution..
I believe that this will be a part of my standard "must have" Zen Cart modules for any future Zen Cart stores I build..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
To be fair, the majority of stores will do fine with the stock attribute layout controls... but this should take care of pretty much anything that needs more.
Agreed.. For the most part so have I.. Let me clarify my previous statement.. I would like a LOT more control over the way the default attributes layout looks in general.. Especially since I have a few clients who have product pages for custom product which have many attributes.. Having the attributes in rows versus a super long vertical stack is ideal IMHO..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
this is a test...
ok. great!
dear all,
I really need your help!
I am doing a e-store selling contactlenses and i have 2 core issues (for now) to solve:
1. to put (related) attributes horizontally, and
2. to get both my QTY (quantity) attribute for left eye and right eye add up to the shopping cart QTY total.
I found the flexible attributes module for doing the horizontal thing and did the following script:
/*attribute layout*/
.wrapperAttribsOptions label {font-size: 1.0em;}/*make "label" elements match other text*/
h3#attribsOptionsText {display: none;}/*'Display: None;' to 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-20 {clear: left; float: left;}
#wAttrib-21 {float: left;}/*this will sit beside #wAttrib-20*/
#wAttrib-22 {float: left;}/*this will sit beside #wAttrib-21*/
#wAttrib-23 {float: left;}/*this will sit beside #wAttrib-22*/
#wAttrib-24 {float: left;}/*this will sit beside #wAttrib-23*/
#wAttrib-25 {clear: left; float: left}/*this will sit on a new line*/
#wAttrib-26 {float: left;}/*this will sit beside #wAttrib-25*/
#wAttrib-27 {float: left;}/*this will sit beside #wAttrib-26*/
#wAttrib-28 {float: left;}/*this will sit beside #wAttrib-27*/
#wAttrib-29 {float: left;}/*this will sit beside #wAttrib-28*/
#wAttrib-21 .back {float: none;}
#wAttrib-22 .back {float: none;}
#wAttrib-23 .back {float: none;}
#wAttrib-24 .back {float: none;}
#wAttrib-26 .back {float: none;}
#wAttrib-27 .back {float: none;}
#wAttrib-28 .back {float: none;}
#wAttrib-29 .back {float: none;}
/**EOF**/
This is what i get:
http://cplens.com/index.php?main_pag...roducts_id=180
please help!
Oh yes, if anyone can solve my QTY attributes add up problem (or can direct me to anywhere for the solution), do tell me also. Thanks.
NOTE: dunno php; noob.
Happy Holidays!
...
my fault.
to be clear about my script:
attribute 20 = Right Eye.
attributes 21 to 24 are all Right Eye related attributes. They should be on one roll.
attribute 25 = Left Eye.
attributes 26 to 29 are all the Left Eye related attributes. They should be on the same roll after RE's attributes.
Thanks.
Thinking as a customer, would it be more intuitive to have the left eye attributes on the left? Or is it an industry standard to always mention right eye first?
I'll look at your layout now.
You had clear: left; for the first left attribute, so it started a new line as the comment indicates. Just remove that.Code:#wAttrib-25 {float: left; clear: left;}/*this will sit on a new line*/Code:#wAttrib-25 {float: left;}/*this will not sit on a new line*/
Bookmarks