VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Stephen Roberts on November 12, 2011, 00:23:12 AM

Title: Adding an onProductSave() event for vmcustomplugin
Post by: Stephen Roberts on November 12, 2011, 00:23:12 AM
I made a vmcustomplugin subclass where the data is edited in the VM back-end under the Custom Fields of a product. I'm basically using a product plugin instead of a custom field because the custom fields can't offer the functionality I need. However, when the user saves the product, I need the plugin to save it's data as well. Can you add something similar to an onProductSave() event to vmcustomplugin? I have some code for it if you'd like to see how I implemented it. Just let me know. Many thanks and keep up the great work!

Regards,

Stephen Roberts