Author Topic: Second product description field for specific products  (Read 349 times)

dslove

  • Jr. Member
  • **
  • Posts: 88
Second product description field for specific products
« on: June 04, 2019, 08:16:16 am »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2429
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Second product description field for specific products
« Reply #1 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.

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

dslove

  • Jr. Member
  • **
  • Posts: 88
Re: Second product description field for specific products
« Reply #2 on: June 04, 2019, 09:30:53 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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2429
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Second product description field for specific products
« Reply #3 on: June 04, 2019, 11:24:58 am »
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.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

dslove

  • Jr. Member
  • **
  • Posts: 88
Re: Second product description field for specific products
« Reply #4 on: June 04, 2019, 11:31:12 am »
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

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4049
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Second product description field for specific products
« Reply #5 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) !

dslove

  • Jr. Member
  • **
  • Posts: 88
Re: Second product description field for specific products
« Reply #6 on: June 04, 2019, 13:39:38 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?