VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: encreplus on April 12, 2013, 23:18:26 PM

Title: Need Product Availability in multiple language
Post by: encreplus on April 12, 2013, 23:18:26 PM
In the product status page i need the content of the field  Availability  to be multiple language ...

I have try with this code :  COM_VIRTUEMART_AVAILABILITY_TEXT ... but the result on the front end is COM_VIRTUEMART_AVAILABILITY_TEXT ...

How can i fix this ??

Stefan
Title: Re: Need Product Availability in multiple language
Post by: K&K media production on April 14, 2013, 02:41:36 AM
Is fixed for the next version.

You can make a template override for product details page and change line 222 to this:


<?php echo (file_exists(JPATH_BASE DS VmConfig::get('assets_general_path') . 'images/availability/' $this->product->product_availability)) ? JHTML::image(JURI::root() . VmConfig::get('assets_general_path') . 'images/availability/' $this->product->product_availability$this->product->product_availability, array('class' => 'availability')) : JText::_($this->product->product_availability); ?>