News:

Support the VirtueMart project and become a member

Main Menu

Errors with shopping cart variant

Started by surfthespot, June 08, 2012, 04:23:13 AM

Previous topic - Next topic

surfthespot

Hi, I am using Virtuemart 2.0.6 w/ Joomla 2.5.4

My website is a photography site. I want to sell prints of my work. I made some cart variants for print sizes and once I got things sort of working. I got this error on the Cart Page --- Warning: Missing argument 4 for plgVmCustomTextinput::plgVmOnViewCart() in /home/......./plugins/vmcustom/textinput/textinput.php on line 100

And this error on the cart module

Warning: Missing argument 4 for plgVmCustomTextinput::plgVmOnViewCartModule() in /home/......./plugins/vmcustom/textinput/textinput.php on line 91

website is www.surfthespot.com

patrik60

I get the same error messages (using the download plugin 1.0.6). May be this is a php problem: I did copy the whole Joomla configuration (files, database) to my local environment. There it works fine.
The php version on my local environment is 5.3.6, on the not working live server it is 5.3.10

The problem started with VM 2.0.7. I am on rev 6164 now.


patrik60

Thank you for the hint. I have seen this topic also. But the problem started with revision 6004:

"changed all fields using the virtuemart_customfield_id and not the virtuemart_custom_id anylonger
removed in foreach ($this->products as $cart_item_id=>&$product){ the & is now foreach ($this->products as $cart_item_id=>$product){
changed textinput using now also the parameter $productCustom
adjusted template of textinput now also using virtuemart_customfield_id"