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

Call to undefined method VirtueMartModelCustomfields::_getCustomPrice()

Started by roooxanne, October 01, 2018, 18:22:52 PM

Previous topic - Next topic

roooxanne

www.4body.it is running on a 3.812 with VM 3.4.0 and PHP 7.2.
After updating platform, components and plugins the website went down with this error:

Call to undefined method VirtueMartModelCustomfields::_getCustomPrice()

I've seen this topic --> http://forum.virtuemart.net/index.php?topic=140960.msg496209#msg496209
but the solution doesn't work for me (db tables ok) :(

I need some help please...

Thanks in advance,
Max

GJC Web Design

and this in your template?


$price = VirtueMartModelCustomfields::_getCustomPrice($productCustom->customfield_price, $currency, $calculator);

and is now

$price = VirtueMartModelCustomfields::renderCustomfieldPrice($productCustom, $product, $calculator);

have u tried with Beez or protostar template?
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


MalcolmTrotter


MalcolmTrotter