Step 1: Adding product group.
Navigate to SYSTEM SETTINGS->PRODUCTS/SERVICES.
Click CREATE NEW GROUP
Fill out group name (example: Streaming services)
Click SAVE CHANGES.
Step 2: Adding product.
Click CREATE NEW PRODUCT.
Choose product type: other,
Choose product group, you just created,
Fill product name (example: Full TV),
Choose XUI.ONE module
Click CONTINUE
Fill out product description
Click on PRICING
Choose payment type: reccurring
Enable monthly or quarterly etc. and set price ( ! ).
Click on MODULE SETTINGS
Server group: XUI
Product type: Streaming line
Package: Choose wich package this product activates
Choose Automatically setup the product as soon as the first payment is received
Click on CUSTOM FIELDS
Add 3 custom fields: Line id,Mag id,E2 id , mark them all admin only.( !! )
If you want to add MAG support, then add one more custom field ( !!! ).
Field name: must be: "MAG mac address"
Field type: Text Box
Description: describe field to client, for example: If you own MAG box, fill MAC address here.
Validation: /^(?:[[:xdigit:]]{2}([-:]))(?:[[:xdigit:]]{2}\1){4}[[:xdigit:]]{2}$/
Check Show on orderform and Show on invoice.
Click Save Changes
Congratulations you have now setup a streaming line product!
! One service length per product ex. Monthly or Quarterly but not all together, also make sure your package has same length in XUI
If your package is trial, make sure to match its length with autoterminate on fixed term field.
!! Adding these custom fields is a must, without them module cannot work correctly.
!!! Make sure that your package supports MAG devices.