Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Removing the words "Please Choose:"

Removing the words "Please Choose:"

Locked

Views: 1,341

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
2 Mar 2007, 4:17 AM
#1
bpais avatar

bpais

New Zenner

Join Date:
Mar 2007
Posts:
5
Plugin Contributions:
0

Removing the words "Please Choose:"

I am setting up text attributes for an item so that when the customer chooses to purchase this item, he must fill in a text field.

Whan I add this text attribute to the item, the words "Please Choose:" show up on the Item page just above the text field.

How do I have the text field attribute, but not the extra unwanted text that says "Please Choose:"?

2 Mar 2007, 10:37 AM
#2
mshutch avatar

mshutch

New Zenner

Join Date:
Feb 2007
Location:
Ontario, Canada
Posts:
34
Plugin Contributions:
0

Re: Removing the words "Please Choose:"

You have to edit the product_info.php file in your includes/languages/english directory. I did this by copying the file to my includes/languages/english/custom directory and removing the words "Please Choose:" there. I hope this helps.

Colleen

3 Mar 2007, 11:10 PM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: Removing the words "Please Choose:"

Just remember that when you change a constant definition to be blank, you need to leave the '' (two single quotes).

4 Mar 2007, 12:47 AM
#4
ssolis5788 avatar

ssolis5788

New Zenner

Join Date:
Feb 2007
Location:
Santa Clara, CA
Posts:
98
Plugin Contributions:
0

Re: Removing the words "Please Choose:"

Thanks to you both for this! I've been wondering how to remove the "Please Choose:". When you said you copied the product_info.php file to your custom directory, does that mean you have to tell Zen Cart to look in that directory for the instruction? Or is that just a place where you keep a copy of the original code, unchanged?

Sandy

4 Mar 2007, 6:40 AM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Removing the words "Please Choose:"

You copy the files you want to change into your custom template directories, and edit there. Leave the originals in /template_default/ unchanged. Do not copy any files that you are not changing - it's a waste of time and energy.

As long as your changed files are in the proper override directories, Zen Cart will know to look for them instead of the originals.