dapurhosting.com Blog for Tech

May 1, 2018

Disable Product Recommend Virtuemart Joomla

Filed under: CMS — Tags: , , — dh @ 6:26 am

Edit administrator/components/com_virtuemart/html/shop.recommend.php

Di bawah code
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );

Tambahkan kode baru:

header('Location: http://google.com/');
exit;

Powered by WordPress