VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Coding Central => Topic started by: Robert_ITMan on November 21, 2013, 16:33:35 pm

Title: VM2 Custom Fields Integration - IT WORKS!
Post by: Robert_ITMan on November 21, 2013, 16:33:35 pm
Using 3rd party plugins I have put in place custom fields for VM2 that I am very happy with - and I'm sure you will be too. I'm using Crostec's BreezingForms and Polished Geek's Custom Fields for VirtueMart. These are great as they are so far unaffected by VM updates - I'm now using latest version 2.0.24b

IT WORKS! I posted my solution and code here for using BreezingForms Integration: http://crosstec.de/en/forums/15-usage/95513-populating-a-select-list-using-database-values.html?start=6#101764

See Also:
http://crosstec.de/en/extensions/virtuemart-custom-fields.html
http://crosstec.de/en/extensions/joomla-forms-download.html
http://docs.polishedgeek.com/wiki/display/BFCUSTOM/Introduction+to+Breezing+Forms+Custom+Fields+for+VirtueMart

I will publish my full solution here... but I first need a little help. I need the breezing form to tell me what the product id is of the page I'm on - I can't find the script anywhere. I'm using SEF so I can't use:
JURI::getInstance()->toString(array('scheme', 'host', 'port', 'path'));

I need the virtuemart_product_id and the form doesn't pickup on the virtuemart code which would let me use:
$this_product = $this->product->virtuemart_product_id;

PLEASE HELP!
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: GJC Web Design on November 21, 2013, 20:54:06 pm
$product_id =  ff_getParam('virtuemart_product_id');   

works for me..

cheers
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Robert_ITMan on November 23, 2013, 17:15:48 pm
$this->execPieceByName('ff_InitLib');
$product_id =  ff_getParam('virtuemart_product_id');
Works for me too - I knew it was something easy THANKS - you saved me hours!
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: GJC Web Design on November 23, 2013, 18:50:08 pm
 :)

couple of other tips here - http://www.gjcwebdesign.com/joomla-virtuemart/breezing-forms-facileforms.html
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: PolishedGeek on November 25, 2013, 16:45:26 pm
Glad to see the community was able to jump in and provide the answer to this. Everything else still working smoothly?
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Robert_ITMan on May 07, 2014, 19:22:42 pm
Everything working smoothly even after updating to VM 2.6.0 - updating VirtueMart has been easy so far and has not affected anything. This client site is now live and now I'm working on creating a demo site detailing the full solution... may take another few weeks before I can share it.
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: microtribe on October 14, 2015, 19:28:58 pm
This solution no longer works because Crosstec stopped supporting the extension as they are "developing their own cart." Check the extensions directory for other solutions. I found one that works.
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Robert_ITMan on October 14, 2015, 22:21:21 pm
This solution no longer works because Crosstec stopped supporting the extension as they are "developing their own cart." Check the extensions directory for other solutions. I found one that works.
Thanks for your post - please share what you found that works.

Breezing Forms and plugin still works with VM2.6.18

VM2.7 changed how the custom fields works and neither crosstec nor polished geek would fix it when I asked.

I'm looking at updating to VM3 and will need to get these forms working in it...
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Milbo on October 14, 2015, 22:25:55 pm
I appreciate that, would be great. We gathered some information for updating
http://docs.virtuemart.net/tutorials/development/175-code-adjustments-for-virtuemart-3.html
and
http://reinhold.kainhofer.com/software/tutorial-vm2-plugin-vm3.html
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Robert_ITMan on October 15, 2015, 16:40:40 pm
Thank you for the links Milbo! The info looks very helpful and I think I have a good template to work with that is designed for VM3 and is responsive ... I just need my client(s) to pay me to do the work which will take a few months... just in time for you to get VM4 out (!?)... I'm praying future updates will be MUCH easier.
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Milbo on October 15, 2015, 22:03:22 pm
Take a look on the vm2 and vm3 shipment/payment plugins. There you see as it should be. But vm3 was exactly necessary to clean up the customs. They are imho a lot easier to handle now.

If you want to have less stress for vm3.2 or vm4, use our API, use vRequest, vText, and the vmJsApi
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Robert_ITMan on November 07, 2015, 17:49:12 pm
Help! If anyone can help us get these working again for VM3+ it would be much appreciated! Please visit this page for more info and how to get the files you'll need: [url removed - since resolved, see post 2018-05-10]

Milbo: Thanks for the tips - I'll see what I can do... I'll either fix the plugins to work in VM3 or figure out a better way to do this.
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Robert_ITMan on May 11, 2018, 03:09:23 am
Update: VM has a new custom fields plugin 'rawforms' which replaces the need for BreezingForms VirtueMart Custom Fields plugins (VMBF), get it here: https://extensions.virtuemart.net/all-tutorials/9-custom-fields/31-rawforms

Let me know if you need help getting it working - it is so much easier to use than you would think at first - I have many working samples I can share with you!

Also, let me know if you are interested in the import script I developed which imports the #__facileforms_subrecords table data into the order item attributes #__virtuemart_order_items.product_attribute.

That took a long time ... now finally have upgraded from Joomla 2 / VM 2 to Joomla 3 / VM 3 ... just in time for Joomla 4 / VM 4 ...

Thank You Milbo and VM!!
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: References on December 11, 2018, 16:54:31 pm
Update: VM has a new custom fields plugin 'rawforms' which replaces the need for BreezingForms VirtueMart Custom Fields plugins (VMBF), get it here: https://extensions.virtuemart.net/all-tutorials/9-custom-fields/31-rawforms

Let me know if you need help getting it working - it is so much easier to use than you would think at first - I have many working samples I can share with you!

Also, let me know if you are interested in the import script I developed which imports the #__facileforms_subrecords table data into the order item attributes #__virtuemart_order_items.product_attribute.

That took a long time ... now finally have upgraded from Joomla 2 / VM 2 to Joomla 3 / VM 3 ... just in time for Joomla 4 / VM 4 ...

Thank You Milbo and VM!!

Hi Robert,  I am trying very hard to upgrade my vm 2 website to vm 3 but my site uses vm custom fields fro breezing forms and crosstec has no plans to make this plugin compatible with joomla 3.  I have also reached out to polish geek and I don't think they are interested in upgrading it either.  Have you found a solution that will allow breezing forms to be used with VM 3?  If so can you explain?  Can I hire you to help me figure this out?  I am also going to pm you.  I am desperate for a solution to this. 
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Studio 42 on December 11, 2018, 17:17:47 pm
Why they dont want update to VM3/Joomla3? The code itself should not really have many changes.
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Robert_ITMan on December 11, 2018, 17:48:33 pm
Have you found a solution that will allow breezing forms to be used with VM 3?  If so can you explain?  Can I hire you to help me figure this out?  I am also going to pm you.  I am desperate for a solution to this.
I know your pain - I have a working solution I'm sure you will like.
Title: Re: VM2 Custom Fields Integration - IT WORKS!
Post by: Robert_ITMan on December 11, 2018, 17:55:04 pm
Why they dont want update to VM3/Joomla3? The code itself should not really have many changes.
I know right? - the fact is that VMBF was limited and then VM changed how custom forms worked and Polished Geek decided not to continue with their plugin and gave it to Crostec who did nothing with it... no worries Max of VM developed 'rawforms' which replaces this need and I'll be happy to help you get it working for you too.