Hi,
On EE can be set the price to be show only to log user?
10x
Hi, if you mean in Community edition, take a look at \core\smarty\plugins\block.oxhasrights.php
it should be something like
function smarty_block_oxhasrights( $params, $content, &$smarty )
{
static $oUser = null;
static $blIsUser = null;
if ($oUser === null) {
$oUser = oxNew( 'oxuser' );
$blIsUser = $oUser->loadActiveUser();
}
if ($blIsUser ) {
return $content;
}
switch ($params['ident']) {
case 'SHOWARTICLEPRICE':
case 'TOBASKET':
return '';
default:
return $content;
}
}
10x for help.
I have Enterprise Edition and I find the solution # Administer User=> * Shop Roles
hi,
is this solution possible to take effect only at one specified category?
I’m using version 4.7.3 CE
Kind regards
with this module you can assign specified customer groups to specified products:
http://www.marmalade.de/shop/OXID-eShop-Module/OXP2C-Product2Customer.html
Hi,
it works fine in CE to change \core\smarty\plugins\block.oxhasrights.php
How can I avoid that an update overwrites this file?