Payment does not show in v2012 (for a custom theme)

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Payment does not show in v2012 (for a custom theme)

Postby admin » Sat Oct 05, 2013 1:17 pm

If you are experiencing an issue that payment disappears from checkout after the first ajax load, your theme directory probably includes characters that are refused by OPC renderer. We will included this fix within version 202:

in:
\components\com_onepage\helpers\loader.php

change from:
Code: Select all
$theme = JRequest::getVar('opc_theme', $selected_template);


to:
Code: Select all
$theme = JRequest::getVar('opc_theme', '');


The regex which clears the proper characters from the theme name sent over ajax changes the theme name in such way, it cannot locate the theme from ajax.

You should not use special characters in your directory names such as "." or similar.

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Return to One Page Checkout for Virtuemart 2