VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: jhdesign on October 05, 2012, 21:04:29 PM

Title: Custom Fields Bug - Plugin
Post by: jhdesign on October 05, 2012, 21:04:29 PM
It appears that any field of type "Plugin" shows on the cart summary multiple times.

Example:

A field named "Father's Name"

Shows up 10-15 times in the cart summary when filled.

Using latest version (2.0.12)
Title: Re: Custom Fields Bug - Plugin
Post by: UWiX on June 23, 2013, 17:09:19 PM
I've been 'fighting' with the custom fields plugin for some hours now and it seems the plugin is indeed adding each product seperatly if the "addtocart" button is clicked multiple times.
When not using the custom fields plugin for a product each click results in a single product with a counter in front of it (3x for 3 products, 6x for six...etc.).

Maybe Max Milbers (the author of the plugin) could help a bit where to look for a fix of this or give me a direction where to look for changes in the plugin?

Title: Re: Custom Fields Bug - Plugin
Post by: Milbo on June 23, 2013, 19:39:47 PM
Hello Websnooky, a little mix here with the common term "custom field plugins" and our "custom field plugin" called customsize, yes? It is true, the core is atm not prepared (missing trigger) to allow custom field plugins to decide if they can be combined with another product. But the idea of the customsize plugin is of course to buy for example 2 * 1,2 meter and 5 * 0.8 meter and the customer dont want then a 5,4 meter chain (for example, chains are not easy to cut through).
Title: Re: Custom Fields Bug - Plugin
Post by: UWiX on June 24, 2013, 10:30:22 AM
Hi there Milbo,

You're absolutly right - it seems my brains are mixing up a lot since I start figuring out the textinput customfield plugin ;-)

A few hours after posting my reply I realized it's logical the product get's added multiple times to the cart because every product can have a different user textinput....

BTW: Where can I place my questions for the textinput customfield plugin?