Invoice Mebership ID tag

  • Spiros Delimpasis
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #52741 by Spiros Delimpasis
Invoice Mebership ID tag was created by Spiros Delimpasis
Hello, is there any way to add the generated Membership ID inside my invoice? I have already tried [MEMBER_ID] and [MEMBERSHIP_ID] but it didn't work.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 5 months ago #52772 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invoice Mebership ID tag
That tag is not supported. If you want, we you can submit a support ticket sending us super admin account of your site. I will ask my dev to modify code to support that tag for yiu

Or if you know basic coding, you can modify it yourself :

1. Open components/com_osmembership/helper/helper.php

2. Find the function generateInvoice

3. Inside that function, you will see code like this:
Code:
$replaces['phone'] = $row->phone;

4. Add the follwing line of code after that line:

$replaces = $row->membership_id;

After that, you can use [MEMBERSHIP_ID] tag in the invoice

Tuan

Please Log in or Create an account to join the conversation.