Created
February 13, 2012 23:15
-
-
Save EHLOVader/1821364 to your computer and use it in GitHub Desktop.
override to name manufacturer in shop products
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($name == 'manufacturer') | |
{ | |
if ($this->grouped) | |
return $this->master_grouped_product->manufacturer_link; | |
else | |
return $this->manufacturer_link; | |
return $this->grouped_attribute_name; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment