Forums / Addon Templates / Flexible Attributes addon support

Flexible Attributes addon support

Views: 76,859

Results 181 to 200 of 274
30 Dec 2011, 2:53 PM
#181
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Flexible Attributes addon support

In Attributes Controller, what do you have for each of the attributes in the orange box labeled Default Attribute to be Marked Selected:?

30 Dec 2011, 3:16 PM
#182
slingblade01 avatar

slingblade01

New Zenner

Join Date:
Dec 2011
Location:
Atlanta, GA
Posts:
32
Plugin Contributions:
0

Re: Flexible Attributes addon support

Wow! Why did I do that????

Thank you!

Last question:

I need to create Category (tournament) reports listing both products for that specific category and all of their option choices, preferably in xls format.

I have proprietary tournament management software that will import xls or csv.

I did take the precaution to create unique product model numbers for each category (tournament).

I know how to get around in MS Access but not too confident writing queries in mySQL.

What is your recommendation?

TIA,

David

30 Dec 2011, 3:38 PM
#183
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Flexible Attributes addon support

Find someone who is expert in MySQL to advise you on the selects you need;)

I know nothing about MS Access, but you could use SQL statements from Zen Cart files like /includes/modules/attributes.php to guide you on selecting information from the database. Look at your db in phpMyAdmin (from your hosting control panel) to see all of the fields in the attribute-related tables.

https://www.w3schools.com has good tutorials for SQL, and you can go to http://dev.mysql.com/ for specific syntax etc.

30 Dec 2011, 3:45 PM
#184
slingblade01 avatar

slingblade01

New Zenner

Join Date:
Dec 2011
Location:
Atlanta, GA
Posts:
32
Plugin Contributions:
0

Re: Flexible Attributes addon support

Thanks for the recommendation.

I don't mind learning the SQL necessary for task but I'd like to see a working example in ZC to get me started.

Thanks,

David

30 Dec 2011, 3:55 PM
#186
slingblade01 avatar

slingblade01

New Zenner

Join Date:
Dec 2011
Location:
Atlanta, GA
Posts:
32
Plugin Contributions:
0

Re: Flexible Attributes addon support

Digesting it now, Thanks.

12 Jan 2012, 11:00 PM
#187
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Flexible Attributes addon support

I was trying to see if there was a mod that makes certain attributes dependent upon another, but from what I read and hear that is not available. So I was wondering if flexible attributes can help with this.

Here is what I am trying to do. My site sells picture frames. One option (attribute) is: Add Single Mat (yes or no). If they select yes they want mat, then I would like to display 2 other attributes which are Mat Color, Mat Width.

There is different pricing according on what they select. I am afraid with all three showing, confusion and mistakes could be made which means I could have to refund mistakes or ask for more money. Meaning, if someone selects no on the first option, I don't want the colors or width to show since they are dependent upon the first attribute. Plus there are many colors so hiding unless they select yes, would be beneficial to the site.

Please see it in action here: http://www.framesforlife.com/copy-examples-c-18/new-frame-example-1-p-21

Could I hide two attributes with flexible attributes according to whether or not they select yes on the first. Something like:

#wAttrib-10 {Don't know} /*If this is yes then 11 and 12 below show*/
#wAttrib-11 {Don't know}/*If attrib-10 is set to yes this displays. If not it hides*/
#wAttrib-12 {Don't Know}/*If attrib-10 is set to yes this displays. If not it hides*/
```Just wondering if something like this would work?

Building a better web, one site at a time: Dayton Web Design

13 Jan 2012, 2:00 AM
#189
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Flexible Attributes addon support

Thank you Black Belt. It was worth a try.

Building a better web, one site at a time: Dayton Web Design

27 Jan 2012, 10:55 PM
#190
slingblade01 avatar

slingblade01

New Zenner

Join Date:
Dec 2011
Location:
Atlanta, GA
Posts:
32
Plugin Contributions:
0

Re: Flexible Attributes addon support

I'm using Flex-Attributes on ZCv1.5.0

  1. I have my attibute label on the left side of a text box, "Weight". I also want to add "lbs." to the right side of the box. Is this possible?
    Would this be done in the CSS? How?

  2. Same as above except I would like to add a comment below the text box.

TIA

2 Feb 2012, 7:26 PM
#191
aprilmarie avatar

aprilmarie

New Zenner

Join Date:
Aug 2009
Posts:
24
Plugin Contributions:
0

Re: Flexible Attributes addon support

Does this mod currently work with 1.5.0?

Oh, looks like it's working for someone at least. :)

2 Feb 2012, 7:47 PM
#192
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Flexible Attributes addon support

Neither of the two modified files in the mod package has changed in v1.5.0, so there should be no reason for it not to work.

2 Feb 2012, 7:51 PM
#193
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Flexible Attributes addon support

slingblade01 - You could probably add the "lbs." using the CSS :after pseudo-class, something like this:

#yourInputId:after {content: " lbs.";}

I would need to see your site to know the exact selector to use in your case.

2 Mar 2012, 5:49 PM
#194
stardust_2 avatar

stardust_2

New Zenner

Join Date:
Oct 2009
Location:
Tennessee
Posts:
8
Plugin Contributions:
0

Re: Flexible Attributes addon support

I was having trouble with my radio button problems and found a good solution...

All in the flexible .css

.attribImg input[type="radio"]{
	cursor: pointer; 
	width: 10px;
	height: 10px;
	position: relative;
	top: 70px;
	left: 30px;
	}

.attribImg label {cursor: pointer;}

here's the example

http://www.bowtieit.pcriot.com/index.php?main_page=product_info&cPath=1_4&products_id=1

My question is, is there anyway to change the color or look of the radio button?

2 Mar 2012, 7:39 PM
#196
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Flexible Attributes addon support

Can't color radio buttons.. But here's an article that provides links to articles which discuss CSS styling options/methods for form elements:
http://speckyboy.com/2009/07/02/20-resources-and-tutorials-for-creative-forms-using-css/

_stardust_:

I was having trouble with my radio button problems and found a good solution...

All in the flexible .css

.attribImg input[type="radio"]{
cursor: pointer;
width: 10px;
height: 10px;
position: relative;
top: 70px;
left: 30px;
}

.attribImg label {cursor: pointer;}

> 
> <http://www.bowtieit.pcriot.com/index.php?main_page=product_info&cPath=1_4&products_id=1>
> 
> My question is, is there anyway to change the color or look of the radio button?

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.

2 Mar 2012, 10:57 PM
#198
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Flexible Attributes addon support

gjh42:

Thanks, Diva! I've seen info like this before, but this is a nice concentrated dose of it.
You're welcome..:smile: I gotta lot of similar aggregated resources like this I use for various things....

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.

6 Apr 2012, 5:37 PM
#199
sharped avatar

sharped

New Zenner

Join Date:
Apr 2012
Posts:
3
Plugin Contributions:
0

Re: Flexible Attributes addon support

hi, is this mod working for 1.5 does anybody know?

6 Apr 2012, 9:18 PM
#200
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Flexible Attributes addon support

The two stock files that Flexible Attributes modifies have not changed since I wrote the mod, so it should work fine as is.