[Skip to main content](#vessel-content)

#   Backend Product form textarea field

##

- **[rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")**
- [![rkuiper's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/28454-rkuiper "View rkuiper's Profile") Topic Author
- [ Offline](/forum/user/28454-rkuiper)

Less More

- Posts: 79
- Thank you received: 2
-
-

6 years 6 months ago -  6 years 6 months ago [\#317938](#317938) by [rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")  *[Backend Product form textarea field](/forum/26-product-category-display/899638-backend-product-form-textarea-field#317938 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18  I have a question about the backend form for products (form.php). I have a field that is of the type textarea. I have put it in as follows:  Now this will show it as just a textarea. My question is how can i show the textarea with the WYSIWYG editor and that it will also safe the content. Any help would be appreciated. Thanks, Rogier")* was created by *[rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")*

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.18

I have a question about the backend form for products (form.php).
I have a field that is of the type textarea. I have put it in as follows:
Code:

&lt;dl id="hikashop_product_eigenschappen" class="hika_options"&gt; &lt;dt class="hikashop_product_eigenschappen"&gt;&lt;label&gt;Eigenschappen&lt;/label&gt;&lt;/dt&gt; &lt;dd class="hikashop_product_eigenschappen"&gt; &lt;textarea id="product_eigenschappen" style="width:100%" cols="35" rows="2" name="data[product][eigenschappen]"&gt;&lt;?php echo $this-&gt;product-&gt;eigenschappen; ?&gt;&lt;/textarea&gt; &lt;/dd&gt; &lt;/dl&gt;

Now this will show it as just a textarea. My question is how can i show the textarea with the WYSIWYG editor and that it will also safe the content.
Any help would be appreciated.
Thanks,
Rogier

Last edit: 6 years 6 months ago by [rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTk2MzgtYmFja2VuZC1wcm9kdWN0LWZvcm0tdGV4dGFyZWEtZmllbGQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

6 years 6 months ago [\#317943](#317943) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Backend Product form textarea field](/forum/26-product-category-display/899638-backend-product-form-textarea-field#317943 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18  I have a question about the backend form for products (form.php). I have a field that is of the type textarea. I have put it in as follows:  Now this will show it as just a textarea. My question is how can i show the textarea with the WYSIWYG editor and that it will also safe the content. Any help would be appreciated. Thanks, Rogier")*

Hi,

Why not create a custom field of the table "product" and of the type "wysiwyg" ?
That would display a HTML editor on the product edition page automatically for you.
With custom coding, it's not that easy to include a HTML editor.
You have such code:
[ stackoverflow.com/questions/9585595/joom...esnt-load-the-editor](https://stackoverflow.com/questions/9585595/joomla-jeditor-display-doesnt-load-the-editor)
But then you need extra coding for the variants, handling different type of editors, etc).
I would recommend to use just a custom field instead of trying to use your own code.

The following user(s) said Thank You: [rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTk2MzgtYmFja2VuZC1wcm9kdWN0LWZvcm0tdGV4dGFyZWEtZmllbGQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")**
- [![rkuiper's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/28454-rkuiper "View rkuiper's Profile") Topic Author
- [ Offline](/forum/user/28454-rkuiper)

Less More

- Posts: 79
- Thank you received: 2
-
-

6 years 6 months ago [\#318210](#318210) by [rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")  Replied by *[rkuiper](/forum/user/28454-rkuiper "View rkuiper's Profile")* on topic *[Backend Product form textarea field](/forum/26-product-category-display/899638-backend-product-form-textarea-field#318210 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18  I have a question about the backend form for products (form.php). I have a field that is of the type textarea. I have put it in as follows:  Now this will show it as just a textarea. My question is how can i show the textarea with the WYSIWYG editor and that it will also safe the content. Any help would be appreciated. Thanks, Rogier")*

Hi Nicolas,
Apologies for the late response. I got it too work.
I understand what you are saying. What i did was make a single block for json informatie. So i moved fields around. Otherwise they are all in one column and this way easier to seperate the json fields from the custom fields for the shop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTk2MzgtYmFja2VuZC1wcm9kdWN0LWZvcm0tdGV4dGFyZWEtZmllbGQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
