VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: DanielIIC on November 25, 2017, 09:14:21 AM

Title: extra product information per category/language
Post by: DanielIIC on November 25, 2017, 09:14:21 AM
Joomla! 3.8.1
VirtueMart 3.2.4

Hi,
I would like to add some extra information on the bottom of the English (not the German) product description but this text block will have change soon.
So before i add to all product a text and then do the work again if something changes i wounder if there is a better solution.

Something like a module in Joomla that you can add to several pages but unpublish it or change it in one central position.

thanks for your answer
Daniel
Title: Re: extra product information per category/language
Post by: GJC Web Design on November 25, 2017, 18:06:43 PM
Normal Joomla custom module that only shows on VM pages and in German
Title: Re: extra product information per category/language
Post by: DanielIIC on November 27, 2017, 23:07:49 PM
Hi,
thanks for the answer.
I only want it on the product page, not everywhere
I used like in this post:
https://forum.virtuemart.net/index.php?topic=116135.0
but this does not work, just never shown.

any idea?
Title: Re: extra product information per category/language
Post by: Milbo on November 28, 2017, 10:41:07 AM
You could also work with a product pattern, maybe
Title: Re: extra product information per category/language
Post by: Ghost on November 28, 2017, 10:54:28 AM
If you need to show the same text on all products, fastest solution would be to add a module position to product template:

echo JFactory::getDocument()->loadRenderer('modules')->render('product-bottom',array('style'=>'none'),null);Then create a module with your text and assign it to product-bottom position and English language.

If you need the same text only on some products, you can use translated custom fields with empty translation for German language.
Title: Re: extra product information per category/language
Post by: DanielIIC on November 28, 2017, 19:59:24 PM
product pattern, i will try this!

thank you