Text attribute set to required but...
I set up a text attribute and makred it 'required.' I can still add it to cart without typing anything in. I found this thread, but there was no solution.
http://zen-cart.com/forum/showthread.php?t=40664
I swithched to the classic template, and the same thing happens. I set it to Default and Display Only also.
http://72.34.51.6/~thewahmm/index.ph...roducts_id=125
Help?
Re: Text attribute set to required but...
Re: Text attribute set to required but...
Hi - this sounds really basic, but it's a mistake I made in setting up attributes....
I have the same attribute assigned to more than one product, but the "Required" flag is set individually by product. I was changing the setting for the attribute assigned to one product, but then inadvertently testing it with another product in my store. Once I made sure I that I tested the same product I had just edited, it worked fine.
Computers tend to do what you tell them to do, not necessarily what you want them to do.
Re: Text attribute set to required but...
It's set up like it should be... for each product. Thanks for the tip though.
Re: Text attribute set to required but...
What add-ons do you have on your site?
Re: Text attribute set to required but...
Here goes.
Column Layout Grid for Product Listing
Priority Order Handling
Shopping Cart Free-Shipping-Qualifier Sidebox Template
paypal_sessions_viewer_2.0
CAPTCHA w/ TTF
GoogleSiteMapAdmin
simple google analytics
Checkout without Account
Sales Report 1.04
Here's an SQL edit I made so that I can edit an attribute value in the dB directly:
In orders_products_attributes table, edit the field products_options_values and change from BLOB to TEXT
I thought above could've been it, so I changed it back to BLOB, but it made no difference.
Can you tell me what file is responsible for doing the checking? I can try uploading a clean copy of it.
TIA!
Re: Text attribute set to required but...
You might run through this thread for some of the solutions to problems that have caused this Required Text Attribute to stop working:
http://www.zen-cart.com/forum/showth...=text+required
Usually, an add-on or missing data in the database has been the cause ... this, of course, makes it loads of fun to diagnose ... :blink:
Let us know if you find a solution for your particular issue ...
Re: Text attribute set to required but...
THANK YOU THANK YOU THANK YOU!!! I guess I didn't search the forum hard enough. The SQL patch worked like a charm!! Now I need to do that for 3 other carts...
Re: Text attribute set to required but...
Thanks for the update that this was able to fix your site ...