News:

Support the VirtueMart project and become a member

Main Menu

error in cart plugins after migration from vm2.6 to vm3.0.2

Started by motybz, January 19, 2015, 12:31:24 PM

Previous topic - Next topic

motybz

I try to adjust the plugin to the new system but some functions have changed or do not exist.
There is a doc detailing the changes between vm2.6 to vm3 in the shopping cart functions?
like this "Fatal error: Call to undefined method VirtueMartCart::prepareCartViewData() in C:\xampp\htdocs\joomla3\plugins\system\vponepagecheckout\cart\cartview.html.php on line 1118"


baoquocmt159

#2
Hi Hutson,

I have same problem, i did search and readed links you gave, but it useless for me :(
I can't find solution to replace prepareCartViewData function. Can you explain more for me? or someone can help me?

if (!class_exists('VirtueMartCart')) require(JPATH_VM_SITE . DS . 'helpers' . DS . 'cart.php');
$cart = VirtueMartCart::getCart();
and
$cart->prepareCartViewData(); // this is error line

Thank so much !

GJC Web Design

surely it is simpler to get the VM3 version of vponepagecheckout?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

baoquocmt159

Quote from: GJC Web Design on March 16, 2015, 22:03:44 PM
surely it is simpler to get the VM3 version of vponepagecheckout?

Yes can you help me?

Thank so much !

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum