Blank page with VM 3.0.8

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Re: Blank page with VM 3.0.8

Postby admin » Wed May 13, 2015 6:57 pm

hello, also i suggest to check if the theme is using tabcontent.js or other javascript files and if the theme is older than one year, you also may need to adjust js code from:

op_runSS(

to
Onepage.op_runSS(

or any other code that references the opc's onepage.js has to have the prefix Onepage.

the op_runSS triggers ajax on specific events.

to see if you theme gives any errors (especially when you are logged in) you may need to press F12 key in google chrome and see if you get any errors like "function not found" and similar at google chrome console:

Image

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Blank page with VM 3.0.8

Postby peter@.....com » Thu May 14, 2015 10:35 am

admin wrote:prior code (cca):
$userOption = shopFunctionsF::getComUserOption();

new code:
$userOption = 'com_users';



Where would I find/change this code? I am using a custom template derived from Icetheme.
peter@.....com
 
Posts: 38
Joined: Sat Aug 20, 2011 12:48 pm

Re: Blank page with VM 3.0.8

Postby admin » Fri May 15, 2015 11:34 am

hello, i opened a file from old opc 2.0.100 to be more exact on these changes:

1. if you are using an older opc theme (more then one year), you may need to edit these files:

/components/com_onepage/themes/ {YOUR SELECTED OPC THEME AT THE DISPLAY TAB} /onepage.unlogged.tpl.php

2. and locate this lines (to make it vm3 compatible) - icetheme based:

Code: Select all
if(!class_exists('shopFunctionsF')) require(JPATH_VM_SITE.DS.'helpers'.DS.'shopfunctionsf.php');
$comUserOption=shopfunctionsF::getComUserOption();


and update to:
Code: Select all
$comUserOption='com_users';


2. check if your theme is using tabcontent.js - three column based:
Code: Select all
op_runSS();

to this:
Code: Select all
Onepage.op_runSS();


OR TAKE THE TABCONTENT.JS FROM THE CORE THEME INCLUDED WITH THE INSTALLER.

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Previous

Return to One Page Checkout for Virtuemart 3 on Joomla 3.x