The Customer Checkout in a popup (GreyBox) box seen during the checkout procedure can be disabled from the Joomla administrator area-> Components-> VirtueMart->Admin->Configuration->Site->Select the theme for your Shop->Configuration.
If the above option is not present, there are two manual approaches.
First, you can open the components/com_virtuemart/themes/YOUR_VIRTUEMART_THEME/theme.config.php file. Replace the YOUR_VIRTUEMART_THEME string with your actual VirtueMart theme name.
Enter the following line:
useGreyBoxOnCheckout=0
Alternatively, edit the administrator/components/com_virtuemart/classes/htmlTools.class.php file and put comment signs (#) in front of each line of the function loadGreybox( ) code:
function loadGreybox( ) {
global $mosConfig_live_site, $vm_mainframe;
# if( !defined( '_GREYBOX_LOADED' )) {
# $vm_mainframe->addScriptDeclaration( 'var GB_ROOT_DIR = ''.$mosConfig_live_site .'/components/'. VM_COMPONENT_NAME .'/js/greybox/';', 'top' );
# $vm_mainframe->addScript( $mosConfig_live_site .'/components/'. VM_COMPONENT_NAME .'/js/greybox/AJS.js' );
# $vm_mainframe->addScript( $mosConfig_live_site .'/components/'. VM_COMPONENT_NAME .'/js/greybox/AJS_fx.js' );
# $vm_mainframe->addScript( $mosConfig_live_site .'/components/'. VM_COMPONENT_NAME .'/js/greybox/gb_scripts.js' );
# $vm_mainframe->addStyleSheet( $mosConfig_live_site .'/components/'. VM_COMPONENT_NAME .'/js/greybox/gb_styles.css' );
# define ( '_GREYBOX_LOADED', '1' );
# }
}
You need help with a shopping cart? hostlantern is specialized in eCommerce hosting and provides expert support for a large number of shopping carts. Check out our shopping cart hosting services!