Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute titles and options labels for multiple stores #25

Closed
anneholst opened this issue Feb 17, 2011 · 2 comments
Closed

Attribute titles and options labels for multiple stores #25

anneholst opened this issue Feb 17, 2011 · 2 comments

Comments

@anneholst
Copy link

Thank you for SCP! The extension has solved a huge problem for me!

After installing I have experienced one puzzling and annoying problem, however:

My webshop is set up to work in three different countries (Denmark, Norway and Sweden). I.e., the Magento installation includes three stores, each using a different language, and each with its own country specific domain name. The same products are to be sold in all three countries.

When I add a new product attribute to match the product, Magento automatically asks me to fill in both a title (e.g. Material) and all options labels (e.g. rust, galvanised) for each of the stores plus for admin purposes. I have filled in he titles and labels for each store in the appropriate language, and the admin titles and labels in English:
http://rapidshare.com/files/448381123/Picture_10.png

As intended, on front-end, the Danish store shows options labels in Danish, the Swedish store shows options labels in Swedish, etc. But the titles above the options drop-downs are shown in all three stores in English:
http://www.landhave.dk/klassiske-hojbede/kvadratisk-hoejbed.html

I am quite puzzled why the options labels show correctly, but not the titles.

Is here anything I can do to correct the problem, or will I have to create separate attributes and attribute sets for each store?

Hope you can help me!

Please write me back on email for user name and password if necessary.

/Anne

@toasty
Copy link
Collaborator

toasty commented Feb 17, 2011

I've had a quick look and though I've not yet spotted what is it about SCP that's doing this, you can fix it temporarily by editing core Magento code here:
app/code/core/Mage/Catalog/Model/Product/Type/Configurable/Attribute.php

Change line 72 from:
} else if (!is_null($this->getData('label')) && $this->getProductAttribute()) {
to
} else if ($this->getProductAttribute()) {

I'll leave it as an open bug as something I need to look into so that you don't need to edit core code to fix it

Matt

@anneholst
Copy link
Author

Thank you so much, Matt!

Saved me a lot of trouble once again!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants