Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!$isGuest) {
- if ($user->hasRole('opt', false) && $this->no_discount == 0) {
- $this->endprice = $this->price2 * ((100 - $user->profile->discount) / 100);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement