Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Check User Group In The Order Invoice Rate Topic   - - - - -

 
  • Armita84
  • Member
  • Trial users
  • Join Date: 27-Sep 16
  • 42 posts

Posted 19 February 2019 - 10:05 AM #1

Hello,

 

I want to add some text in the order invoice for the users in the special usergroup, but I couldn't find any user group variable in the invoice document to add and check the usergroup in the invoice.

 

I want something like this to add in the invoice document:

 

{% if u.usergroup == "VIP Customer" %}

 

<div>My TEXT HERE</div>

 

{% endif %}