News:

Looking for documentation? Take a look on our wiki

Main Menu

Second product description field for specific products

Started by dslove, June 04, 2019, 08:16:16 AM

Previous topic - Next topic

dslove

Hi all,

A client has requested the creation of an additional description field, but only for products they choose to have this field.

The requirement for the field is not to be a simple textarea, but an editor.

It seems like it would be best done with some type of VM Custom Field, does anyone have any suggestions?

Joomla 3.9.6 / VM 3.4.x / PHP 7.2

Jörgen

Custom field, editor, yes.

You can add this to a hidden parent product if You have a structured product mix. This field is overridable and possible to hide if needed.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

dslove

Quote from: Jörgen on June 04, 2019, 08:58:55 AM
Custom field, editor, yes.

You can add this to a hidden parent product if You have a structured product mix. This field is overridable and possible to hide if needed.

Thank you Jörgen  :)

Naturally, it worked. As far as I can tell though, it is not translatable (website is multilingual -sorry I forgot mention). Any ideas on how this could be achieved?

Jörgen

You can translate the "heading" of the field with a language key, but content no. In that case I guess this is the only solution AFAIK.
https://extensions.virtuemart.net/products/multilingual-translatable-custom-fields-detail

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

dslove

Thanks again Jörgen!

Yes I already translated the heading using language keys.

Will look into this solution, it may very well be exactly what I need :)

Studio 42

#5
https://shop.st42.fr/en/products/shortcodes.htm can use field per language and have an editor field.
See doc https://shop.st42.fr/en/shorcodes-english-doc#editor
Note that all types of field in this plugin can be displayed or not, for each language and user group(s) !

dslove

Quote from: Studio 42 on June 04, 2019, 13:32:52 PM
https://shop.st42.fr/en/products/shortcodes.htm can use field per language and have an editor field.
See doc https://shop.st42.fr/en/shorcodes-english-doc#editor
Note that all types of field in this plugin can be displayed or not for each language and user group(s) !

Fantastic!  :)
Can I use my own editor (JCE Pro) or the built-in editor is the only option?