Forums / All Other Contributions/Addons / Improved Attributes Controller (now built-in to v1.3.9)

Improved Attributes Controller (now built-in to v1.3.9)

Views: 72,230

Results 301 to 305 of 305
12 Apr 2011, 1:20 AM
#301
devlyn avatar

devlyn

New Zenner

Join Date:
Jan 2006
Location:
Texas
Posts:
64
Plugin Contributions:
0

Improved Attributes Controller (now built-in to v1.3.9)

I think I might have some idea of what is going on now. I've gone through all my files again and couldn't find anything there that might be affecting this. However, a friend suggested I look for bugs in the java script and I fond a couple of errors that it's throwing. I think it has to do with a modification I made a couple years back. I wanted to add longer option values as descriptions for read only attributes go give tips during the ordering process as well as some html tags to make it more interactive. You can see what I mean here: http://inventory.oddbodkin.com/index.php?main_page=product_info&cPath=120&products_id=573 and click on attributes.

Do you think the longer names could be causing errors? There are 2 or 3 errors that attributes controller seems to be throwing.

one is: attributes_controller.php:1681Uncaught Syntax Error: Unexpected Token Illegal
attributes_controller.php:1324 Uncaught Reference Error: update_option is not defined

Any ideas on what's going on and how I can fix this?

Odd Bodkin Renaissance Shop (1.3.9h shop)
http://www.oddbodkin.com

12 Apr 2011, 11:30 PM
#302
devlyn avatar

devlyn

New Zenner

Join Date:
Jan 2006
Location:
Texas
Posts:
64
Plugin Contributions:
0

Re: Improved Attributes Controller (now built-in to v1.3.9)

I was able to fix this. There was a carriage return in one of my attributes that was mucking up the javascript. I figured it was user error. lol

Thanks for such an elegant system for clods like me. :)

devlyn:

I think I might have some idea of what is going on now. I've gone through all my files again and couldn't find anything there that might be affecting this. However, a friend suggested I look for bugs in the java script and I fond a couple of errors that it's throwing. I think it has to do with a modification I made a couple years back. I wanted to add longer option values as descriptions for read only attributes go give tips during the ordering process as well as some html tags to make it more interactive. You can see what I mean here: http://inventory.oddbodkin.com/index.php?main_page=product_info&cPath=120&products_id=573 and click on attributes.

Do you think the longer names could be causing errors? There are 2 or 3 errors that attributes controller seems to be throwing.

one is: attributes_controller.php:1681Uncaught Syntax Error: Unexpected Token Illegal
attributes_controller.php:1324 Uncaught Reference Error: update_option is not defined

Any ideas on what's going on and how I can fix this?

Odd Bodkin Renaissance Shop (1.3.9h shop)
http://www.oddbodkin.com

13 Jun 2011, 1:43 AM
#303
ekgmarketing avatar

ekgmarketing

New Zenner

Join Date:
Jun 2011
Location:
Fort Lauderdale, FL - USA
Posts:
2
Plugin Contributions:
0

Re: Improved Attributes Controller (now built-in to v1.3.9)

I have a brand new install. I'm not seeing these "dependent" attributes. Where should I be looking? I posted a question regarding this (and other stuff) earlier.

22 Aug 2011, 5:18 AM
#304
mortalwombat avatar

mortalwombat

Zen Follower

Join Date:
Jul 2010
Location:
Australia
Posts:
131
Plugin Contributions:
0

Re: Improved Attributes Controller (now built-in to v1.3.9)

EKGMarketing:

I have a brand new install. I'm not seeing these "dependent" attributes. Where should I be looking? I posted a question regarding this (and other stuff) earlier.

I, too, was having trouble understanding how this was built in to v.1.3.9...

Just to clear things up in this matter -
After downloading this mod, I realised the file (attributes_controller.php) is an admin file - therefore making the attribute controller in the ADMIN dependent.
e.g. You have the attribute option names Colour and Size, and option values Black and Small. When inserting attributes on products within the admin, as of v.1.3.9, the value Black will only show after selecting Colour, and Small after selecting Size.
Previously, all values for all options were shown, making a mess if you have lots of attributes.

So, the 'dependent' values only apply to the ADMIN side.

As a result, I am still looking for something that will create this effect on the public side, as EKGMarketing obviously is.

Does anyone know of anything that can do this?

Thanks,
Tija

22 Aug 2011, 3:01 PM
#305
divavocals avatar

divavocals

Totally Zenned

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

Re: Improved Attributes Controller (now built-in to v1.3.9)

Short answer.. no such thing as dependent attributes on the store-front side..

MortalWombat:

I, too, was having trouble understanding how this was built in to v.1.3.9...

Just to clear things up in this matter -
After downloading this mod, I realised the file (attributes_controller.php) is an admin file - therefore making the attribute controller in the ADMIN dependent.
e.g. You have the attribute option names Colour and Size, and option values Black and Small. When inserting attributes on products within the admin, as of v.1.3.9, the value Black will only show after selecting Colour, and Small after selecting Size.
Previously, all values for all options were shown, making a mess if you have lots of attributes.

So, the 'dependent' values only apply to the ADMIN side.

As a result, I am still looking for something that will create this effect on the public side, as EKGMarketing obviously is.

Does anyone know of anything that can do this?

Thanks,
Tija

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.