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

Fatal error: Call to undefined method shopFunctionsF::

Started by Milbo, February 24, 2012, 18:45:04 PM

Previous topic - Next topic

Milbo

Errors like:

Fatal error: Call to undefined method shopFunctionsF::PdfIcon()
Fatal error: Call to undefined method shopFunctionsF::PrintIcon()
Fatal error: Call to undefined method shopFunctionsF::EmailIcon()

are connected to our changes to the shopFunctionsF. We use now a generic funtion, which replaces all of them.
search for:
echo shopFunctionsF::PrintIcon($link.'&print=1');
replace it with
echo $this->linkIcon($link . '&print=1', 'COM_VIRTUEMART_PRINT', 'printButton', 'show_printicon');

search for:
echo shopFunctionsF::EmailIcon($this->product->virtuemart_product_id); ?>
replace it with

$MailLink = 'index.php?option=com_virtuemart&view=productdetails&task=recommend&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component';
echo $this->linkIcon($MailLink, 'COM_VIRTUEMART_EMAIL', 'emailButton', 'show_emailfriend');


When you have still problems, you can temporarly use the file below until your template is updated. (of course you must rename it to php)

[attachment cleanup by admin]
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/