VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Actlas on February 11, 2013, 10:22:14 AM

Title: WYSIWYG textarea custom field!
Post by: Actlas on February 11, 2013, 10:22:14 AM
We have been looking for this for a long time!
This seems to be the solution: http://siteprezentare.ro/2013/02/virtuemart-2-textarea-product-custom-field/ (http://siteprezentare.ro/2013/02/virtuemart-2-textarea-product-custom-field/)

(http://siteprezentare.ro/wp-content/uploads/2013/02/VirtueMart-2-Textarea-product-custom-field.jpg)

We tried it and it seems to work but when we add products to our cart a blank page appears.
Anybody else had luck with this? We are on VM 2.0.6 and cannot update at this time.

Title: Re: WYSIWYG textarea custom field!
Post by: kacper1972 on February 11, 2013, 11:35:30 AM
Hello

I Have the same problem, it seems that it do not work with the vm 2.0.6. J can't olso update VM

Title: Re: WYSIWYG textarea custom field!
Post by: Actlas on February 11, 2013, 15:15:29 PM
I tried it on a fresh J 2.5.9 VM 2.0.18 install. The product gets added to the cart but the text entered is nowhere to be found.
I contacted the author. Hopefully this wil get fixed.
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on February 11, 2013, 17:05:02 PM
Hi guys,

I helped developing this plugin. Can you send me a private message with an admin account to see what the problem is?
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on February 11, 2013, 17:20:44 PM
For VirtueMart 2.0.6 you don't need to replace cart.php.
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on February 11, 2013, 18:50:19 PM
Being a javascript based editor, WYSIWYG can be influenced by other javascripts that your template loads.
The first step you need to do is to go to VirtueMart->Configuration->Checkout and uncheck "Display modal popup upon 'Add to cart'". Looks like wysiwyg editor doesn't save the input text if this option in VirtueMart is enable.
Also, go to  VirtueMart->Configuration->Templates and be sure that the options
"Using the VirtueMart jQuery"
"Using the product Scripts"
"Use external google jQuery library"
are checked.
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on February 11, 2013, 21:33:37 PM
Sorry Actlas,

Can't really work on your site. I can't overwrite any of the files using ftp. First, I want to sugest to try to update your tinymce files from media/editors/tinymce/jscripts/tiny_mce with the files from the latest version of joomla 2.5.9. Second, uninstall the free version of your VM - textarea and then install the plugin provided by MC Web Design. You don't need to overwrite cart.php. If all these steps don't work, I sugest upgrading to the latest version of Joomla and VirtueMart. I tested the plugin for the latest versions and it works fain. Don't forget to uncheck "Display modal popup upon 'Add to cart'" from VirtueMart->Configuration->Checkout.
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on February 11, 2013, 22:31:09 PM
I managed to figure it out. I sent you the download link for the modified plugin for VM 2.0.6. For this version of VirtueMart you don't need to overwrite cart.php.
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on February 13, 2013, 11:32:53 AM
We updated the plugin for all stable versions of VirtueMart starting from VM2.0.6 to VM2.0.18a. For now, the plugin for VM2.0.6 doesn't support price by letter option, only price by total input text. For the other versions of VirtueMart the price by letter option works ok. We'll try to fix this issue also. For all versions of the plugin, don't forget to go to VirtueMart->Configuration->Checkout and uncheck "Display modal popup upon 'Add to cart'".
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on February 13, 2013, 18:21:50 PM
We are proud to announce that we have also fixed the problem with the "price by letter" option for VM 2.0.6.
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on April 28, 2013, 14:55:44 PM
Also added image upload feature (it uses image upload plugin for TinyMCE provided by http://justboil.me/).
Title: Re: WYSIWYG textarea custom field!
Post by: Maxim Pishnyak on May 03, 2013, 10:39:21 AM
Oh my god anonimucv! Why this thread is not in third party forum??
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on May 03, 2013, 12:36:30 PM
Third party forum link: http://forum.virtuemart.net/index.php?topic=115308.0 (http://forum.virtuemart.net/index.php?topic=115308.0)
Title: Re: WYSIWYG textarea custom field!
Post by: MC Web Design on June 20, 2016, 23:46:27 PM
New plugin works with Joomla 3.8.2.
Demo (Joomla 3.8.2 & VirtueMart 3.2.4): http://virtuemart-textarea.mcwebdesign.ro/ (http://virtuemart-textarea.mcwebdesign.ro/)