Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Trying to change attribute text and position

Trying to change attribute text and position

Views: 1,049

Results 1 to 4 of 4
20 Mar 2013, 4:02 PM
#1
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Trying to change attribute text and position

I would like to edit the text that reads "Please Choose" and remove the text that says "size" I tried using the developers tool kit but I got a whole lot of hits and changing the ones I thought it would be it didn't work...:frusty:

I would also like to move either the text or the drop down box so they are next to each other.

Any help would be great!

Attachment 12215

20 Mar 2013, 7:35 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Trying to change attribute text and position

includes/languages/english/product_info.php make a copy for your template
Change what is in red maintaing the set of single quotes

define('TEXT_PRODUCT_OPTIONS', '[B]Please Choose:[/B] ');

Size is what you defined this set of attributes with "Option Name"

20 Mar 2013, 8:01 PM
#3
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Trying to change attribute text and position

Great, Thank you! How about moving the drop down next to the text?

20 Mar 2013, 8:03 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Trying to change attribute text and position

The "Please Choose" is generic text that appears at the top of all attribute sections. Do you want it to be relevant to this particular attribute, or to apply to any attribute set you might have? If it is specific to this attribute, you really want to hide the Please Choose and edit the "size" attribute name. A lot of style customization is possible with the stock attribute output, but for some styling, you really need the added hooks offered by Flexible Attributes from Plugins. Seeing what you have live is the only reliable way to advise on attribute reworking.