Forums / Setting Up Categories, Products, Attributes / Attribute gives error when adding product to cart

Attribute gives error when adding product to cart

Views: 992

Results 1 to 7 of 7
4 Jul 2016, 6:51 PM
#1
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Attribute gives error when adding product to cart

We have a test version of Zen Cart V1.5.5a installed. When I try to add an item to the shopping cart the system throws the below error:

Please correct the following:
On the Option for: Google Product Category You picked an Invalid Selection: Toys & Games > Toys > Dolls, Playsets & Toy Figures > Action Figures

Of course this is the attribute for Google Feeder and the user should not be able to see this on the screen nor should they get this error.

The attribute is flagged as "Display Only" which means "do not display" but it displays it anyway and gives the error.

anyone help on this issue?
Thanks

4 Jul 2016, 9:29 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,873
Plugin Contributions:
19

Re: Attribute gives error when adding product to cart

Make sure you didn't accidentally select "Required"

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

4 Jul 2016, 10:34 PM
#3
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Re: Attribute gives error when adding product to cart

dbltoe:

Make sure you didn't accidentally select "Required"

Select "Required" from where? We converted from V1.5.0 to V1.5.5a. All the attributes are the same. Where is this "Required" your referring too?

4 Jul 2016, 10:37 PM
#4
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Re: Attribute gives error when adding product to cart

sw1138lr:

Select "Required" from where? We converted from V1.5.0 to V1.5.5a. All the attributes are the same. Where is this "Required" your referring too?

I found the "Required" for text. All products are OFF. - confirmed in the database and on the Attributes Controller screen.

5 Jul 2016, 2:32 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Attribute gives error when adding product to cart

sw1138lr:

The attribute is flagged as "Display Only" which means "do not display"
Um, why would "display only" mean "not display"?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Jul 2016, 3:23 AM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute gives error when adding product to cart

What plugins did you previously have installed? How was the css previously modified to hide these options? What plugins have been installed since then?

Typically attribute display is affected by includes/modules/YOUR_TEMPLATE/attributes.php which may have been modified in your original store to do things differently with your current data field setup when accessed on your old site.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

5 Jul 2016, 5:53 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,873
Plugin Contributions:
19

Re: Attribute gives error when adding product to cart

DrByte:

Um, why would "display only" mean "not display"?:blush: Read past that one.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com