OpenCart 2.1.0.1, Journal 2 theme
How do I apply conditional css (using javascript or jquery) based on the user's customer group?
Here is what I have tried:
Code: Select all
<?php
if ($this->customer->getGroupId() = 9 ) {
$('.refine-images').css('opacity' , '0.5');
}
?>