How to get cart position in 'plgVmOnViewCartVM3' of vmcustom field?

Started by gba, December 30, 2020, 18:43:32 PM

Previous topic - Next topic

gba

Hello!

In the cart the products are numbered by a position id.
i.e. the delete button having 'name='delete.[id]"', or there is also a hidden input having 'name="cartpos[]" value="[id]"'.
How can I find out the current cart position id within the function plgVmOnViewCartVM3() of a vmcustom field?

Thank you very much in advance for any useful hint!

Kind regards,
Gerald

gba


Studio 42


Jörgen

If i get it right the customfields are only called when the position is right. So why the question ?

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.