![]() |
Re: New Field in product page
I've followed the article and added a new field (I'm replacing the standard x-cart tab with an custom html one).
Code:
class Info extends \XLite\View\FormModel\Product\Info implements \XLite\Base\IDecorator It all works but when I enter HTML all the tags are stripped out. Is there something else I should be defining somewhere? |
Re: New Field in product page
Did you decorate \XLite\Model\DTO\Product\Info as well?
Check how the class reads and writes the "full_description" field (that uses the WYSIWYG editor too) to the product model. |
Re: New Field in product page
yep I had that decorated as well but with this...
$object->setSpecification($this->default->specification); when I needed this... $object->setSpecification((string) $rawData['default']['specification']); |
All times are GMT -8. The time now is 01:41 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.