News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

GetPluginInCart error in virtuemart 2.6

Started by baoquocmt159, January 02, 2015, 11:08:00 AM

Previous topic - Next topic

baoquocmt159

Hi all,

I used VirtueMart 2.6.8 and i have develop an plugin vmcustom.
But in the GetPluginInCart function, $plgParam = $this->GetPluginInCart($product) returned no results, but same plugin on the VM 2.0.24 is ok.
I dont know why, please help me :s

Thank you !

baoquocmt159



baoquocmt159

#3
Quote from: Hutson on January 05, 2015, 13:09:59 PM
http://docs.virtuemart.net/tutorials/development/175-code-adjustments-for-virtuemart-3.html

Thank you, but it's not what i can solve.
Can you please specify the code lines that can help me?

And have anyone can help me?

Thank all !

AH

I used VirtueMart 2.6.8 and i have develop an plugin vmcustom.

How can anyone specify the code lines to help you when you developed the plugin!?

If you managed to develop a plugin then you should be able to use the same process to adjust you plugin for VM3

Try this to see if it helps you solve how you need to change YOUR code.

http://kainhofer.com/software/tutorial-vm2-plugin-vm3.html



Regards
A

Joomla 4.4.5
php 8.1

baoquocmt159

Quote from: Hutson on January 13, 2015, 11:47:44 AM
I used VirtueMart 2.6.8 and i have develop an plugin vmcustom.

How can anyone specify the code lines to help you when you developed the plugin!?

If you managed to develop a plugin then you should be able to use the same process to adjust you plugin for VM3

Try this to see if it helps you solve how you need to change YOUR code.

http://kainhofer.com/software/tutorial-vm2-plugin-vm3.html

Hi Hutson,
The first thank for help.
I mean when i use my plugin for VM 2.0.24 it's ok, $plgParam = $this->GetPluginInCart($product) have data, and when i use my plugin for VM 2.6.8 it's not work, because $plgParam = $this->GetPluginInCart($product) not have data.
So i think problem from VM 2.6.8 core.

Thank you !