Hi Mark!
Sorry for not responding here for a long time. Happy to hear that you achieved success with this mod!
Quote:
Originally Posted by Mark N
How can I pull the attribute value in the tpl so I can use HTML in the field? I tried using {a.value:htmlspecialchars}, {a.value:h} and [a.value:loadHTML} but none of these work.
|
Actually, {a.value:h} should be working. Could you please try it one more time and let me know if the problem is still there?
Quote:
Right now the extended specs and where used attributes still show up on the standard "Specification" tab, how can I suppress this?
|
In this case, you need to add the getAttributesWidgets() function into your View/Product/Details/Customer/Page/APage.php script inside the module and then delete needed attributes in this method.
It will be something like this:
PHP Code:
protected function getAttributesWidgets()
{
$widgets = parent::getAttributesWidgets();
foreach ($widgets as $widget) {
foreach ($widget->getAttrList() as $attribute) {
// defining what should be left in the $attributeWidgets
// storing result in $result var
}
}
$this->attributesWidgets = $result;
return $this->attributesWidgets;
}
and that is it, after that it should be working as you need.