Open marowi85 opened 11 years ago
Hi,
Product.Config.prototype.updateProductDescription = function(productId) {
var description = this.config.description;
if (productId && this.config.childProducts[productId].description) {
description = this.config.childProducts[productId].description;
}
$$('div.box-description div.std').each(function(el) {
el.innerHTML = description;
});
};
The below function only updates the description, so your code should be as below to make it work
<?php $_description = $this->getProduct()->getDescription(); ?>
<?php if ($_description): ?>
<div class = "box-description">
<div class="std">
<?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), $_description, 'description') ?>
</div>
</div>
<?php endif; ?>
Hello,
the dynamic product description doesn't work in our bought template, in default template it works well. I have compared both templates but I can not find the reason.
Could someone take a look at our template please?
/app/design/frontend/default/MAG020013/template/catalog/product/view.phtml
/app/design/frontend/default/MAG020013/template/catalog/product/view/description.phtml