Author Topic: VM2 Custom Fields Integration - IT WORKS!  (Read 7473 times)

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 93
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: 3.2.12
VM2 Custom Fields Integration - IT WORKS!
« 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!
www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7885
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #1 on: November 21, 2013, 20:54:06 pm »
$product_id =  ff_getParam('virtuemart_product_id');   

works for me..

cheers
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 93
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: 3.2.12
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #2 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!
www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7885
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #3 on: November 23, 2013, 18:50:08 pm »
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

PolishedGeek

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 263
  • Joomla! Innovation Refined.
    • Polished Geek, LLC - Joomla! extensions, web development & custom integrations
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #4 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?
~ Deb Cinkus, CEO
Polished Geek, LLC   |    www.PolishedGeek.com

Creators of JoomLister - eBay Lister for Joomla!

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 93
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: 3.2.12
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #5 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.
www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

microtribe

  • Beginner
  • *
  • Posts: 39
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #6 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.

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 93
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: 3.2.12
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #7 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...
www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9607
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 93
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: 3.2.12
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #9 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.
www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9607
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #10 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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 93
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: 3.2.12
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #11 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.
www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 93
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: 3.2.12
Re: VM2 Custom Fields Integration - IT WORKS!
« Reply #12 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!!
www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips