| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
New Field in product page | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
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:
It all works but when I enter HTML all the tags are stripped out. Is there something else I should be defining somewhere?
__________________
Core version: 5.5.xx |
|||||||
#22
|
|||||||||
|
|||||||||
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.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#23
|
|||||||
|
|||||||
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']);
__________________
Core version: 5.5.xx |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|