I have successfully upgraded Virtual Mart 3 in joomla 2.5
When i select cart after adding products i am getting following error
I am already registered
Continue Shopping
Fatal error: Call to undefined method shopFunctionsF::getComUserOption() in /data/web/e37025/html/templates/theme327/html/com_virtuemart/user/login.php on line 24
I am using custom theme, i am very new to joomla and virtual mart please help
Yes -
Quote/templates/theme327/html/com_virtuemart/user/login.php
this is an over ride in your template - try renaming it to /templates/theme327/html/com_virtuemart/user/login__.php so the native VM file is uded
but sounds like your template isn't VM3 compatible
If you have further errors try renaming the whole /templates/theme327/html/com_virtuemart folder to something else so the native VM template is used
i.e /templates/theme327/html/com_virtuemart__
Quote from: leoncarter on November 29, 2014, 09:23:39 AM
I have successfully upgraded Virtual Mart 3 in joomla 2.5
When i select cart after adding products i am getting following error
I am already registered
Continue Shopping
Fatal error: Call to undefined method shopFunctionsF::getComUserOption() in /data/web/e37025/html/templates/theme327/html/com_virtuemart/user/login.php on line 24
I am using custom theme, i am very new to joomla and virtual mart please help
Old topic, but I believe many people get this error when use VM 3.0 with old template. Function getComUserOption() no longer exists in VM 3.0, so what you need to do is simply change shopFunctionsF::getComUserOption() to "com_users" in your template override (in this case in /data/web/e37025/html/templates/theme327/html/com_virtuemart/user/login.php on line 24).
So if you have something like
$comUserOption=shopfunctionsF::getComUserOption();
change this line to
$comUserOption="com_users";
If this is the only problem, that's it.
Thank you for this good explanation