VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: edk on September 27, 2018, 04:38:09 AM

Title: Custom field input not saved
Post by: edk on September 27, 2018, 04:38:09 AM
Hi, I've added a custom field to a product so customers can add information for a product they are ordering.  This part seems to work, I used the text input plugin option.  The customer can add the text OK, but, when the order is finalised and you view the order, there is no custom text.  Have I missed something?
Title: Re: Custom field input not saved
Post by: Jörgen on September 27, 2018, 09:45:19 AM
What VM version, Joomla etc ?

VM 3.4 has a hickup with custom fields.
Have You tried to uncomment the line in the file:administrator/components/com_virtuemart/models/custom.php line 412

// $error = $dispatcher->trigger('plgVmOnStoreInstallPluginTable', array('custom' , $data, $table));


Jörgen @ Kreativ Fotografi
Title: Re: Custom field input not saved
Post by: edk on September 28, 2018, 05:05:50 AM
Thanks Jorgen, apologies for omitting the versions.  Had another look and realised that I didn't check "Cart atribute".

Thanks for the assistance  :)
Title: Re: Custom field input not saved
Post by: dogmansa on September 28, 2018, 11:35:51 AM
Hi Guys

This might also be my problem. Since updating to 3.4 the sizing options for garments is not displaying on checkout or the Invoice. Is it possible to roll back to my previous version for now? Also what would be the best way to do it? I now have 3 sites with this problem.

Many thanks for any assistance you can give

Title: Re: Custom field input not saved
Post by: GJC Web Design on September 28, 2018, 11:48:07 AM
QuoteHave You tried to uncomment the line in the file:administrator/components/com_virtuemart/models/custom.php line 412
Code: [Select]
//   $error = $dispatcher->trigger('plgVmOnStoreInstallPluginTable', array('custom' , $data, $table));

Jörgen @ Kreativ Fotografi

just remove the slashes

this will be fixed in 3.4.1
Title: Re: Custom field input not saved
Post by: dogmansa on September 28, 2018, 12:04:58 PM
Hi

Many thanks for that. I will certainly give it a try

Appreciate the speedy response
Title: Re: Custom field input not saved
Post by: dogmansa on September 28, 2018, 12:13:59 PM
Hi

Have checked the file and that line is not commented (Hope I'm understanding the instruction properly) There are no slashes etc
Title: Re: Custom field input not saved
Post by: dogmansa on September 28, 2018, 12:29:55 PM
Apologies. Please ignore previous message. Wasn't looking properly