Forums / Templates, Stylesheets, Page Layout / Red asterisk on required attributes & issue with required attribute

Red asterisk on required attributes & issue with required attribute

Views: 1,892

Results 1 to 7 of 7
3 Sep 2012, 3:14 PM
#1
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Red asterisk on required attributes & issue with required attribute

Hello zenners,

  1. Any idea how i can add a red asterisk at each required attribute?

  2. Also i don't know why but even when a customer fills in the required attribute an error still appears upon adding to cart:

On the Option for: ............ You picked an Invalid Selection: User Input Required

On the Option for: ................ You picked an Invalid Selection: User Input Required

On the Option for: ................ You picked an Invalid Selection: User Input Required

On the Option for: ............................. You picked an Invalid Selection: User Input Required

3)Anyway to set one attribute should require a re-entry of the previous attribute and system should make sure both are the same? (like you usually find "confirm email address)

Thank you all for taking your time to help me!

4 Sep 2012, 7:26 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Red asterisk on required attributes & issue with required attribute

A link to where this can be seen would assist

Zen-Venom Get Bitten

6 Feb 2013, 5:47 PM
#4
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Re: Red asterisk on required attributes & issue with required attribute

Hello,

I'm still haveing the same issue, i have products with multiple attributes and even when customer fills in ALL attributes an error message will still come up:

Attachment 11897

None of the attributes are set as "Required" in the attributes controller (However i do want some to be required)

Another thing to note, that by clicking add to cart again after the error is displayed, the item will be added to cart successfully

Here is a link to a product page where i have this issue:

http:// cheques plus . com /index.php?main_page=product_info&cPath=1_9&products_id=1

Thanks in advance!

12 Feb 2013, 8:02 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Red asterisk on required attributes & issue with required attribute

If you look, via phpMyAdmin, at the table:
configuration

Do you have a record for the configuration_key when you search for configuration_key:
TEXT_PREFIX

If not, can you try adding this to your database:

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, now(), now(), NULL, NULL);

Does this fix the problem?

If you do already have a configuratin_key for:
TEXT_PREFIX

what do the values read on this record?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Feb 2013, 9:22 PM
#6
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Re: Red asterisk on required attributes & issue with required attribute

Ajeh:

If you look, via phpMyAdmin, at the table:
configuration

Do you have a record for the configuration_key when you search for configuration_key:
TEXT_PREFIX

If not, can you try adding this to your database:

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, now(), now(), NULL, NULL);


There was no record for TEXT_PREFIX,

i added the above record, this fixed the issue that the option names didn't come up on the error message, however i still get the message even on attributes not set as required and even the user DID input the information.
13 Feb 2013, 2:18 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Red asterisk on required attributes & issue with required attribute

This appears to be working now ... have you fixed it? :lookaroun

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!