How do I change the label for size under tops in the commerce kickstarted demo?

See here http://pmr2.aw1.net/advance-directives-english-booklet-versions#overlay-context=advance-directives-english-booklet-versions I utilized the size for tops and changed it to states. BUT when I changed the label to States the change doesn't take effect (as you can see on that link). Please advise and any help would be greatly appreciated. Thank you ahead of time.

I attached a few screen grabs so you can see what I'm talking about with how I changed the label.

Comments

jsacksick’s picture

Category:bug» support
Priority:Major» Minor
Status:Active» Fixed

I'm not sure what you're actually trying to do... If you want to modify the label of the size field then you just have to edit your variation type fields by clicking on "Manage fields" and then edit on "size".

fineartist99’s picture

That's the thing, I changed that size to states.

jsacksick’s picture

Category:support» bug
Status:Fixed» Active

You're right I'm sorry, we're indeed updating the field labels in a hook_form_alter, See commerce_kickstart_product_ui_form_alter(), I don't know yet what should I do about that.

fineartist99’s picture

so what do I have to do?

jsacksick’s picture

I sent a patch to the Drupal Commerce issue queue to allow users to customize the attribute label, See #1946302: Allow attribute field titles to be customizable / translatable, you could comment the attribute title alteration from commerce_kickstart_product_ui_form_alter() and apply the patch or just modify the instance label.

vasike’s picture

Version:7.x-2.4» 7.x-2.x-dev
Status:Active» Needs review
StatusFileSize
new4.7 KB

here is a patch that moves the attributes label for add to cart implementation from form_alter to features.

vasike’s picture

Priority:Minor» Normal
jsacksick’s picture

Status:Needs review» Fixed

Committed.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.