preloader
v 6.5 Release date: 16 Mar, 2022

Full Release Notes

BACKLOG

Custom Reports Filter improvement

Create Feature flag in Beta section called “Improved Custom Reporting”

1) Create new filters for the custom reports:

LOGIC:

  • in
    • Found all items that have a property value that is equal to one of the supplied list of values
  • not in
    • Found all items that have a property value that is not equal to all of the supplied list of values

DESIGN:

https://www.screencast.com/t/VPxURiSmdzC

2) Provide the ability to select several secure zones (like on tags):

https://www.screencast.com/t/nLWIsnTY 

https://www.screencast.com/t/coZTiKynZ 

3) Order Status filtering improvement:

Rename current filter ‘Order Status’ to ‘Order Status Type’ (https://prnt.sc/hdByF4EMuxnC)

  • It should search by type name as it did before

Create new filter ‘Order Status’

  • It should search by status name

DESIGN:

https://invis.io/MQ12BUHBSXCF

4) Restrictions

Add following validation error messages:

On Saving filters if there is at least one ‘In’ or ‘Not In’ filter in filters list AND “Improved Custom Reporting” is disabled:

“Filters “In” and “Not in” are not allowed if feature flag “Improved Custom Reporting” is disabled.”

On Retrieving report results if there is at least one ‘In’ or ‘Not In’ filter in filters list AND “Improved Custom Reporting” is disabled:

“Results can’t be retrieved: Filters “In” and “Not in” are not allowed if feature flag “Improved Custom Reporting” is disabled.”

Custom Reports Generation Improvement

Improvements:

‘Report’ -> ‘Results’ tab

  • Improve speed of report generation and pagination.
  • Improved logic should be used only if feature flag is enabled

‘Report’ -> ‘Filters’ tab

Server monitoring inside dashboard

Provide the ability to manually set up server instances of the web farm to the CMS DB

If web-farm is enabled for the site - show charts of CPU Utilization for each server on the analytics dashboard

DESIGN:
https://invis.io/6T12DFCCWRGA

Server enabling by schedule inside dashboard + hours balance

Ability to schedule second server enabling for the period of time

Add/edit slot form fields:

  • Each slot should be at least 3 hrs long (if you need more time - you can add more duration). Available durations:
    • 3
    • 6
    • 9
    • 12
    • 15
    • 18
    • 21
    • 24
  • Allow to choose start time with 1hr step starting from 0:00 AM  till 11:00PM
  • Allow to setup slot name

When adding/editing slot:

  • do not allow to choose duration;
    • that overlap the next slot
    • if there is no gap (at least 1h) between current slot and next slot
  • do not allow to choose time that is busy by another slot or if this time is 1hr gap between slots
  • do not allow to decrease slot if it is currently active (only increase slot duration allowed)

Do not allow to delete past and currently active slots:

  • Allow deleting of future slots

Show time when next server enabling will be performed

Show hours balance

  • Buy more button should show popup with text:
    “Please contact us at support@treepl.co to schedule an extra server upgrade.”

DESIGN:
https://invis.io/6T12DFCCWRGA

Public API for Orders

Create public API endpoints:

  • CRM ORDERS
    • [GET] Get Orders List
    • [GET] Get Single Order
    • [PUT] Update Order

See temporary API endpoint documentation here.

API Applications setup:

Add new page:

  • Settings -> API Applications

Allow to:

  • list applications
  • create new application
    • Fields
      • Name [string] required
      • Enabled [boolean] default: true
    • DESIGN
  • Edit application
    • Fields
      • Name [string] required
      • Enabled [boolean] default: true
    • Allow to
      • copy `ClientId` and `ClientSecret`
      • regenerate `ClientSecret`
        • once regenerated - revoke all existed access tokens for the public API
    • DESIGN
  • Delete application
    • Show confirm dialog:
      “Are you sure you want to delete this app?”

Site Plan Restrictions:

Allow using Public API starting Pro plan

Admin User Restrictions:

Add restrictions

  • API Applications
    • Can View
    • Can Add
    • Can Edit
    • Can Delete

Retrieve access token endpoint:

  • URL
    • /api/v1/oauth/token
  • Type
    • POST
  • Content-Type
    • application/x-www-form-urlencoded
  • POST params
    • grant_type
      • client_credentials
    • client_id
    • client_secret
    • scope
      • public_api

On Success return bearer token (life time 4 hours):

{
"access_token": "tokenStringHere",
"expires_in": 14400,
"scope": "public_api",
"token_type": "Bearer"
}

If an app is disabled - return error:

{
"ErrorCode" : 401001,
"Message"   : "The application is disabled"
}

If clientId/clientSecret pair wasn't found - return error:

{
"ErrorCode" : 401002,
"Message"   : "Invalid client_id and/or client_secret"
}

If site plan is less than Pro:

{
"ErrorCode" : 401003,
"Message"   : "Public API is restricted for your site plan"
}

If scope is invalid:

{
"ErrorCode" : 401006,
"Message"   : "Invalid Scope"
}

If grant_type is invalid

{
"ErrorCode" : 401007,
"Message"   : "Invalid Grant Type"
}

API version 1

All of the following endpoints requires Authorization header with the token retrieved by retrieve access token endpoint

​If any request doesn't contain access token or token can't be found in DB, show error:

{
"ErrorCode" : 401000,
"Message"   : "Invalid Access Token"
}

ElseIf any request contains access token but it has been expired, show error:

{
"ErrorCode" : 401004,
"Message"   : "Access Token expired"
}

ElseIf an app associated with the access token - is disabled:

{
"ErrorCode" : 401001,
"Message"   : "The application is disabled"
}

ElseIf access token - is revoked:

{
"ErrorCode" : 401005,
"Message"   : "The Access Token has been revoked"
}

BUG FIXES

Update item from front-end - rewrites ‘media’ type data

When user updates custom module item from front-end it rewrites data in any "Media" type properties.

Show more less
New Feature

API Access - open up the API (phase #1)

Opening up the API for authorised access to site data would really enhance the already excellent functions available within each site. It could allow access to site data for external software, programs and other websites and I believe would increase the appeal of the platform.

Current phase API's:
1) AUTH
- Retrieve access token

2) CRM ORDERS
...
  • API
  • BC Equivalent
New Feature

New Service (Enterprise)

Details and presentation coming soon 😏
Improvement

Customers And Products Report

Currently, the system will allow for a report on Customers and Orders, which can be filtered by Product, however, the results display ALL of the customer’s products in the order that contains the product that you’re filtering by. What we really need to is to be able to see all customers who purchased a specific product – but without displaying...
  • CRM
v 6.4 Release date: 07 Feb, 2022

Full Release Notes

BACKLOG

Extension manager improvement

Portal Changes

Rework ‘Site’ -> ‘Extensions’ tab in the Portal

Create extensions listing:
https://projects.invisionapp.com/share/GK120JMFPQMZ#/screens/460427508

The list should be limited by partner role.

Exclusive Extensions:

  • Granular white-labeling (for Agency only)
  • Import/export of modules (for Agency only)
  • Direct billing (for Agency and Partner)

Provide the ability to:

Allow Portal Users to get full access to the ‘Extensions’ tab (like Agency user has)

Extension: Website Backup

Add new extension to the list of current extensions:

  • Website Backup (beta)
  • Short Description:
    Manage your site backups (schedule, restore, etc.)
  • Information:
    Manage your complete site backups (manual, automated schedule, restore, etc.) and enable item rollback capabilities for Content Templates, Pages and other Modules

​Pricing is free during the beta period

Note: Backup extension is only available for sites running v6.4 or higher

Backup listing page

Design:
https://projects.invisionapp.com/share/FW121SWA84TV#/screens/460427502

Displays list of backup records, with actions/info:

  • Download Backup File
  • Restore Backup (see logic in Restore Backup Process)
  • Delete Backup
  • Pagination
  • Storage/Size info
  • Bulk delete operations
  • Backup now (see logic in “Backup Process”)
  • Upload Backup File (creates new backup record)

Settings page

Design:
https://projects.invisionapp.com/share/FW121SWA84TV#/screens/460427501

Scheduled backup settings:

  • Repeat Every (number 1 through 31)
  • Repeat Period
    • Day
    • Week (default)
    • Month
    • Year
  • Repeat Time (with hourly time increments)
  • Behavior On Low Storage
    • Email Portal Owner and skip new (default)
    • Remove oldest and create new
  • Storage
    • Treepl Storage (default)
    • Google Drive [possible future option]
    • Dropbox [possible future option]

Note: Treepl storage packages to come after Beta version.

Extension in Admin UI

Add menu item to admin menu titled “Extensions” showing the installed extension/s as a sub-menu item (ie; Website Backup)

The UI for the Backup extension here will be the same as in the Portal.

Backup Process

Design:
https://projects.invisionapp.com/share/FW121SWA84TV#/screens/460427504

Once backup process is triggered:

  • Show loader with progress
  • create new backup record
    • set type ‘Manual’ or ‘Scheduled’ based on the trigger source
    • set date of the backup
  • follow Backup logic described below
  • Once process is finished
    • remove loaders and enable all backups

Actions and buttons:

  • Cancel backup
    • shows confirm message before perform the action:
      “Are you sure you want to cancel the create backup process”

Scheduled Backup Process

Setup schedule checker based on Scheduled backup settings:

  • Trigger Backup Process once
    • difference between current date and latest backup date is bigger than Repeat frequency
    • AND
    • current time is the same as selected in Time field
      (the Time field is represented by the timezone of the site, not UTC)

Restore Backup Process

Design:
https://projects.invisionapp.com/share/FW121SWA84TV#/screens/460427505

Once Restore backup process is triggered, show confirmation window with the following text and buttons:
“Your current version of the site will be restored to the backup version.
Please make sure you have made a backup of the site before starting the restoration if this data is important for you.”

Ok | Cancel

If clicked Ok:

  • check if site is live or trial
    • if trial - check if site plan is lower than plan of the backup
      • if site plan is lower than in backup - upgrade site plan to the one from backup
        • Show loader with progress
        • Disable all backups (show in gray and hide action buttons)
        • Check if reseller from the backup is the same as the current site's reseller
          • if true
            • Show loader with progress
            • Disable all backups (show in gray and hide action buttons)
          • If false
            • Show error popup:
              “You cannot restore a site from the backup due to permissions issue.”
        • restore
          • Custom Icons for admin menu
          • Appdata -> Custom Admin Menu json file
          • FTP files and folders
          • DB
        • restart site
        • remove loaders and enable all backups

Actions and buttons:

  • Cancel backup restoring
    • shows confirm message before perform the action:
      “Are you sure you want to cancel the restore backup process”

Upload Backup Process

Design:
https://projects.invisionapp.com/share/F2126E6QCRMB#/screens/462403051

Actions and buttons

  • Cancel backup uploading
    • shows confirm message before performing the action:
      “Are you sure you want to cancel the upload backup process”

Error message when there is not enough storage for uploaded backup file:
“You've run out of storage for the backups. Please upgrade your storage.”

Backup logic

1) Steps

  • Backup
    • DB
    • FTP files and folders
    • Appdata -> Custom Admin Menu JSON file
    • Custom Icons for admin menu
  • Store them to the encrypted file with the name
    • {siteSubdomain}-{datetime}.seed
  • Update progress on each step

2) Exceptions flows

  • Backup file size is greater than available storage
    • Based on the value of ‘Behavior On Low Storage’
      • Email me and skip new
        • Delete attempted backup files
        • Send “Low Storage Email” system email to reseller
      • Remove oldest and create new
        • if Backup file size is greater than full storage limit
          • Show message:
            “You've run out of storage for the backups. Your backup request has been cancelled. Please upgrade your storage and launch a new backup request.”
          • Follow ‘Email me and skip new’ flow
        • else
          • Get list of backups in order: createDate DESC
          • Delete backups starting from the first in the list until there will be enough space to store the backup
  • Only one backup or restore process is allowed for the same time. Show error message if trying to perform backup or restore once another process is working:
    “Only one backup or restoration process is allowed for the site at a time. Please wait until the current process is finished or cancel it and try again.”

Low Treepl Storage Email:

Send to

  • {ResellerEmail}

Subject

  • You've run out of storage for the {site_name} backups.

Content

  • You've run out of storage for the {site_name} backups. Your backup request has been cancelled. Please upgrade your storage and launch a new backup request.

    Upgrade

Logic

  • “Upgrade” button will lead to the ‘Portal’ -> ‘Site’ -> ‘Extensions’ -> ‘Website Backup’ settings page

Treepl Storage

Setup S3 bucket storage for all backups of Treepl storage.

Setup it on the same DC where the Treepl portal is located.

Setup 1GB of storage by default.

Extension uninstall behaviour

Do not delete all backup data stored on Treepl storage if partner clicks uninstall backup extension.

So if the extension is reinstalled at a later time - all previous backups would still be available.

Page Rollback Option

0) Store files for downloadable products on FTP

Move all current files for all products to ftp folder "/_downloadable_products", with file path using the folwing format: “/{productId}/{filename}.{fileext}”

  • New files stored in folder "/_downloadable_products" on product saving using the above file path format.
  • Deny access by URL to any file in this folder (show 404 page not found)
  • When new file is uploaded - do not delete previous file from the folder. So if you apply rollback to the version where another file was set, you can restore access to it.

1) Rollback setting in module settings

Create new collapsable section in module settings titled “Extension Settings” which provides the ability to enable rollback options in the module.

NOTE: Rollback is enabled by default for ‘Page’ module and ‘Content Templates’ for all site plans regardless of the Backup extension being installed or not.

Design:

https://projects.invisionapp.com/share/W6X356SMH23#/screens

2) Restriction logic

Rollback options are only provided for the site if the Backup extension is installed and is not expired - except for ‘Pages’ and ‘Content Templates’ which have rollback turned on by default.

3) Rollback listing on Items and Content Templates

Once Rollback is enabled for the item

4) Rollback recording logic

Recording logic should be applied to the following editing points:

  • Editing via admin UI
    • Save type is ‘Settings’ or ‘SEO’ (based on wich tab user is on saving)
  • Editing via FTP
    • Save type is ‘Settings’
  • Editing from the Edit Item Form (front-end)
    • Save type is ‘Settings’
  • Editing via import
    • Save type is ‘Settings’ AND ‘SEO’ (because import row may contain properties from both sections. Create 2 rollback records in this case)

Rollback records should be applied for different sets of item properties:

  •  type ‘Settings’
    • All fields that are shown in the ‘Settings’ tab of the item edit page in admin UI
    • For ‘Content Templates’ the fields include:
      • Name
      • IsDefault
      • Content
      • AmpContent
      • TemplateSettings
        • EcommerceJS
        • MainCSS
        • PaymentJS
        • RecaptchaJS
  •  type ‘SEO’
    • All fields that are shown in ‘SEO’ tab of the item edit page in admin UI

Once item or content template is edited (with changes made) in any editing point:

  • Create Rollback record (as type ‘Settings’) with the following info:
    • Source
      • Admin UI
      • FTP
      • Edit Item Form (from front-end)
      • OSE
      • Import
    • Data
      • all values of all properties of the item or template that they had before saving
    • Editor
      • Store CRM record Id or Admin record Id for linkage
      • View Format
        • Type
          • CRM Member
          • Admin User
          • Portal Owner
          • Portal User
            Display CRM Member and Admin User as links to the CRM contacts and Admin users details respectively.
    • Date
      • Create Datetime of the rollback

5) Rollback records delete flow

Every 6 hrs collect all rollback records that are older than 90 days and delete them.

6) Rollback flow

Design:
https://projects.invisionapp.com/share/XZ1228SX8M7N#/screens/461401436

When clicking ‘Restore’ rollback button:

  • If some values could not be restored (if value options no longer exist or property from rollback has another type then the current one)
  • else
    • Show Confirmation popup:
      “This version will now be loaded for previewing where you will have the option to 'Restore' the changes.”
      • clicking on ‘Restore’ rollback button:
        • Will preset edit form by the values from the rollback record (omitting values that could not be restored. If the property type is not the same as in the rollback - set empty value to the property)
        • change name of the Save button to Restore
        • This action requires user to click Restore in order to finalize restoring process
        • Show warning messages near fields that are not restored correctly

When clicking ‘Delete’ rollback button:

  • Delete rollback record from DB
  • Restrict Delete operation for all admin users except Partners.
    If user with another role triggers Delete rollback action, show message: “You don't have permission to perform this action”

7) Permissions

Add permissions to the following modules:

  • Each Custom module permissions group
  • Default Custom Module permissions group
  • Page permissions group
  • Content Template permissions group
  • Blogs permissions group
  • Blog Posts permissions group
  • Banner Groups permissions group
  • Banners permissions group
  • Galleries/Sliders permissions group
  • Slides permissions group
  • FAQ Groups permissions group
  • FAQ Questions permissions group
  • Authors permissions group
  • Products permissions group
  • Catalogs permissions group
  • Events Group permissions group
  • Event permissions group

Restrictions:

  • Can View And Manage Rollback History, if restriction is disabled:
    • do not show history button on item edit form in admin [UI]
    • block get history api endpoint [BE]
  • Can Enable/Disable Rollback On Module Settings, if restriction is disabled:
    • Hide Enable Rollback checkbox on module settings [UI]
    • Skip saving new value of Enable Rollback checkbox on editing module settings [BE]

DESIGN:

Rollback option in module settings:
https://invis.io/W6X356SMH23

Main design:
https://projects.invisionapp.com/share/XZ1228SX8M7N

domain redirects and non-www to www redirect

Domain redirects management (Portal)

Add Page for domain redirects management under ‘Site’ -> ‘Domain Redirects’ tab (next to Domains tab - https://www.screencast.com/t/t94mO7GEmy )

Show list of redirects

Provide ability to add, edit and delete redirects

Domain redirects management (CMS Admin)

Add Page for domain redirects management under ‘Settings’ -> ‘Domains’ -> ‘Domain Redirects’ tab ( https://invis.io/TQ11WXQDKYE4 )

Logic is the same as for the portal

Add/edit redirect form

  • From URL (dropdown)
    {list of all existing domains for the site, including www versions if existed}
  • To URL (dropdown)
    {list of all existing domains for the site, including www versions if existed, except domain selected in From URL}
  • Enabled (boolean) determines if redirect should be applied to the site or not

Add/edit redirect form logic

  • Add js that will exclude a domain from ‘To URL’ each time ‘From URL’ is changed
  • In order to apply redirects, the user needs to click ‘Apply’ button under the list of redirects. Otherwise, all changes will be lost once the user leaves the page
    • Show standard warning message if a user made any changes and go out of the tab without clicking ‘Apply’
  • Once clicked ‘Apply’:
    • Show confirmation popup with text:
      “Please note that we'll need to restart the site in order to apply the changes. The site will be unavailable for a few minutes right after the restart. Do not refresh the page, this will result in the"service unavailable" error.”
    • If clicked OK - show full page locking loader and wait until the site will be reloaded.
      Then hide loader

Portal: Leadership Team page

Add page to the portal titled “Leadership Team”

Design:
https://projects.invisionapp.com/share/ZJ122U2JWAGS#/screens 

Show Page for the following roles:

  • Partners
  • Agencies

Workflow notifications improvement for payments

Add sending form workflows after retrieving successful payment webhook (missing workflow logic for payment forms that redirects to payment site after submit)

  • Use Cases
    • Payment method = PayPal
    • Stripe 3D secure
  • Logic
    • if Form Submission Data contains customWorkflows field
      • take a list of workflow ids from it
    • else
      • take a list of workflows attached to the form in the settings tab

BUG FIXES

In SEO tab - SEO priority change after every saving

https://treepl.slack.com/archives/C023SU50YQP/p1641319429078700

  1. Go to page -> SEO tab -> set up SEO priority 1 https://prnt.sc/2640kr5
  2. After go to SETTINGS tab and click Save button https://prnt.sc/2640off
  3. Return to SEO tab - SEO priority change on 0.5 again

Actual: After saving, changes SEO priority

Expected: after any changes on page - all previously saved information shouldn't be changed

Orders - filter by caseid or orders doesn't works

https://treepl.slack.com/archives/C023SU50YQP/p1641438488002500

Actual: display error Liquid Error: FilterBy/SortBy value 'caseid' is incorrect

Expected: display form submission

Custom Module - edits to Table not correct

https://treepl.slack.com/archives/C023SU50YQP/p1642361221011500

Actual: Duplicates column after edit

Expected: After edited name of table - on list of modules display correct names of columns

[Portal] Display "Last updates" time is local for each partner

  1. Go to Portal -> Support page https://forum.treepl.co/t/portal-bug-ux-fix-support-ticket-last-updates-time-is-not-local/1081
  2. Column Last Update display not local time for each partner https://prnt.sc/1g215ux

Advanced CRM Group - not correct order after edit group

  1. Create advanced CRM Group and assigned to Contact
  2. Go to Contact and fill all fields https://prnt.sc/1w7wung
  3. After go to group and change order of fields
  4. Go to contact and  display old order BUT if open edit - display correct https://prnt.sc/1w7wzfi 
  5. THE SAME problem with UPDATE account form where use advanced CRM Group and assigned to Contact - https://prnt.sc/1w7xvmn

Offline payment - add ability to edit and delete from all types

  1. Create Offline Order
  2. Add an offline payment type https://prnt.sc/1wy0qig

Actual: Not display edit/delete buttons https://prnt.sc/1wy0qig

Expected: Should display edit/delete buttons
https://treepl.slack.com/archives/CRUAT8GGZ/p1634754580137000

Discount Codes - Release/Expiry Dates to match timezone

  1. Go to discount codes and create a new code with release and expiry dates as now

    Expected: Dates must match the time zone on the site
    Actual: Dates match the UTC time zone

Export Event Bookings with custom fields

  1. Create form SingleItem with custom fields and Adv CRM group
  2. After go to Events bookings and make export exactly from this new form
  3. In file not display custom fields
Show more less
v 6.4 Release date: 07 Feb, 2022

Full Release Notes

BACKLOG

Extension manager improvement

Portal Changes

Rework ‘Site’ -> ‘Extensions’ tab in the Portal

Create extensions listing:
https://projects.invisionapp.com/share/GK120JMFPQMZ#/screens/460427508

The list should be limited by partner role.

Exclusive Extensions:

  • Granular white-labeling (for Agency only)
  • Import/export of modules (for Agency only)
  • Direct billing (for Agency and Partner)

Provide the ability to:

Allow Portal Users to get full access to the ‘Extensions’ tab (like Agency user has)

Extension: Website Backup

Add new extension to the list of current extensions:

  • Website Backup (beta)
  • Short Description:
    Manage your site backups (schedule, restore, etc.)
  • Information:
    Manage your complete site backups (manual, automated schedule, restore, etc.) and enable item rollback capabilities for Content Templates, Pages and other Modules

​Pricing is free during the beta period

Note: Backup extension is only available for sites running v6.4 or higher

Backup listing page

Design:
https://projects.invisionapp.com/share/FW121SWA84TV#/screens/460427502

Displays list of backup records, with actions/info:

  • Download Backup File
  • Restore Backup (see logic in Restore Backup Process)
  • Delete Backup
  • Pagination
  • Storage/Size info
  • Bulk delete operations
  • Backup now (see logic in “Backup Process”)
  • Upload Backup File (creates new backup record)

Settings page

Design:
https://projects.invisionapp.com/share/FW121SWA84TV#/screens/460427501

Scheduled backup settings:

  • Repeat Every (number 1 through 31)
  • Repeat Period
    • Day
    • Week (default)
    • Month
    • Year
  • Repeat Time (with hourly time increments)
  • Behavior On Low Storage
    • Email Portal Owner and skip new (default)
    • Remove oldest and create new
  • Storage
    • Treepl Storage (default)
    • Google Drive [possible future option]
    • Dropbox [possible future option]

Note: Treepl storage packages to come after Beta version.

Extension in Admin UI

Add menu item to admin menu titled “Extensions” showing the installed extension/s as a sub-menu item (ie; Website Backup)

The UI for the Backup extension here will be the same as in the Portal.

Backup Process

Design:
https://projects.invisionapp.com/share/FW121SWA84TV#/screens/460427504

Once backup process is triggered:

  • Show loader with progress
  • create new backup record
    • set type ‘Manual’ or ‘Scheduled’ based on the trigger source
    • set date of the backup
  • follow Backup logic described below
  • Once process is finished
    • remove loaders and enable all backups

Actions and buttons:

  • Cancel backup
    • shows confirm message before perform the action:
      “Are you sure you want to cancel the create backup process”

Scheduled Backup Process

Setup schedule checker based on Scheduled backup settings:

  • Trigger Backup Process once
    • difference between current date and latest backup date is bigger than Repeat frequency
    • AND
    • current time is the same as selected in Time field
      (the Time field is represented by the timezone of the site, not UTC)

Restore Backup Process

Design:
https://projects.invisionapp.com/share/FW121SWA84TV#/screens/460427505

Once Restore backup process is triggered, show confirmation window with the following text and buttons:
“Your current version of the site will be restored to the backup version.
Please make sure you have made a backup of the site before starting the restoration if this data is important for you.”

Ok | Cancel

If clicked Ok:

  • check if site is live or trial
    • if trial - check if site plan is lower than plan of the backup
      • if site plan is lower than in backup - upgrade site plan to the one from backup
        • Show loader with progress
        • Disable all backups (show in gray and hide action buttons)
        • Check if reseller from the backup is the same as the current site's reseller
          • if true
            • Show loader with progress
            • Disable all backups (show in gray and hide action buttons)
          • If false
            • Show error popup:
              “You cannot restore a site from the backup due to permissions issue.”
        • restore
          • Custom Icons for admin menu
          • Appdata -> Custom Admin Menu json file
          • FTP files and folders
          • DB
        • restart site
        • remove loaders and enable all backups

Actions and buttons:

  • Cancel backup restoring
    • shows confirm message before perform the action:
      “Are you sure you want to cancel the restore backup process”

Upload Backup Process

Design:
https://projects.invisionapp.com/share/F2126E6QCRMB#/screens/462403051

Actions and buttons

  • Cancel backup uploading
    • shows confirm message before performing the action:
      “Are you sure you want to cancel the upload backup process”

Error message when there is not enough storage for uploaded backup file:
“You've run out of storage for the backups. Please upgrade your storage.”

Backup logic

1) Steps

  • Backup
    • DB
    • FTP files and folders
    • Appdata -> Custom Admin Menu JSON file
    • Custom Icons for admin menu
  • Store them to the encrypted file with the name
    • {siteSubdomain}-{datetime}.seed
  • Update progress on each step

2) Exceptions flows

  • Backup file size is greater than available storage
    • Based on the value of ‘Behavior On Low Storage’
      • Email me and skip new
        • Delete attempted backup files
        • Send “Low Storage Email” system email to reseller
      • Remove oldest and create new
        • if Backup file size is greater than full storage limit
          • Show message:
            “You've run out of storage for the backups. Your backup request has been cancelled. Please upgrade your storage and launch a new backup request.”
          • Follow ‘Email me and skip new’ flow
        • else
          • Get list of backups in order: createDate DESC
          • Delete backups starting from the first in the list until there will be enough space to store the backup
  • Only one backup or restore process is allowed for the same time. Show error message if trying to perform backup or restore once another process is working:
    “Only one backup or restoration process is allowed for the site at a time. Please wait until the current process is finished or cancel it and try again.”

Low Treepl Storage Email:

Send to

  • {ResellerEmail}

Subject

  • You've run out of storage for the {site_name} backups.

Content

  • You've run out of storage for the {site_name} backups. Your backup request has been cancelled. Please upgrade your storage and launch a new backup request.

    Upgrade

Logic

  • “Upgrade” button will lead to the ‘Portal’ -> ‘Site’ -> ‘Extensions’ -> ‘Website Backup’ settings page

Treepl Storage

Setup S3 bucket storage for all backups of Treepl storage.

Setup it on the same DC where the Treepl portal is located.

Setup 1GB of storage by default.

Extension uninstall behaviour

Do not delete all backup data stored on Treepl storage if partner clicks uninstall backup extension.

So if the extension is reinstalled at a later time - all previous backups would still be available.

Page Rollback Option

0) Store files for downloadable products on FTP

Move all current files for all products to ftp folder "/_downloadable_products", with file path using the folwing format: “/{productId}/{filename}.{fileext}”

  • New files stored in folder "/_downloadable_products" on product saving using the above file path format.
  • Deny access by URL to any file in this folder (show 404 page not found)
  • When new file is uploaded - do not delete previous file from the folder. So if you apply rollback to the version where another file was set, you can restore access to it.

1) Rollback setting in module settings

Create new collapsable section in module settings titled “Extension Settings” which provides the ability to enable rollback options in the module.

NOTE: Rollback is enabled by default for ‘Page’ module and ‘Content Templates’ for all site plans regardless of the Backup extension being installed or not.

Design:

https://projects.invisionapp.com/share/W6X356SMH23#/screens

2) Restriction logic

Rollback options are only provided for the site if the Backup extension is installed and is not expired - except for ‘Pages’ and ‘Content Templates’ which have rollback turned on by default.

3) Rollback listing on Items and Content Templates

Once Rollback is enabled for the item

4) Rollback recording logic

Recording logic should be applied to the following editing points:

  • Editing via admin UI
    • Save type is ‘Settings’ or ‘SEO’ (based on wich tab user is on saving)
  • Editing via FTP
    • Save type is ‘Settings’
  • Editing from the Edit Item Form (front-end)
    • Save type is ‘Settings’
  • Editing via import
    • Save type is ‘Settings’ AND ‘SEO’ (because import row may contain properties from both sections. Create 2 rollback records in this case)

Rollback records should be applied for different sets of item properties:

  •  type ‘Settings’
    • All fields that are shown in the ‘Settings’ tab of the item edit page in admin UI
    • For ‘Content Templates’ the fields include:
      • Name
      • IsDefault
      • Content
      • AmpContent
      • TemplateSettings
        • EcommerceJS
        • MainCSS
        • PaymentJS
        • RecaptchaJS
  •  type ‘SEO’
    • All fields that are shown in ‘SEO’ tab of the item edit page in admin UI

Once item or content template is edited (with changes made) in any editing point:

  • Create Rollback record (as type ‘Settings’) with the following info:
    • Source
      • Admin UI
      • FTP
      • Edit Item Form (from front-end)
      • OSE
      • Import
    • Data
      • all values of all properties of the item or template that they had before saving
    • Editor
      • Store CRM record Id or Admin record Id for linkage
      • View Format
        • Type
          • CRM Member
          • Admin User
          • Portal Owner
          • Portal User
            Display CRM Member and Admin User as links to the CRM contacts and Admin users details respectively.
    • Date
      • Create Datetime of the rollback

5) Rollback records delete flow

Every 6 hrs collect all rollback records that are older than 90 days and delete them.

6) Rollback flow

Design:
https://projects.invisionapp.com/share/XZ1228SX8M7N#/screens/461401436

When clicking ‘Restore’ rollback button:

  • If some values could not be restored (if value options no longer exist or property from rollback has another type then the current one)
  • else
    • Show Confirmation popup:
      “This version will now be loaded for previewing where you will have the option to 'Restore' the changes.”
      • clicking on ‘Restore’ rollback button:
        • Will preset edit form by the values from the rollback record (omitting values that could not be restored. If the property type is not the same as in the rollback - set empty value to the property)
        • change name of the Save button to Restore
        • This action requires user to click Restore in order to finalize restoring process
        • Show warning messages near fields that are not restored correctly

When clicking ‘Delete’ rollback button:

  • Delete rollback record from DB
  • Restrict Delete operation for all admin users except Partners.
    If user with another role triggers Delete rollback action, show message: “You don't have permission to perform this action”

7) Permissions

Add permissions to the following modules:

  • Each Custom module permissions group
  • Default Custom Module permissions group
  • Page permissions group
  • Content Template permissions group
  • Blogs permissions group
  • Blog Posts permissions group
  • Banner Groups permissions group
  • Banners permissions group
  • Galleries/Sliders permissions group
  • Slides permissions group
  • FAQ Groups permissions group
  • FAQ Questions permissions group
  • Authors permissions group
  • Products permissions group
  • Catalogs permissions group
  • Events Group permissions group
  • Event permissions group

Restrictions:

  • Can View And Manage Rollback History, if restriction is disabled:
    • do not show history button on item edit form in admin [UI]
    • block get history api endpoint [BE]
  • Can Enable/Disable Rollback On Module Settings, if restriction is disabled:
    • Hide Enable Rollback checkbox on module settings [UI]
    • Skip saving new value of Enable Rollback checkbox on editing module settings [BE]

DESIGN:

Rollback option in module settings:
https://invis.io/W6X356SMH23

Main design:
https://projects.invisionapp.com/share/XZ1228SX8M7N

domain redirects and non-www to www redirect

Domain redirects management (Portal)

Add Page for domain redirects management under ‘Site’ -> ‘Domain Redirects’ tab (next to Domains tab - https://www.screencast.com/t/t94mO7GEmy )

Show list of redirects

Provide ability to add, edit and delete redirects

Domain redirects management (CMS Admin)

Add Page for domain redirects management under ‘Settings’ -> ‘Domains’ -> ‘Domain Redirects’ tab ( https://invis.io/TQ11WXQDKYE4 )

Logic is the same as for the portal

Add/edit redirect form

  • From URL (dropdown)
    {list of all existing domains for the site, including www versions if existed}
  • To URL (dropdown)
    {list of all existing domains for the site, including www versions if existed, except domain selected in From URL}
  • Enabled (boolean) determines if redirect should be applied to the site or not

Add/edit redirect form logic

  • Add js that will exclude a domain from ‘To URL’ each time ‘From URL’ is changed
  • In order to apply redirects, the user needs to click ‘Apply’ button under the list of redirects. Otherwise, all changes will be lost once the user leaves the page
    • Show standard warning message if a user made any changes and go out of the tab without clicking ‘Apply’
  • Once clicked ‘Apply’:
    • Show confirmation popup with text:
      “Please note that we'll need to restart the site in order to apply the changes. The site will be unavailable for a few minutes right after the restart. Do not refresh the page, this will result in the"service unavailable" error.”
    • If clicked OK - show full page locking loader and wait until the site will be reloaded.
      Then hide loader

Portal: Leadership Team page

Add page to the portal titled “Leadership Team”

Design:
https://projects.invisionapp.com/share/ZJ122U2JWAGS#/screens 

Show Page for the following roles:

  • Partners
  • Agencies

Workflow notifications improvement for payments

Add sending form workflows after retrieving successful payment webhook (missing workflow logic for payment forms that redirects to payment site after submit)

  • Use Cases
    • Payment method = PayPal
    • Stripe 3D secure
  • Logic
    • if Form Submission Data contains customWorkflows field
      • take a list of workflow ids from it
    • else
      • take a list of workflows attached to the form in the settings tab

BUG FIXES

In SEO tab - SEO priority change after every saving

https://treepl.slack.com/archives/C023SU50YQP/p1641319429078700

  1. Go to page -> SEO tab -> set up SEO priority 1 https://prnt.sc/2640kr5
  2. After go to SETTINGS tab and click Save button https://prnt.sc/2640off
  3. Return to SEO tab - SEO priority change on 0.5 again

Actual: After saving, changes SEO priority

Expected: after any changes on page - all previously saved information shouldn't be changed

Orders - filter by caseid or orders doesn't works

https://treepl.slack.com/archives/C023SU50YQP/p1641438488002500

Actual: display error Liquid Error: FilterBy/SortBy value 'caseid' is incorrect

Expected: display form submission

Custom Module - edits to Table not correct

https://treepl.slack.com/archives/C023SU50YQP/p1642361221011500

Actual: Duplicates column after edit

Expected: After edited name of table - on list of modules display correct names of columns

[Portal] Display "Last updates" time is local for each partner

  1. Go to Portal -> Support page https://forum.treepl.co/t/portal-bug-ux-fix-support-ticket-last-updates-time-is-not-local/1081
  2. Column Last Update display not local time for each partner https://prnt.sc/1g215ux

Advanced CRM Group - not correct order after edit group

  1. Create advanced CRM Group and assigned to Contact
  2. Go to Contact and fill all fields https://prnt.sc/1w7wung
  3. After go to group and change order of fields
  4. Go to contact and  display old order BUT if open edit - display correct https://prnt.sc/1w7wzfi 
  5. THE SAME problem with UPDATE account form where use advanced CRM Group and assigned to Contact - https://prnt.sc/1w7xvmn

Offline payment - add ability to edit and delete from all types

  1. Create Offline Order
  2. Add an offline payment type https://prnt.sc/1wy0qig

Actual: Not display edit/delete buttons https://prnt.sc/1wy0qig

Expected: Should display edit/delete buttons
https://treepl.slack.com/archives/CRUAT8GGZ/p1634754580137000

Discount Codes - Release/Expiry Dates to match timezone

  1. Go to discount codes and create a new code with release and expiry dates as now

    Expected: Dates must match the time zone on the site
    Actual: Dates match the UTC time zone

Export Event Bookings with custom fields

  1. Create form SingleItem with custom fields and Adv CRM group
  2. After go to Events bookings and make export exactly from this new form
  3. In file not display custom fields
Show more less
New Feature

Page Rollback Option

Roll back function on pages, custom modules etc.

  • Admin Panel
  • BC Equivalent
  • Custom Modules
New Feature

Website Backup

Extra add-on that allows performing scheduled automatic backups of FTP files and database of the site saving it to an archive that can be stored locally or within a 3rd party storage service (Dropbox, Google Drive, etc.).
  • Add-ons
v 6.3 Release date: 24 Nov, 2021

Full Release Notes

Features

Set “Enable Shipping” to true by default

Change the default value to “true” that is set for ‘Enable Shipping’ property on Product create action

Action Sources:

  • Product create form (admin UI http://prntscr.com/1w8tfm6 )
  • Import Product (for new products only AND if Enable Shipping column is not specified in the file)

Send Invoice number to payment provider

On Payment Form submit after successful validation:

  • If current shoppingCart.invoiceNumber == null
  • Generate invoiceNumber
  • Set invoiceNumber to the shoppingCart.invoiceNumber
  • Set shoppingCart.invoiceNumber to payment data of the payment providers:
    • Eway
    • Authorize
    • PayPal Flow (simple payment)
    • Stripe (in metadata)

Recurring products + canceling subscriptions for recurring product

Reworked recurring models so they all work the same:

  • StripeWebHook
    • + Stripe Customer Portal
  • PayPalWebHook
  • AuthorizeWebHook
  • Create Subscriptions
    • RecurringForms
    • Products
    • Events
    • New form type handler
      • + Discount/GiftVoucher logic

Original Request

Ability to create products with recurring subscription.

It will operate in a similar way it did in BC.

0) Fix logic for forms that are NOT type "Generic" that have recurring secure zone/s attached

Add new validation rule on form submission handler:

  • If form type is NOT "Generic" AND any of the secure zones attached to the form are recurring
    • Return error with message:
      Recurring secure zone subscription is not allowed for the "{formTypeAlias}" form type

Add new validation rule on form edit action (tab settings) in the admin:

  • If form type is NOT "Generic" AND any of the secure zone attached to the form are recurring
    • Return error with message
      "{formTypeAlias}" form type is not allowed for the form that has recurring secure zones subscriptions assigned.
  • If form type is NOT "Generic"
    • Show all non-recurring secure zones AND any already selected secure zones (even if they are recurring secure zones)

1) Shopping cart recurring rules

Add validation for ‘add to cart’ and ‘buy now’ functions

  • All products in the shopping cart should have the same recurring type
  • allow only products with the same recurring type to be added to the shopping cart.
    (This restriction should be applied because token payments don't allow creating multiple subscriptions for different recurring periods using one single payment token)

2) Recurring Orders

Once recurring order is created - mark it as “Main”

All orders that will be created by recurring payments for future payment cycles should be marked as “Suborder”. Link this order to the “Main” order.

Design for displaying “Main” and “Suborders” in the order list:

https://projects.invisionapp.com/share/FTZVU4BE9HS#/screens

Add suborders tab to the “Main” and “Suborders” detail page (api/orders/{id}/suborders)

Add ‘IsRecurring’ and ‘MainOrderId' to Order object: https://prnt.sc/1xpmgbd

3) Canceling Recurring Subscriptions

Provide ability to:

Cancel recurring subscriptions on “Order” > “Suborder” tab (api/orders/{orderId}/cancel-subscription-on-secure-zone)
- from the main order or any suborders
https://projects.invisionapp.com/share/FTZVU4BE9HS#/screens/441983574

Cancel subscription by logged in user:

  • Add new properties to the order object in liquid:
    • `mainOrderId` (int)
      • Tag output:
      • Description:
        instance id of the main order if current order is a recurring sub order
        • if order has NO recurring subscriptions or the order is Main in recurring order sequence
          • null
        • else
          • id of the main order
    • `isRecurring` (boolean)
      • Tag output:
      • Description:
        true if order has attached recurring subscription
    • `hasActiveSubscription` (boolean)
      • Tag output:
      • Description:
        true if order has attached recurring subscription AND it's state is Active, PastDue or Incomplete
  • [UI] Add "Cancel Subscription Form" to "CRM" toolbox menu (Show starting Pro plan)
    • Code Generated:
       
  • if the form is submitted by a user who is not logged in 
    • show system error-page. With message:
      Not logged in users are not allowed to cancel subscriptions
  • if the form is submitted by a user that doesn't belong to the subscription
    • show system error-page. With message:
      You can't cancel the subscription that wasn't created by you

After cancelling a subscription:

  • Still show main order and sub orders on “order” > “suborder” tab
  • do not show cancel subscription button

4) Recurring Events

Add ability to create recurring event subscriptions.

  • add system field “Recurring Type” to the event system fields list
    (same field that is used for secure zones)
  • once payment is made using ‘SingeItem’ form linked to the event with “Recurring Type” not equal to None
    • create recurring subscription order using event price and period selected in Recurring Type
  • On event delete action - if it has active recurring subscriptions - show an error message:
    The item with active recurring subscriptions can't be deleted

5) Recurring Generic Forms

  • Create a new form type for general recurring payment
    • “Recurring” (for general forms with arbitrary recurring payment collection)
  • Only show and allow recurring secure zones via form’s Settings -> Secure Zones dropdown
  • add “Recurring Type” setting on Form -> Form Builder tab.
    • Do NOT show “None” option for Recurring Type
    • [UI] Show “Recurring Type” only if selected form type is “Recurring” (for both: create and edit form layouts)
  • ​On Create form action
    • if Form Type is Recurring
      • Automatically add "Accept Payment" field to the form
      • If Recurring Type accidentally comes as NULL or None
        • Set ‘Daily’ by default
  • On Edit form action (Form Builder tab)
    • if Form Type is Recurring
      • If the "Accept Payment" field is not selected on the form builder - show an error:
        Recurring form can't be saved without the "Accept Payment" field
      • If the "Email" field is not selected on the form builder - show an error:
        Recurring form can't be saved without the "Email" field
  • on Recurring from submitting (accident cases that should be prevented by the logic described above but still may happen due to unexpected errors)
    • if Recurring Type is (NOT equal to None AND is NOT NULL)
      • create recurring subscription order using form price and period selected in Recurring Type
    • else - show error message:
      Recurring form can't be submitted without the "Recurring Type" field
    • if the "Accept Payment" field is not selected on the form - show an error message:
      Recurring form can't be submitted without the "Accept Payment" field

6) Recurring Product

  • Change “Recurring Type” property options to be the same as for secure zones
  • Show error on checkout submit if products with different Recurring Types are added to the shopping cart:
    Recurring type [typeName] is not allowed for the current payment: gateway
  • create recurring subscription order using product price and period selected in Recurring Type
  • On product delete action - if it has active recurring subscriptions - show an error message:
    The item with active recurring subscriptions can't be deleted

7) Submitting form with recurring payment error cases

  • On form with recurring payment submit
    • If PaymentMethod is CreditCard OR Paypal
      • if PaymentMethod is FREE AND totalPrice after discount  is 0 AND discount applies for ALL recurring payments
        • proceed request and create order
      • else
      • Show validation error:
        • This payment type is not allowed for the recurring subscription

OSE (Nice)

UI

  • add new Froala WYSIWYG editor
  • remove jQuery dependency from nice frontend implementation

BE

  • Add Nice content wrapping logic (like it was in v5)
  • Add simple text blocks wrapping logic (like it was in v5)
  • Add Nice scope collection and output via js for frontend scripts

CRM contact ‘States’ improvements

Add new Secure Zone verification setting to:

  • Settings -> Misc -> CRM Settings   ️
    • Enable email verification flow (Default = true)
    • When false: ️
      • Do not send (or require) a verification email for secure zone subscriptions
      • On login - do not show validation error if isEmailVerified property of the member is false and just log the user in

Improve Secure Zone registration logic️:

  • If a user submits registration form with correct email and password (or if EnableEmailVerificationFlow=false AND if is first registration form submit)​:  ️
    • automatically log user in if isEmailVerified=true or EnableEmailVerificationFlow=false

Edit Account form - change email address

  • When member changes email address - create internal request for new email  ️
  • Validate if new email is not used ️
    • if used - return false result
  • If Enable email verification flow == true ️
    • Set new email to desiredEmail property of the contact record
    • Send verification email ️
    • If verified ️
      • replace email with desiredEmail value
    • Else ️
      • allow login under old email until confirmed
  • else  ️
    • replace email with desiredEmail value

CRM contacts ‘states’ indicator ️

Ability to see state of the CRM contact  ️

  • CRM contact crmType=Contact (no icon)
  • CRM contact crmType=Member AND isEmailVerified=true  (blue icon)
  • CRM contact crmType=Member AND isEmailVerified=false AND EnableEmailVerificationFlow=false (blue icon)
  • CRM contact crmType=Member AND isEmailVerified=false AND EnableEmailVerificationFlow=true (grey icon)

DESIGN:

https://invis.io/TPZ0MD55NJA

Liquid improvement

Extend object of

 ️

  • add crmType property to contact object:️
    • values
      • Contact
      • Member
  • add isEmailVerified property to contact object️ (Boolean)
  • Extend filtering of
    (add to toolbox also)️
  • add to ‘filterBy’:
    • crmType
      • Contact
      • Member️
    • isEmailVerified
      • true
      • false
  • Note: these filters would search by actual CRM contact records data, regardless of the state of Enable email verification flow flag.

Logic improvement

  • When the registration form is submitted
    • set crmType=Member  ️
  • When CRM contact edited by admin when a new password is set
    • set crmType=Member ️
    • set isEmailVerified to true️

Resend Verification Email

CRM Contacts Advanced Search

  • Add searching and sorting to CRM contacts
    • CRM Type
      • all
      • contacts
      • members
    • Member Type
      • all
      • non-confirmed member
      • confirmed member
  • Remove member type options if CRM Type == contact

DESIGN:
https://invis.io/TPZ0MD55NJA

Update CRM Contact data scopes improvements and refactoring

Update CRM Contact data scopes improvements

Refactor the CRM contact update function based on the following existing update scopes:

  1. Update CRM contact from Admin UI Scope
    1. Allow editing if
      1. User is logged in into Admin UI via admin login form
    2. Disallow editing following fields
      1. IsDataUsingAllowed
  2. Update Account Form Scope
    1. Allow editing if
      1. User is logged in via site login form
    2. Disallow editing following fields
      1. Role
  3. Update CRM Contact Form Scope (form rendered by )
    1. Allow editing if
      1. User is logged in via site login form AND has Role==Admin
    2. Disallow editing following fields
      1. IsDataUsingAllowed
      2. Role
  4. Update CRM Contact via general form submit Scope
    1. Disallow editing following fields
      1. All Contact Fields 
        1. If (see Update CRM Contact and related data fix)
  5. Update CRM Contact via stripe customer portal Scope
    1. Edit following fields on "customer.updated" webhook retrieve:
      1. Email
      2. Country
      3. City
      4. State
      5. Address
      6. ZipCode
      7. Phone

Update Stripe customer data on update CRM contact action

On any update account scopes (except Update CRM Contact via stripe customer portal scope)

  • if CRM customer has stripe customer relationship.
    • update the following stripe customer's fields:
      • Email
      • Country
      • City
      • State
      • Address
      • ZipCode
      • Phone

Update CRM Contact and related data fix

On general form submit

  • 1) If CRM Contact by formSubmissionData.Email is already exists AND CRMContactRecord.crmType==Member
    • if form is a registration form AND Enable email verification flow == true AND CRMContactRecord.isEmailVerified==False
      • Go to Point 2)
  • else
    • Skip updating existed CRM Contact data by info in formSubmissionData
    • Skip updating Advanced CRM Group fileds if group is attached to the Contact data
      • however create groups for Form Submissions, Orders and Event Bookings with the info from formSubmissionData if group is also attached to the appropriate CRM entity
  • 2) else
    • Create or update CRM Contact data by formSubmissionData
      • If formSubmissionData.<contactFieldAlias> == "" - DO NOT update CRMContactRecord.<contactFieldAlias> ️
  • Create or update Advanced CRM Group fileds if group is attached to the Contact data using info in formSubmissionData
    • If formSubmissionData.<AdvancedCRMGroupfiledAlias> == "" - DO NOT update AdvancedCRMGroup.<AdvancedCRMGroupfiledAlias> attached to the CRM Contact ️
  • If form is a registration form
    • follow the registration process (improvements to the registration process are described in CRM contacts states improvements)

Update form field names for consistency

Change names for all fields from Camel Case to Pascal Case (start with capitalized letter) in order to set them to standard.

This change is backward compatible.

Change names on ‘Update Account Form’ layout:

  • email => Email
  • firstName => FirstName
  • lastName => LastName
  • confirmPassword => ConfirmPassword
  • password => Password
  • oldPassword => OldPassword
  • site => Site
  • address => Address
  • phone => Phone
  • city => City
  • state => State
  • zipCode   => ZipCode
  • country => Country
  • status => Status
  • notes => Notes
  • All advanced crm group fields => UpCase first letter
    • example: dealersettings_FreeEuTaxation => Dealersettings_FreeEuTaxation

Change names on ‘General Form’ layout:

  • All advanced crm group fields => UpCase first letter
    • example: dealersettings_FreeEuTaxation => Dealersettings_FreeEuTaxation

Invoice number sequence shift on edit order

When editing order and changing invoice number

  • If new invoice number is bigger or equal to the next invoice number in invoice number sequence
    • next invoice number value in invoice number sequence to new invoice number+1

Check Wholesaler status on payment flows

For all forms

  • if from has field Accept Payment AND (formType is SingleItem OR Checkout)
    • Compare current logged in user type with CRM contact record determined by email in formSubmissionData (if no user is logged in - set as Consumer)
      • If they are different - show an error message:
        The submitter and CRM member types do not match.

Import Contacts improvement (update email flow)

On import for each contact record

  • if row contains id
    • if contact record found (by id)
      • if record email is different from import value
        • if there is no such email in the DB
          • change email for the record
        • else
          • skip whole record update process
      • else
        • update record
    • else
      • skip whole record update process
  • else
    • try find contact record by email
      • if found
        • update record
      • else
        • create record

Add .stl .dcm extensions to the CMS

Add ability to upload files with extensions:

  • .stl
  • .dcm

Restrict selecting child module that is already set as parent to another module

Module -> Settings -> Advanced settings:

  • Allow creating foreign items from other existing Custom Modules setting
    • if the selected module is changed:
      • Do not allow to save linkage to that new module if it is already linked to another module as a parent or a child module.
        Show error:
        This module already has parent-child relation

Bug Fixes

Import the same items - doesn't work autocomplete URL's

https://treepl.slack.com/archives/C023SU50YQP/p1636929659049100

  1. Create custom module and import files
  2. In files create several the same items with the same name and URL's (settings "disable autocomplete" should be turn off)

Actual:

After importing display items with the same URL's

Expected:

If URL' s repeated - should be added 1 to URL's

Contacts - import with 100+ CRM fields doesn't work

  1. Go to CRM -> Contacts
  2. Import file from attachments

    Expected:
    Contacts imported
    Actual:
    Error is shown http://joxi.net/xAeoWX8UM7Mgzm

Price is not showing correctly  for the 'Monthly' secure zone

it does not change from $40 to $12 which is how it is set up in the system

https://services.treepl.co/developer-dashboard-tickets/5492/team_chat

Advanced CRM group in Custom Report, Contact, Form Submission, Order Import/Export

https://treepl.slack.com/archives/C023SU50YQP/p1633928363236300

  1. Create or Update Advanced CRM group (change order of fields)
  2. Go to Custom Report (after Export file) -> all order fields display not like in Adv CRM Group VIDEO

recapcha v3 - add CMS_CustomSubmit

Add in recaptcha v3 (live and trial sites) info about CMS_CustomSubmit https://www.screencast.com/t/rs4jGR6iNl - as on right side

Сustom module - create custom property with system name

  1. Create custom property with name - "Name"  https://prnt.sc/1wlilt4
  2. After create the second custom property with the name  "test" - display error https://prnt.sc/1wlio9x
  3. After trying to add a new column in the table - display error too https://prnt.sc/1wlirp1

Expected:

Create custom property without errors

Actual:

Display error 1wlio9x

Issue with the extension being in uppercase (.PNG)

https://treepl.slack.com/archives/CC1074CQM/p1637197285103200

  1. Go to file manager and upload PNG with uppercase
  2. png files don’t show a preview thumbnail (in module image list)

Custom module - "media" property doesn't work in form CreateCustom Module

  1. Go to custom -> settings -> site user permissions and enable "Allow Adding New Items" http://joxi.ru/BA0YlbaC146Eqr
  2. Go to item properties and add custom property "media" http://joxi.ru/Vm6Y13kC37LMPr
  3. Add form on page
  4. Go to front end this form and submit form http://joxi.ru/V2V7ovGtBv7yPA

    Expected:
    New module item was created

    Actual:
    Error is shown http://joxi.ru/KAgVLJET59MvJ2

Liquid Error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') on Product not correct display ID of item

https://treepl.slack.com/archives/C023SU50YQP/p1635113198006700

  1. Put on the order page, invoice or workflow Liquid Error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') - in this object not correct display id of the product https://prnt.sc/1xa0rsw

Actual:

https://prnt.sc/1xa0rsw

Expected:

Should be 2214

In JSON not correct display "Pagination"

https://treepl.slack.com/archives/C023SU50YQP/p1636064810034300

  1. Put on page component with collectionvariable
  2. In JSON display "Params" except "Pagination" https://prnt.sc/1yeln01
  3. Also check this tag

Actual:

In JSON display "Params" except "Pagination" https://prnt.sc/1yeln01

Expected:

In JSON display "Pagination"

CRMContacts - sortBy: "UpdatedDateTime" liquid error

Put this code on page

<pre>{ "Items": [], "Params": { "type": "CRMContacts", "sortby": "UpdatedDateTime", "sortorder": "DESC", "collectionvariable": "customer", "layout": "" } }</pre>

Display

it results in Liquid Error: Expression of type 'System.Nullable`1[System.DateTime]' cannot be used for return type 'System.Object'

Admin Reset Member Password - in liquid add info about who was reset password

  1. Go to system email -> Admin Reset Member Password
  2. Put in email Liquid Error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') tag  and reset some user password - email doesn't receive https://prnt.sc/1wmyclo

Expected:

In liquid should display email and name that user who change password https://prnt.sc/1wmypip

Actual:

Email doesn't work with Liquid Error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') tag

https://treepl.slack.com/archives/C023SU50YQP/p1634433420261700

Custom reports - filtering by crm group fields doesn't show fields of other crm groups in results

ticket - https://services.treepl.co/qa-dashboard-tickets/5302/issues

  1. Go to https://justicenet.org.au/admin/custom-reports/14081/filters
  2. Check tab filers with one filter http://joxi.ru/brRxondHB46z42
  3. Pay attention these fields do not appear in the results http://joxi.ru/a2XNoY7TQ7gWLr although they are in contact and are filled

Menu/Domains - not correct order in links

Go to Menu -> create a new item and assigned link -> in list of pages not correct order https://prnt.sc/1yr1vu6 AND https://prnt.sc/1yr3z1e

Liquid Error in Deferred Order Payment Email

Go to https://stage-test.trialsite.co/admin/system-emails/336 and add Liquid Error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') on email content

Notify the client with this message http://joxi.ru/L21BOJ3twvzX4A

Expected: the customer received an email with the correct content

Actual: Liquid Error: Self referencing loop detected for property 'OrderStatus' with type 'eCommerce.BusinessModel.DomainModel.OrderStatus'. Path 'Order.OrderStatus.CustomWorkflows[0]'. http://joxi.net/gmvXNVjCewd93A

Time zone - incorrect time

  1. Create and update item
  2. Check output Mon, May 9, 2022 - 11:52:55 AM
  3. Site time differs from update time http://joxi.ru/Vm6Y13kC37WOKr

Group layout - should be 2189

In layout of group item not correct display

2189 https://prnt.sc/1wzn9tv

Actual:

{{{this.id}}}

Expected:

2189

https://treepl.slack.com/archives/CRUAT8GGZ/p1634840447001700

Custom Module - module export doesn't work

Attempting Export of Module, Error is shown on console http://joxi.ru/eAOOo65cv7awxA

Update item from front - update info deleting media fields

https://treepl.slack.com/archives/C023SU50YQP/p1631146501107000

  1. Update item from front with media
  2. On front not edit media - click edit - info about media - will be deleting https://prnt.sc/1rm4oa5
Show more less
New Feature

Recurring Products

Abiity to create products with rucurring subscription.
It will operate similar way it did in BC.
  • BC Equivalent
  • eCommerce
Improvement

OSE Editor (former nICE)

nICE editor functionality with removed jQuery dependency.
v 6.2.0 - 6.2.1 Release date: 13 Oct, 2021

Full Release Notes

6.2.1

Features

Module Item Import Improvement (parent assignment improved logic)

Implemented improved logic of parent item assignment.

(1) When performing import from:

  • Tree View Root or List View
    • If the `Parents` column is empty - all items will be assigned to the root level (they will have URLs like "/module-slug/item-slug")
  • Particular folder item from Tree View
    • If the `Parents` column is empty - all items will be assigned to that particular item (they will have URLs like "/module-slug/particular-folder-item-slug/item-slug")

(2) If `Parents` column is not present in the import file

  • if row represents new item - take parent like described above for empty column (1)
  • if row represents existing item (`External Id` column contains ID of the existing item in DB) - do not apply any changes to Parents relationship.

(3) Added improved logic for parent relationships in import/export file

  • Now item’s sequence is not required to be order "parent items first then child items". 
    • Import process will determine relations between all items based on 
      • url list from `Parents` column
      • slug from column `Url Slug`
      • existing URLs from DB 
    • and will create proper tree based on that data. So if you are trying to assign new item in row #2 to the parent that should be an item from row #3 - the only thing you should do is to use the correct parent URLs in `Parents` column. Example:

External ID

Item Name

Url Slug

Parents

Test SubItem

test-subitem

/module-slug/test-parent

Test Parent

test-parent

/module-slug

In this case the import will determine that ”Test Subitem” should be a child item to ”Test Parent” (regardless of the fact that is in the next row). 
So it will create the item from row #3 first and then create the item from row #2 and it will attach ”Test Subitem” to the ”Test Parent”, eg:

  • Test Parent
    |___Test Subitem

(4) When retrieving new URLs after the new parent’s assignment:

  • If any of them already exists
  • If ’Settings’ > ‘Misc’ > ’Disable autocomplete for already taken URL slugs’
    • is true:
      show error and will skip applying changes to the item
    • is false:
      find such "-[number]" suffix to the item slug that all new urls of the item is not existing in the DB or prepare to be added from the current import file - see (3)

(5) If item contains several parents (or should be attached to several parent items) - their URLs should be listed in column `Parents` separated by ";":

Parents

/module-slug;/module-slug/test-parent

  • When applying parent relationship changes, import will show error and will skip applying changes to the item, if:
    • at least one of the parent urls
      • is not existing in the DB
        OR
      • is not successfuly prepared to be added from the current import file - see (3) and (4)
    • Import will show error and will skip applying changes to the item if you set up several parents to the item and the parent item Module doesn't have setting "Allow multiple parents" == true.

6) Import will show error and will skip applying changes to the item on update item if `Parents` column contains URL of the current item (item could not be set as child to itself!)

NOTE: If an error will be applied to the item that is supposed to be a parent to some other items in the import file - all those child items will not be added/updated as well because of the error that one of the parent URLs does not exist as described above in (5).

Page Caching Improvement

Caching Logic:

When site visitor requests a page, try to find the page in the cache by URL

  • (A) If found and could be shown (see The logic when show page from the cache below)
    • If page was cached less then 10 seconds ago
      • render html from cache
    • else
      • go to (B)
  • (B) else
    • render the page via liquid engine 
    • If page could be added based on the ‘The logic of adding to the cache’ described below
      • add the page to cache
      • set timeout for page - 10 seconds
      • if while page parsing there was a parse of the {% component type:"shopping_cart" %}
        • Set to cache objectCachedPageObject.UsedShoppingCartOnPage = true

Cached page object should contain following data:

  • URL [string]
  • DateCached [datetime] (default)
    • Current DateTime
  • HTML [string]
  • UsedShoppingCartOnPage [bool]

The logic of adding to the cache:

  • If a visitor is a logged in user
    • DISALLOW add to Cache
  • else
    • If ShoppingCart == null or ShoppingCart.items == 0
      • ALLOW add to Cache
    • else
      • If CachedPageObject.UsedShoppingCartOnPage == true
        • DISALLOW add to Cache
      • else
        • ALLOW add to Cache


The logic when show page from the cache:

  • (1) If a visitor is a logged in user
    • DISALLOW show page from the cache
  • else
    • (2) If ShoppingCart == null or ShoppingCart.items == 0
      • ALLOW show page from the cache
    • else
      • (3) If CachedPageObject.UsedShoppingCartOnPage == true
        • DISALLOW show page from the cache
      • else
        • ALLOW show page from the cache

Here are the tables that represent all rules above:

(1)

Visitor is logged in user

FALSE

TRUE

ToShow

See table 3

FALSE

ToCache

See table 2

FALSE

(2)

ShoppingCartIsNullOrEmpty

TRUE

FALSE

UsedShoppingCartOnPage

TRUE

FALSE

TRUE

FALSE

ToCache

TRUE

FALSE

TRUE

(3)

ShoppingCartIsNullOrEmpty

TRUE

FALSE

UsedShoppingCartOnPage

TRUE

FALSE

TRUE

FALSE

ToShow

TRUE

FALSE

TRUE

FTP sync time improvement

Significantly increased sync time when update pages, templates, snippets etc via FTP

Fixed site errors when upload more then 100 files at once

Bug Fixes

Slowly works page

Fixed slow page load speed when used a lot of content for secure zone

Events - Start Date change after update 6.1.8

Ticket - https://services.treepl.co/qa-dashboard-tickets/4990/team_chat

Go to https://www.tlcc.com.au/admin/module/1827/list-view?pageIndex=0&view=list-view

Search 2022 or 2021 years

Pay attention the name, start date and url, they have different dates http://joxi.net/a2XNoY7TQ4jzBr http://joxi.net/12MRoxVigkyDOA

Sitemap - Release date issue for blog post

Create new blog with future release date

Go to site map and generate new sitemap

New created blog with future release date should not showing in sitemap http://joxi.ru/Y2LaoD8txMekOA

Misc settings - checkbox in CRM settings is not saved

Go to Misc -> CRM settings and enable checkbox "Secure Uploads"

Reload the page

Pay attention on checkbox in CRM settings is not saved http://joxi.ru/YmE5opqTG9BRlm

JSON - not correct display custom properties and pagination

Create custom module with data source and CRM group

Use this code

Not display correct custom properties https://prnt.sc/1rkf2bd

And info about pagination display not correct If you go to the second page https://prnt.sc/1rkui7t

favorites component

Not correct work includeItemData false.

Not display correct ProductDataJsonHTML.

Not correct display pagination and quantity.

Products - Sorting of group items doesn't work

Not correct order in group items http://joxi.net/V2V7ovGtB8JKEA http://joxi.net/MAj5aeRTd1K112

Secure Zone - secured files were opening to not logged users (If name secure item contains spec symbol)

Make the folder secure and add several files to it (https://stage-test.trialsite.co/admin/file-manager?path=%2f__SZ%20folder)

Files can be accessed and downloaded even by unregistered users http://joxi.ru/EA4YxbaCXxaE5r http://joxi.ru/BA0YlbaC1V46Vr

Import contacts - secure zone is not deleted via import

Do export contacts

Delete "Secure Zone" and "Secure Zone Expiration Date" fields in xlsx file and do import

Go to imported contact and pay attention that the secure zone is not deleted http://joxi.ru/gmvXNVjCeM9BjA (works in v5)

Edit item from front - can't save empty field from front

Go to front and edit Description - delete all info and save

In admin changes not applied https://prnt.sc/1v1eqou

https://treepl.slack.com/archives/C023SU50YQP/p1633532626211100

not correct  this.RecipientName where it should be this.PurchaserName

In Gift Voucher layout Uses this.RecipientName where it should be this.PurchaserName

http://prntscr.com/t0ibqq

/admin vs /Admin

Go to https://stage.treepl.co/Admin and https://furnitura-copy-site.etrnl.me/Admin

Error 404 on v6 http://joxi.ru/DrlW3MEhK0MwzA

Export - Secure Zone Expiry dates wrong/Import - assign Secure Zone

Go to Contacts and do export

Pay attention on exportin file all Expiry Dates = "2099-12-11" http://joxi.ru/Y2LaoD8txvRpvA

URL with symbols doesn't open / download

Upload file via form (attached or https://stage-test.trialsite.co/admin/contacts/10163/form-submissions/10302)

Try download file from form http://joxi.ru/D2Pnoy6twRlJyr or file manager http://joxi.ru/p27YyEgCLxvn6r

Attributes - set up a lot of domains

Create on Domains more than 3 and set up different currency

Go to Product -> cteate attributes -> save all prices 0 https://prnt.sc/1v0q2z9 -> display "show more" https://prnt.sc/1v0q4fv

Order of catalogs not correct

Go to Products

Open Catalogs tab - catalogs display is not correct order like on page Catalogs https://prnt.sc/1u8adja

Custom module - sorting by tags doesn't work

Go to custom modules and enable tags

Add some items with tags

Create new table with property "Item Tag " http://joxi.ru/L21BOJ3twVDRbA

Try sorting items in list view http://joxi.net/YmE5opqTG9LbPm (it works in v5)

Error after clicking on the "login" button

Click on the "login" button without filling in the email address and password field https://prnt.sc/1upqpsv

The following error will be displayed https://prnt.sc/1uqyzqy

Orders - Order statuses

Go to https://furnitura-copy-site.etrnl.me/admin/ecommerce-settings/statuses

first bug - http://joxi.ru/xAeoWX8UMVqObm deleted items are showing in order editing

second bug - http://joxi.ru/GrqakBVtzbq7nr after renaming the order status changed the name to the previous one after editing the content http://joxi.ru/ZrJKojEFQkljNm

third bug - new order status emails used the content of previous emails http://joxi.ru/eAOOo65cvGl3zA

Advanced CRM Groups - Сhanges order after creating a new field and reloading the page

Go to Advanced CRM Groups

Create new fields in any CRM group and click save

Reload page

Pay attention new fields change their position (https://www.dropbox.com/s/giv4det5q1faf2x/CRM%20random%20fields.webm?dl=0)

Advanced CRM Group - not display on thanky, workflow and autoresponder

create form with adc crm group (set up all types https://prnt.sc/1ubwm1q)

On thank you, workflow and autoresponder - not display info https://prnt.sc/1ubjuh1 https://prnt.sc/1ubjwcn

6.2.0

Public Backlog Features

Unassign secure zone from front-end

CRM contact Role field

Add system field to the CRM contact record. Place it on the edit contact form and contact details page in the admin. Add Admin User indicator on the contact list.

Field description:

  • Name
    • Role
  • Type
    • select
    • Values
      • General
        • default
      • Admin User

Restrictions:

  • Count CRM users with role Admin User as invited admin users to the site. Apply Site Plan restrictions to invite admin user or save new CRM record with role Admin User based on SUM of admin users plus CRM records with role Admin User
  • Show same error message on trying to create CRM contact with role Admin User as on inviting admin users.

DESIGN:

Component for the subscriptions form

  • Params Description
    • Source (required)
      • can take one of the following values
        • subscriptions
          • renders form that updates secure zone subscriptions info
        • info
          • renders form that updates contact info
    • userId (required)
      • id of the contact record
      • if empty or user can not be found - do not render the layout. CollectionVariable should be null.
      • if current logged-in user is NOT CRM contact with role Admin User - do not render the layout. CollectionVariable should be null.
  • this object
    • Add ordering to the Show Secure Zones list
      • show in alphabetical order by secure zone name
    {
        // all fields like in  https://docs.treepl.co/liquid/request-object#secCurrentMember
        // new fields marked in orange
        member : {
            "id": 162,
            "email": "asmith@example.com",
            "firstname": "Alex",
            "lastname": "Smith",
            "address": null,
            "city": null,
            "state": null,
            "zipcode": null,
            "country": "Australia",
            "site": null,
            "phone": null,
            "status": "",
            "notes": "",
            "type": 2,
            "isDataUsingAllowed": true,
            "createddatetime": "9/11/2019 3:32:23 AM",
            "updateddatetime": "3/24/2021 2:44:32 AM",
            // Add this field to the  also
            "role": "Admin User",
            // Get ALL secure zones and add flag "issubscribed" : true|false
            // Do NOT change the  object thisway
            "securezones": [
                {
                    "id": 1,
                    "name": "Secure Zone 1",
                    "landingpageid": 2541,
                    "createddatetime": "2018-11-21T15:17:23",
                    "updateddatetime": "2018-11-21T15:17:23",
                    "expirydatetime": "2022-11-21T15:17:23"                
    
                    "issubscribed": true
                },
                {
                    "id": 2,
                    "name": "Secure Zone 2",
                    "landingpageid": 1234,
                    "createddatetime": "2018-11-21T15:17:23.037",
                    "updateddatetime": "2018-11-21T15:17:23.037",
                    "expirydatetime": "9999-12-30T13:00:00"                
    
                    "issubscribed": false
                }
            ]
        }
    }   
        
  • Subscriptions Default layout
      <form> action="/forms/members/update-subscriptions.ashx" method="POST" enctype="multipart/form-data"> 
      
          <input type="hidden" name="userId" value=""/ >  
      
      
          <input type="submit" value="Save">
      
      </form>
              
      

Toolbox

Secure Zone -> Update Member Form

Form validation and processing

Create update member subscriptions form handler API

  • endpoint
    • /forms/members/update-subscriptions.ashx
  • Add support of the jsonResponse param in GET params of the endpoint

Validate submission:

  • If the currently logged in user is not null AND he has Role == Admin User
    • if formData.userId is empty - show validation message
      • UserId field is required
    • elseif user can't be found by formData.userId - show validation message
      • User with specified id doesn't exist
    • elseif user found by formData.userId has role Role == Admin User - show validation message
      • Users with "Admin User" role can't be updated
    • else
      • Proceed to update member data the same way as it works in the admin UI
  • else
    • Set Error message to the formSubmissionData:
      • Action restricted for your user role
    • if jsonResponse
      • render formSubmissionData as json response similar to other form submissions
    • else If current logged in user is null
      • Redirect to the 401 system page.

Admin UI -> CRM contact -> Subscriptions sort order

Add ordering to the Show Secure Zones list

  • show in alphabetical order by secure zone name

Component for the info form

  • Default layout
        <form action="/forms/members/update-member.ashx" method="POST" enctype="multipart/form-data">  
        
            <input type="hidden" name="userId" value=""/>  
        
        
            //similar content as generates for update account form in /api/forms/system-form-templates ProfileFormTemplate
            // including advanced crm groups attached to the Contacts
            // replace request.currentmember. in values with this.member. in order to correctly fill the data into the form
        
        </form>
        
     

Toolbox

Secure Zone -> Update Member Form

Form validation and processing

Create update member form handler API

  • endpoint
    • /forms/members/update-member.ashx
  • Add support of the jsonResponse param in GET params of the endpoint

Validate submission:

  • If the current logged in user is not null AND he has Role == Admin User
    • if formData.userId is empty - show validation message
      • UserId field is required
    • elseif user can't be found by formData.userId - show validation message
      • User with specified id doesn't exist
    • elseif user found by formData.userId has role Role == Admin User - show validation message
      • Users with "Admin User" role can't be updated
    • else
      • Proceed to update member data the same way as it works in the admin UI EXCEPT of the Role and IsDataUsingAllowed fields.
        These fields are not allowed to be updated via this API. No error message is needed just skip the role field from the formData if it occurs there.
    • else
      • Set Error message to the formSubmissionData:
        • Action restricted for your user role
      • if jsonResponse
        • render formSubmissionData as json response similar to other form submissions
    • else
      • Redirect to the 403 system page.

Import/Export Process for field Role

Do not add this field to the import and export contacts process. The role could be assigned only via admin UI

Create mailing list based on custom report

Custom Report Changes

Add Mailing List Sync group to the Custom Report -> Settings tab Fields:

  • Enable Sync With Mailing List
    • checkbox
    • once selected - show fields below
  • Mailing List
    • dropdown
    • required once Enable Sync With Mailing List is selected
      • values
        • List of all mailing lists
      • DO NOT ALLOW to select a mailing list that has already been used by another custom report
  • Update Period (in hours)
    • number (int)
      • save 0 by default
  • Sync Type
    • dropdown
      • values
        • "Add All Users From Report" (default)
        • "Adjust Mail List Users To Be The Same As In The Report"
        • "Remove Mail List Users That Are Collected In The Report"

DESIGN (take labels from task)

Update Report Logic

Every hour try to find a custom report by condition:

  • report.EnableSyncWithMailingList == true AND
  • report.UpdatePeriod > 0 AND
  • (report.LastUpdatedDate + report.UpdatePeriod) < nowDate

If found - force Generate Report flow

Sync Logic

Once Generate Report flow is triggered

  • Generate Report
  • If report.EnableSyncWithMailingList == true
    • Get all contacts from the report
    • Get mailing list by report.MailingList
    • Get all contacts added to a mailing list
    • if report.SyncType == "Add All Users From Report"
      • find all contacts from the report that are not added to the mailing list
      • add those to the mailing list
    • else if report.SyncType == "Adjust Mail List Users To Be The Same As In The Report"
      • unsubscribe all contacts from the mailing list that are not matched to the report contacts
      • subscribe to the mailing list all contacts from the report contacts that are not subscribed yet
    • else if report.SyncType == "Remove Mail List Users That Are Collected In The Report"
      • unsubscribe all contacts from the mailing list that are matched to the report contacts

Native Comments

Plan Restriction

  • Available starting from Pro

Comments General logic description

  • Comments may be threaded (i.e. commenters can respond to existing comments) or flat (a chronological listing of comments).
  • We should have the ability natively to emphasize the module item’s author comments.
    • use item.addedBy of the module item and comment.author.id in condition in liquid comment layout
  • Comments should have the ability to be added to any module items and products.
  • Prevent liquid and html in comments
    • html encode and wrap on liquid
  • Ability to mark comment links as “no-follow” for SEO reasons (auto-apply nofollow to the links on rendering or saving process)
  • Allow sending rating with comment
    • Available rating range 1-100
  • Add ability to delete comments
  • Add ability to edit comments
  • Add admin UI for comments and comment settings
  • Add ability to assign workflow notification once a comment is created

Comments Moderation

Add ability to moderate comments

  • Add page Content -> Comments

Apply workflow to send a notification once the comment is created Moderators would receive a notification of new comments and have the ability to approve or deny comments.

Design:

Comments Admin UI

Show comment list on the page Content -> Comments Add filters for the comment list

  • Period
    • Show date picker to choose a date range
  • Status
    • Approved
    • Pending
    • Spam
  • Module
    • List of modules
  • Module Item
    • List of module items

Design;

Comments settings

Add settings to the page Content -> Comments Allow to setup

  • moderation of the new comments
  • moderation of the edited comments
  • comment sending policy
    • Options
      • Comment Once Only
      • Comments unlimited
  • workflow notifications

Design

Comments body saving rules

  • Prevent liquid in comments
    • wrap in content before adding it to the liquid object
  • Prevent HTML in comments
    • strip all HTML from the body
    • find all links in the content and wrap it in <a href="[link]" rel="noindex, nofollow" >[link]</a>

Comment submit form

The form should contain the following fields

  • Body
    • string (multiline)
  • Rating
    • number
      • min 1
      • max 100
  • reCaptcha v3

Send workflow once a comment is created (if comment settings for the module contain workflows)

If comment settings (moderation of the new comments) for the module required moderation - set the status to Pending If not - set the status to Approved

Use Comment body saving rules once saving the item

Show error message if comment settings (comment sending policy) is Comment Once Only and currently logged-in member already has at least one comment to the current item

  • Error message
    • You can't leave more than one comment for this item

[Create Comment] Form Example

    <form action="/public/api/comment/}?layout=" method="post">

[Reply to comment] Form Example

    <form action="/public/api/comment//?layout="  method="post">
        <label>Rating</label>
        <input name="rating" type="number" min="1" max="100" />
        <textarea name="postComment"></textarea>
        <input type="submit" value="Post" />
    </form> 

Comment edit form

Send workflow once a comment is edited (if comment settings for the module contain workflows)
If comment settings (moderation of the edited comments) for the module required moderation - set the status to Pending

Use Comment body saving rules once saving the ite

[Edit Comment] Form Example

<form action="/public/api/comment/edit/?layout=" method="post">
    <label>Rating</label>
    <input name="rating" type="number" min="1" max="100" />
    <textarea name="postComment"></textarea>
    <input type="submit" value="Post" />
</form>

Comment delete form

Allow deleting comments that belong to the logged-in user only.

  • Error message
    • You can't delete comment that doesn't belong to you

[Delete Comment] Form Example

<form action="/public/api/comment/delete/" method="post">
    <input type="submit" value="Delete"/>
</form>

Comment Workflow liquid this object

{
    // default params
    ...
    "FormSubmissionData": {
        "fields": {
            "system": {
                "Id": {
                    "name": "Id",
                    "value": 1
                },
                "Body": {
                    "name": "Body",
                    "value": "body text"
                },
                "Rating": {
                    "name": "Rating",
                    "value": 5
                },
                "Author": {
                    "name": "Author",
                    "value": "author@email.com"
                },
                "DateAdded": {
                    "name": "DateAdded",
                    "value": "2021-01-01T10:15:18"
                }
            },
            "custom": {},
            "all": [
                {
                    "name": "Id",
                    "value": 1
                },
                {
                    "name": "Body",
                    "value": "body text"
                },
                {
                    "name": "Rating",
                    "value": 5
                },
                {
                    "name": "Author",
                    "value": "author@email.com"
                },
                {
                    "name": "DateAdded",
                    "value": "2021-01-01T10:15:18"
                }
            ]
        }
        "error": 0,
        "errormessages": []
    },
    "CommentData": {
        "Id": 1,
        "ModuleItemId": 213,
        "ParentId": null,
        "ThreadId": null,
        "Author": {
            "Id": 1,
            "FirstName": "author",
            "LastName": "lname",
            "Email": "author@email.com",
            "IsAdmin": false
        },
        "Rating": 5,
        "Body": "body text",
        "DateAdded": "2021-01-01T10:15:18"
    }
}

Comments pagination

Implement pagination to comments
Take layout from the URL.

  • If empty - use the default comment layout.

Component type: "commentThreads"

this object (get ONLY items with Status == Approved):

{
    "Items": [
        {
            "Id": 1,
            "ParentId": null,
            "ThreadId": null,
            "Author": {
                "Id": 1,
                "FirstName": "",
                "LastName": "",
                "Email": ""
            },
            "Rating": 5,
            "Body": "",
            "DateAdded": "2021-01-01T10:15:18",
            "Items": [
                {
                    "Id": 2,
                    "ParentId": 1,
                    "ThreadId": 1
                    "Author": {
                        "Id": 1,
                        "FirstName": "",
                        "LastName": "",
                        "Email": ""
                    },
                    "Rating": 3,
                    "Body": "",
                    "DateAdded": "2021-01-01T10:15:18"
                }
            ]
        }
    ],
    "ModuleItemId": 111,
    "Layout": "",
    "CommentLayout": "",
    "Pagination": {
        "CurrentPage": 1,
        "ItemsPerPage": 10,
        "NumberOfPages": 1,
        "TotalItemsCount": 4
    }
}  

General component Default Layout (/cms-assets/layouts/comment_threads/template.layout):
<div class="comment-threads">
</div>
    <a href="/public/api/comment/load-more/?page=2&limit=&layout=&commentlimit=">Load more thread</a>
    <form action="/public/api/comment/}?layout=" method="post">
        <label>Rating</label>
        <input name="rating" type="number" min="1" max="100" />
        <textarea name="postComment"></textarea>
        <input type="submit" value="Post" />
    </form>
    Thread layout (/cms-assets/layouts/comment_threads/thread_default.layout):
    
    Comment layout (/cms-assets/layouts/comment_threads/comment_default.layout):
    

DESIGN:

Component type: "comments"




General component Default Layout (/cms-assets/layouts/comments/template.layout):
<div> class="comment-list">
</div>
<a> href="/public/api/comments/load-more/?page=2&limit=&layout=">load more</a>
<form action="/public/api/comment/?layout=">
    <label>Rating</label>
    <input name="rating" type="number" min="1" max="100" />
    <textarea> name="postComment"></textarea>
    <input type="submit" value="Post" />
</form>
Comment layout (/cms-assets/layouts/comments/comment_default.layout):

Component Toolbox

Add both components to

  • Comments
    • Thread List
    • Flat List
Ecommerce: Ability To Print And Re-send An Invoice From The Order (CRM) (Print Invoice + shipping layouts)

1) Packing Slip and Package Label layouts

Add system Print Layouts for

  • Packing Slip
  • Package Label

Store them on FTP in the following paths:

  • /Content/ShippingLayouts/PackingSlip.html
  • /Content/ShippingLayouts/PackageLabel.html

Implement the following admin layouts and functionality:

  • Apply FTP sync functionality.
  • Create Shop settings -> Shipping Layouts tab (similar to Module Layouts tab http://prntscr.com/tj2psa )
    Add layouts to the Shop settings -> Shipping Layouts tab.
  • On edit layout - allow editing content only (name should not be editable).
    Once edited - apply sync to FTP.

2) Print Buttons

Add print icon ( https://invis.io/YAX7PB2EC3Q ) that would allow you to choose one of the following actions

  • Invoice
  • Packing Slip
  • Package Label

Clicking on any of those should trigger print action of the corresponded layout (Invoice layout is an Invoice system email content).

Bug Fixes

An issue with grouped items import After the products import, the grouped items were broken if the shipping was enabled for products.
Shipping Option - Radio button can't be enabled with the "Handling Charge" setting
  1. Go to Shipping Options -> edit -> settings
  2. Change the fee for "handling charge"
  3. Go to shopping cart
  4. The switch can't be enabled with the "Handling Charge" setting
Bambora - order is created in Bambora, but not created in the admin
  1. Try to buy a product and on the last step -
  2. Close the window
  3. In Bambora the payment is created, but not in admin
Custom report - Advanced CRM group does not display in reports
  1. Create an Advanced CRM group and assigned it to Contact
  2. Create custom report -> Contact and Secure Zone - no info from CRM group
Copying a site without custom properties After copying a site in Custom Module item for a CRM data source field was empty
Orders - does not send an email when the status changes. When I change the status CRM>Orders, the system updates the status but doesn't send the email.
The detail layout is being returned instead of the list layout layout When the grouped product was selected from the dropdown, the detail layout was displayed instead of the list layout was displayed instead of the list layout.
Email - incorrect tags display These tags aren't displayed correctly and
Catalogs - deleted catalogs
  1. Components->Ecommerce-> List of Catalogs -> Filter values - deleted catalog are displayed
Discount codes - stopped working Some discount codes are not applied correctly on the front-end
Events - double import doesn't work
  1. Go to Events
  2. Create an Event group and import files from attachments twice
  3. The error gets displayed after the second import
Email - Workflow Notification The form name is displayed incorrectly in the Workflow Notification email
Tree view on items
  1. Create more than 10 folders
  2. Go to the second page and open one folder
  3. Inside the folder create more than 10 folders
  4. Go to a subfolder on the second page - incorrect URL display
Default shopping_cart - doesn't work The default shopping_cart summary layout does not seem to be rendering anything.
Custom Module - random view works incorrectly Initial randomized order of items won’t remain when navigating the pagination
Checkout form - incorrect info in admin On checkout, when the user puts in shipping address, shipping city and shipping zipcode, that data overwrites the data the user has populated address, city and zipcode with. Does the user leave the shipping address blank on checkout, data the user has given as address for the crm gets deleted.
Bambora, PayPal - an email with “_”
  1. Go to buy a product and put email test_@test.co
  2. Pay with Bambora or PayPal - returns error
  3. If user submitted checkout form with testt3606_@ - ORDER page stops working in the admin
Customize table - error on list when createing same name in columns
  1. Create Property with name Description
  2. Try to display this column on a table - error returned (validation required)
Event - not rendering
  1. Go to form for the event and add this tag into layout: https://prnt.sc/1r4k2dx
  2. Open an event on the front-end - no parent ID is displayed
Customized column - "Supplier" column missing
  1. Go to any custom module->table and set up Supplier column
  2. Go to list of custom modules items - no Supplier is displayed
Custom Report - no filtering by "form fields" Custom reports couldn’t be generated by the form custom fields.
Show more less
New Feature

Native Comments

Ability to add comments to modules of the site.

Comments Zapier integration:
Triggers:

  • New Comment
  • Updated Comment
    Actions:
  • Create new comment
  • Update comment
    Searches:
  • Find Comment

Some features for comments:

  • Comments may be threaded (i.e. commenters have the ability to respond to existing comments) or flat (a chronological listing of comments).
  • We should have the ability natively to emphasize the module item’s author comments.
  • Ability to paginate comments
  • Ability to link...
  • BC Equivalent
  • Blogs
  • Custom Modules
  • General
Improvement

Ecommerce: Ability To Print And Re-send An Invoice From The Order (CRM)

Like in BC it would be nice if one could print (style would be taken from Invoice email content) the invoice for the customer that you would included with the product when sending it to the customer.
Ability to print would also include shipping layouts (Packing Slip, Package Label layouts)

At the moment we would need to do all...
  • BC Equivalent
  • eCommerce
v 6.1.4 - 6.1.8 Release date: 06 Sep, 2021

Full Release Notes

6.1.4 Blog search Search within blog doesn’t work.
6.1.4 Time zone Time zone bug: the Release date and Expiry dates are displayed incorrectly.
6.1.4 Custom module

Search in custom module: the search doesn't work by min-max number and min-max date time.

searchScope is only searching on the last property in the search string. eg: only items with FieldTwo == Test Two are displayed:

searchScope: "{'prop_FieldOne':'Test One','prop_FieldTwo':'Test Two'}"

If the property order around is switched, only items with FieldOne == Test One are displayed: searchScope: "{'prop_FieldTwo':'Test Two','prop_FieldOne':'Test One'}" All queries other than the last one are ignored.
6.1.4 Events The following error is displayed: "Liquid Error: Field not found in row: CustomerTypeName" instead of the event payment form for the logged in user. If the user is not logged in, the form displays fine.
6.1.4 Setup Analytics Google script is being inserted even if no analytics is set up (https://prnt.sc/1e1b4lx - there is no account ID in this script).
6.1.4 Liquid CRM Filtration by customer ID for the cases, orders, bookings lists and custom CRM group output.
6.1.4 Liquid Roll back the output of arrays in liquid with wrapping in [] .
6.1.4 Products and Events Optimize products, events, related items, grouped items, and favorites functions
6.1.4 Custom modules If you render Liquid Error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index'), "Parent": null, ParentName and ParentUrl are missing on the page in the page folder.
6.1.4 SEO This condition doesn't work: https://prnt.sc/1d358hv, when rendering on the system pages, nothing is rendered.
6.1.4 Liquid The Id isn't rendered in the "orders" FormatSetting component: https://prnt.sc/1dzy1h8, therefore currency custom settings do not apply.
6.1.4 Admin Simplified view doesn't work when using drag and drop: https://www.dropbox.com/s/0qb9s0hyao24xuw/Screen%20Recording%202021-07-12%20at%2009.47.32.mov?dl=0
6.1.4 Admin Ecommerce -> Catalogs -> Tree view -> Open a folder - products containing in this folder do not display: https://www.dropbox.com/s/66mdut9q90iamlj/Screen%20Recording%202021-07-12%20at%2010.37.39.mov?dl=0
6.1.4 Admin Custom module -> Settings -> Table-> add "Meta title" -> the content isn't displayed: https://prnt.sc/1b0pnk6
6.1.4 Admin Customize table in Custom Module -> set up Added by - > the information isn't displayed on the list: https://prnt.sc/1bppzw6
6.1.4 Admin Empty snippet -> create empty snippet -> add this snippet to the page -> there's a liquid error on the front end
6.1.4 CRM When an admin user outputs information about contacts on the page
, there is an extra token field that the admin user should not see. And an admin user who has different tokens is rendered multiple times: https://prnt.sc/1gnkgv4
6.1.4 ID Keep old ids (one-digit) mapping to the new ones (four-digit) for the following
- Workflow
- Mailing list
- Secure Zone"
6.1.4 Export Custom module export bug: the custom properties were missing in the Excel file.
6.1.4 Export If there were more than 2 products in the order, the products were displayed incorrectly in the Excel file (https://prnt.sc/1gmcjwz).
6.1.4 Export Custom modules incorrect custom fields order output to the Excel doc.
6.1.4 Import After catalog import, only the root folder was applied to products.
6.1.4 Import Bug: Internal error when importing the custom module.
6.1.4 Shipping Options The test shipping option couldn't be deleted from the admin if it was selected in the order.
6.1.4 Blog "Internal error" after selecting the author for the blog.
6.1.4 Event Even if the "Enable Bookings" checkbox was disabled, the events weren't displayed on the frontend.
6.1.4 Orders/cases With 6.1.4 if the payment is canceled by the payment provider, there will be an error message after the form submission attempt, the case and order won't be created and therefore the workflow and autoresponder won't be sent.
6.1.4 Sitemap The sitemap was generated incorrectly if the expiry date and release date were disabled in the custom module.
6.1.4 FormSubmissionData tag wasn't working correctly for the autoresponder, workflow and invoice.
6.1.4 Setup Analytics The Tracking ID and View ID couldn't be saved in the "Setup Analytics" tab.
6.1.4 "Allow listing CRM contacts data" checkbox Saving bug: the value of the "Allow listing CRM contacts data" checkbox wasn't saved properly (https://prnt.sc/1gmrhhs).
6.1.4 ID Bug: incorrect user and form submission ID in the autoresponder.
6.1.4 ID Note: If during the implementation you've hardcoded the IDs (e.g. secure zone or customer IDs), you'll need to change these IDs to the new ones.
6.1.4 Custom Module Custom module create/edit functions:

1) The code (create/edit) is generated in the incorrect order: http://joxi.ru/v29Y8y7CR8ddK2
2) The categories are not saved: http://joxi.ru/nAy1g6eTa7yaYA
3) The tags from the form are not rendered to the front end: http://joxi.ru/E2pZxnMT4lOvbr
4) There's an error "access forbidden" after creating though an item is being created.
5) After editing the custom module the layout is changed to the default one: http://joxi.ru/n2YJo0YU73Gk3A
6) The redirect doesn't work when creating/editing (for instance, <input type="hidden" name="redirectURL" value="/my-new-confirmation-page">) a custom module: http://joxi.ru/gmvXNVjCdkyvdA
6.1.4 Secure Zone Create a form with a paid (daily) secure zone -> set up a form autoresponder Liquid Error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') -> incorrect info about secure zone is rendered: https://prnt.sc/1ginqhf
6.1.4 Liquid (concurrent processes error) Intermittent liquid error when rendering menus: "Liquid Error: The process cannot access the file 'D:\iis\websites\4085\25585\ftp\Content\MenuLayouts\new_main_menu\Main Menu\menu.layout' because it is being used by another process.
6.1.4 Liquid (concurrent processes error) Intermittent liquid error when viewing catalogs: "Liquid Error: Exception while reading from stream"
6.1.4 Event Orders-> internal error when viewing Event Boooking: https://prnt.sc/1g2al3l
6.1.4 Products (favorites) Liquid error when rendering favorites with includeItemData: "true". The error disappears after changing it to "false".
6.1.4 Admin "Added to shoping cart" functionality doesn't work: product -> inventory tab -> "added to shoping cart" parameters do not display: https://www.dropbox.com/s/1az3wm0ig089ypn/inventory.webm?dl=0
6.1.4 Advanced CRM Groups Advanced CRM Groups fields are missing in the workflows (with form submissions enabled)
6.1.4 Advanced CRM Groups The fields from the custom CRM groups aren't rendered to the "Thank you" page: https://prnt.sc/1ga33rm
6.1.4 Product The link from a product to an author doesn't work correctly: product -> select Author and click Preview -> 404 error in console: https://www.dropbox.com/s/eja63dh6kksz8en/authors.webm?dl=0
6.1.4 Currency 1) Default currency format isn't displayed correctly: https://prnt.sc/1bsbyjo;
2) Set up custom symbol for currency https://prnt.sc/1bscao9 after the change to default, it doesn't display correctly on the product detail: https://prnt.sc/1bsdhex
6.1.4 Payment Payments -> delete Paypal Flow: http://joxi.ru/1A5YkJRCzeG0wA
6.1.5 Calendar Today button has disappeared: http://joxi.ru/brRxondHLKYGP2.
6.1.5 Custom modules Select "Use default template" in the custom module settings - create an item and select "Use default template" - incorrect template is being displayed: https://prnt.sc/1be0xnr.
6.1.5 Custom modules One custom module can be parent and child at the same time: https://www.dropbox.com/s/dqzw6cxkzz15mgc/bug%20parent-child.webm?dl=0.
6.1.5 Products, Custom modules "Disable all items from Site Search" checkbox doesn't work in the custom module and products settings for the new items, same with the expiry date: http://joxi.ru/Q2KZoqjTyDG7Rm http://joxi.ru/DmBYjR7Cge1oxr.
6.1.5 Form The items order on the "thank you" page does not match the order in the form builder:http://joxi.ru/GrqakBVtRZpp3r.
The Main CSS https://prnt.sc/19hh8o2 (and other head elements) are added irrespective of the settings here: https://prnt.sc/19hhanz. Same issue is with the reCAPTCHA: https://prnt.sc/19hhd48.
6.1.5 CRM/Custom report Timeout error when exporting multiple contacts.
6.1.5 Create Advanced CRM Group with some fields -> add another field after saving and click on "save" https://prnt.sc/1h02s0g -> previous fields will disappear: https://prnt.sc/1h02w8x.
6.1.5 System Page Add ability to update "deferred-order-payment" system page template. Add currentMemberOnly: "false" to the component type:"orders".
6.1.5 Shopping cart Incorrect display of the title in the shopping cart: shopping_cart.
6.1.5 Custom reports Pagination from the second page doesn't work: https://prnt.sc/1hj8clg.
6.1.5 WYSIWYG Add styles to the text and click on "save": https://prnt.sc/1gna5l4 - code view - the styles are displayed correctly: https://prnt.sc/1gnalqy - go back to WYSIWYG, remove styles and click on "save": https://prnt.sc/1gnawij - code view - the styles are still there: https://prnt.sc/1gnb80r.
6.1.5 Events

When you uncheck "Enable Bookings", the homepage layout completely breaks and for some reason ecommerce fields are shown in the backend and the event date fields are removed.

6.1.5 URL Redirect 1) URLs are trimmed: http://joxi.ru/L21BOJ3tzP8YxA
2) The redirect to the external site looks like this: http://joxi.ru/vAW8oeVTBJgk1r
6.1.5 Optimization All pages connected with eCommerce are working slowly.
6.1.5 Category module_category_list is not rendering the category IDs. The IDs are visible in the JSON collection output but do not render when looping
<pre>{ "Items": [], "Params": { "type": "module_category_list", "module": "Blog Post", "collectionvariable": "test" } }</pre> <pre></pre>
6.1.5

Custom module

If "Enable bookings" checkbox is enabled https://prnt.sc/1ibjad4, the items aren't displayed on the front end.
6.1.5

Custom module

If "Enable bookings" checkbox is enabled https://prnt.sc/1ibjad4 and Liquid Error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') is rendered on the item detail, the information on "hide when full", etc. related to the event will be missing.
6.1.5 Secure zone Internal error when removing subscriptions: https://prnt.sc/1irc8u7
6.1.5

Custom module

Selected and saved categoiries can't be rolled back, they are coming back after clicking on "save": https://www.dropbox.com/s/cr3sy9zbrd1b1ey/categories.webm?dl=0
6.1.5 Media Downloads DWG and DXF file formats weren't supported for media downloads.
6.1.5 Email Marketing The API Key value wasn't saved in the "API Provider" tab.
6.1.5 Custom modules, Update Form Custom module Update Form bug: the update form wasn't adding the "/" before the image URL. Also, the custom properties were deleted after the custom module was updated.
6.1.5 Custom module The field information and custom properties were displayed incorrectly in the workflow.
6.1.5 Pages Only folders were shown and the pages were missing in the "pages" tab on the tree view after the page folder was edited and the "back" button was clicked.
6.1.5 Form / form submission The form submissions had the incorrect time. The same issue was with event bookings.
6.1.5 Recaptcha "Create Login", "Reset password" and "Update Account" form bug: if the Recaptcha v2 or v3 was set up, the error was displayed after the form submission.
6.1.5 Recaptcha Bug: the user could submit a form without passing the Recaptcha verification. This affected the "Login", "Reset password" and "Update" forms.
6.1.5 Form / form submission The autoresponder and workflow weren't sent after the form submission.
6.1.5 Emails The system emails weren't sent.
6.1.5 Form The redirect wasn't working for the "secure zone login" functionality and the user was redirected to the error page after logging into the secure zone.
6.1.5 Pages The "Make item secure" functionality wasn't working correctly for pages and folders, the checkbox with the secure zone name couldn't be disabled.
6.1.5 Email Templates The changes weren't displayed in the invoice even though the system template was edited.
6.1.6 Shipping Shipping providers integration optimization.
6.1.6 Delete selected All the snippets/Content templates/Workflows/Workflow Emails/Email Templates/Mailing Lists are highlighted and deleted when selecting "delete selected":https://www.dropbox.com/s/1pm1ldstpjtsb6v/SNIPPETS%20DELETE.webm?dl=0
6.1.6 FTP Pages -> duplicate a page -> wait for 2 minutes -> root -> a duplicate folder is being displayed: https://prnt.sc/1ib3wpu
6.1.6 Workflow Create a workflow https://prnt.sc/1j0d0cf -> assign it to the form -> submit a form -> an error is being displayed: https://prnt.sc/1j0d5bh
6.1.6 Contacts Update account settings -> "Allow listing my contact data in the CMS" isn't displayed from the front-end
6.1.6 Import Import file in custom module (file will send in telegram) -> display 500 error https://prnt.sc/1ibfppj
6.1.6 Optimization The page form-submission-results keeps loading for a long time.
6.1.6 Stripe Portal The plan names do not match the secure zone name in Treepl after secure zone name update.
6.1.6 Mailing Lists Internal error when trying to subscribe a contact manually to the mailing lists in the contact detail [in 6.1.5]
6.1.6 Stripe one-time payment One-time payment form doesn't work: https://prnt.sc/1jbfi3k
6.1.6 Import in Contacts Contacts -> export -> import -> a 400 error is being displayed: https://prnt.sc/1imn9am
6.1.6 Admin The first country is "Mali" http://joxi.ru/Vm6Y13kCRgDQYr by default in the email marketing settings.
6.1.6 Authorize net Create a weekly paid secure zone -> pay for secure zone access -> an order is neither created nor secure zone is assigned to the user https://prnt.sc/1jflseu/, the form submissions are created
6.1.6 Site notifications The issue with the email delivery is now fixed (this applies to workflows, autoresponders, "reset password" and "Invite admin user" emails, etc.)
6.1.6 Shopping cart Bug: if two products were added to the shopping cart and one product was deleted, the error was displayed.
6.1.6 Stripe The shipping address was displayed incorrectly in Stripe (only the country information was passed to Stripe after the payment).
6.1.6 Pages BUG: the content was deleted in the parent folder when there was a URL conflict within the folder (identical URLs conflict).
6.1.6 FTP The pages weren't shown in the "Pages" tab after they were uploaded via FTP. The pages weren't visible in FTP either.
6.1.6 Bambora There was an issue with products purchase with the following settings for Bambora: https://prnt.sc/1mv8g20
6.1.6 Stripe / Bambora 3D secure / Pay with Pay Pal If two-step card payment was selected for one of the following gateways: Stripe, Bambora, "Pay with Paypal", the internal error was displayed after the payment.
6.1.6 Authorize net BUG: Even though the "Give one-day access before payment received" option was selected: http://joxi.net/DmBYjR7Cg9DaMr, the access wasn't granted to the user after payment.
6.1.6 Email domains If the domain wasn't verified (the "Failed" status was shown in the admin) and the "Retry" button was clicked, the "internal error" was shown: https://prnt.sc/1mv4jvd
6.1.6 Taxes Multiple identical tax codes were displayed in the dropdown on the shopping cart page if the user constantly logged in and logged out from the secure zone.
6.1.6 Cases BUG: this.case couldn't be displayed on the page, the "Liquid error" was shown instead.
6.1.7 Payment settings

After removing the payment gateway settings and refreshing the page, they are coming back: http://joxi.ru/BA0YlbaCvgLaqr

6.1.7 Event booking

Go to Event Booking -> Edit -> Save -> an error is being displayed: https://prnt.sc/1mo6w3z

6.1.7 Email Marketing Set an API Provider -> then go to Mailing Lists and create new -> an error is being displayed: https://prnt.sc/1indmrm
6.1.7 Liquid

changed from displaying relative URLs to absolute URLs.

6.1.7 Liquid The following tags do not work:
6.1.7 Event booking BUG: The event bookings were displayed without an event name after the event was purchased and then deleted.
6.1.7 Time zone The time was displayed incorrectly in admin in such cases: - for orders; - incorrect time for the tag;
6.1.7 Currency After adding a new currentcy, add a product with the price and configure payment settings, then delete a product and payment settings and try to delete the currency -> an error is being displayed: http://joxi.ru/n2YJo0YU7LYB5A
6.1.7 WYSIWYG BUG: If the image was inserted via WYSIWYG, the long image code was displayed in the code view instead of the short one.
6.1.8 Catalogs You can't assign parents to catalogs after "drag and drop", they are duplicated on clicking "save": https://www.dropbox.com/s/pk573kas4hatm6a/catalogs%20bug.webm?dl=0 Same issue with custom modules.
6.1.8 Checkout/forms with system fields If you go to the checkout forms and fill in all the fields (incl. zip, state, city or system city and address), everything works fine. If you don't fill all these fields on the checkout, the data the user has indicated as an address will be deleted in the site admin: https://prnt.sc/1qhjkbf
6.1.8 Import When importing products with grouped products, one of them is named as the default product name, the rest - the way they were named in the grouped products tab: http://joxi.ru/GrqakBVtRpDPbr http://joxi.ru/E2pZxnMT4Kqa1r
6.1.8 Custom Modules Parent categories disappeared after 6.1.7 release.
6.1.8 Liquid Attributes output on the products detail in stock:
v6 - http://joxi.ru/YmE5opqTGZw6gm without "S" in the end.
v5 - http://joxi.ru/vAW8oeVT3kgDDr with "S" in the end. This has been changed to match v5
6.1.8 SEO Select primary language in the SEO section http://joxi.ru/4Ak6Nxbc00WGP2 , it will be added to the page without a closing quotation mark: http://joxi.ru/EA4YD5MTvvLyQr <html lang="en> if the lang hasn't been added to the code. If you add it to the code, the result will be as follows: http://joxi.ru/4Ak6Nxbc00W882
6.1.8 Liquid 5.9.5 - tag displayed such a data array: http://joxi.ru/4Ak6REZHjNy4V2With v6 you need to add specific tags to display elements of that data array:, , there's no access to PreOrder:http://joxi.ru/YmE5opqTGbDzRm http://joxi.ru/a2XNoY7TQ0aWWr
6.1.8 Email Domains Email domains shouldn't be case-sensitive: http://joxi.ru/xAeoWX8Ub0pwPm
6.1.8 Catalogs Incorrect display of the parents in the catalogs ("Simplified Tree View/ Tree View"): http://joxi.ru/Y2LaoD8tMk4bGA http://joxi.ru/BA0YlbaCvykXnr http://joxi.ru/8AnlnN3toZdkVm
6.1.8 Liquid Add this code to the detail/list layout: Liquid Error: Object reference not set to an instance of an object. -> custom name won't be applied to buttons
6.1.8 Release/expiration date Release/expiration dates do not work in custom modules/events/blogs/faqs/products though inactive image is being displayed: http://joxi.ru/zAN3oBQI8EoR7r http://joxi.ru/4Ak6REZH0Q7ZV2 http://joxi.ru/Vm6Y13kCRy5aNr
6.1.8 Sitemap SEO -> select Enable Automation of sitemap https://prnt.sc/1qd0l8n -> go to Sitemap -> the automation doesn't work
6.1.8 Import with empty lines If you go to an Event and make an export (there should be several lines empty in the file) https://prnt.sc/1q2tqgj -> and then import the same file -> it results in an error in the site admin, however, the import will be completed with empty items: https://prnt.sc/1q2u0g0
6.1.8 Weighting If in addition to weighting in module items you'll add sorting by name to module output,the sorting by weighting will be ignored if filtering is in use. Without filtering weighting works correctly.
6.1.8 Custom module When you create/update an item from the front-end, the info from the FormSubmissionData won't be displayed in the workflow.
6.1.8 Create items from the front-end When you create/update an item from the front-end, incorrect time is displayed in the site admin: https://prnt.sc/1qhk320
6.1.8 Sitemap 1) Sitemap is generated with incorrect dates: https://prnt.sc/1r3wn51 2) Sitemap is generated with double URLS: http://joxi.net/82QXl4WC8Dzp6m
6.1.8 Large file export/import Temporary restriction: currently, you can import up to 600 products. This restriction will be lifted in the upcoming releases.
6.1.8 Pages (UI) After opening the pages in the list view and editing the page from the folder, this folder was added to the breadcrumbs. After clicking on this page from breadcrumbs, the "Analytics" page was opened in the admin.
6.1.8 Domain request The following tag wasn't working correctly: <pre> { "Domain": "on.works", "Country": { "Name": "NEW ZEALAND", "Code": "NZ" }, "LandingPage": { "Id": 1925, "Url": "/treepl-cms-partner", "Name": "On.Works | Treepl CMS Partner " }, "FormatSetting": { "Id": "4379", "Name": "NZ", "Culture": "en-NZ", "DecimalsQuantity": 2, "Currency": { "Code": "NZD", "Symbol": "$", "DigitalCode": "554", "Name": "New Zealand Dollar" } }, "Params": { "type": "domain_settings", "collectionvariable": "domain" } } </pre>
6.1.8 URL redirect The redirects with the .htm page suffix weren't working correctly (e.g. the redirect from contact.htm to contact)
6.1.8 Shipping Options When the new catalog was created, it wasn't displayed in the "Shipping options settings" tab. The similar issue was for discounts ("apply discount to selected catalog" checkbox).
6.1.8 Liquid The blog archives weren't displayed on the site when using this tag:
6.1.8 Edit item from the front-end If the created select element is not "multiple" for the "custom module update form" and the "---" is selected on the front-end, the changes were not saved in the admin.
6.1.8 Search by custom module The search by the author wasn't working correctly in custom modules. The similar issue was for the "data source" drop down.
6.1.8 Custom Reports The custom reports weren't running if the following items were selected for "Contacts and Orders" report type: Contact ID, First Name, Email, Order ID, Date submission. Also, the custom reports weren't created with the form custom fields.
6.1.8 Order of attributes BUG: when the product was created, the attribute output was incorrect on the front-end.
6.1.8 Liquid BUG: wasn't rendered on the page.
6.1.8 WWW domain The payment fields weren't displayed on the forms for the www domain, they worked correctly for the non-www version of the site.
6.1.8 Case sensitivity BUG: the email fields were case sensitive
6.1.8 Import of items with identical names If the items with identical names were added to the events export file, the incorrect URLs were displayed in the admin after the import of this file.
6.1.8 Liquid - The following tags weren't working without "this":


- These tags weren't displayed in the invoice: https://prnt.sc/1r1yn06 ;
- when was added to the invoice, the CaseID wasn't displayed;
- when <pre></pre> was pasted to the order page, the required info wasn't displayed;
- when <pre></pre> was pasted to the order page, the required info wasn't displayed.
6.1.8 Products import BUG: after deleting the IDs in the product export file and then importing this file, the following issues occurred: - the "prices" tab was blank; - the "internal error" was displayed in attributes, inventory, related items, grouped items.
6.1.8 Shopping cart The setting "Lifetime for shopping cart" was working incorrectly.
6.1.8 Time in event booking/one time payment form The incorrect payment time was displayed in the Orders -> "Payments" tab after purchasing the event or submitting a payment form (one-time payment).
Show more less
v 6.1.0-3 Release date: 21 Jul, 2021

Full Release Notes

6.1.0 Export Orders export doesn't work if large amounts are separated by commas and dots.
6.1.0 Site Search Site search returns 'site is being indexed'.
6.1.0 CRM Internal errror when registering to a Secure Zone.
6.1.0 Catalog 404 error when viewing catalogs on the site. It works correctly only when adding catalogs to the URL.
6.1.0 Secure Zone Logout from the Secure Zone doesn't work.
6.1.0 Archive Archives do not work correctly.
6.1.2.8 Form Autoresponder is missing content.
6.1.2.8 Secure Zone A second Secure Zone can't be assigned to a contact - the page keeps loading. If you assign 1 Secure Zone only - it works correctly.
6.1.2.8 Custom modules import/export Custom modules import/export issues:
1) There's an error if importing right after the export: https://prnt.sc/1dypkvi.
2) Incorrect property date is exported.
3) Templates aren't imported/exported correctly.
4) Modules categories aren't updated.
6.1.2.8 Custom modules Custom modules items preview doesn't work (404) if "еnable bookings" has been selected: http://prntscr.com/190pi2x.
6.1.2.8 JS is broken because of the ItemCategorieList.
6.1.2.8 Orders export Orders export works incosistently.
6.1.2.8 Titles There's an issue with titles output: a duplicate is rendered (both titles are rendered for the page and the folder.
6.1.2.8 Shopping cart Liquid error on the shopping cart even after resetting it to the default layout.
6.1.2.8 Secure Zone You can access a Secure Zone after the subscription has expired.
6.1.2.8 Products 500 error when creating a product.
6.1.2.8 It's impossible to render name and URL when adding data source to the custom properties. When rendering Liquid Error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index'), these fields are empty: http://prntscr.com/198uy0g.
6.1.2.8 Catalogs Internal error when viewing catalogs list. "An error occurred. (Exception while reading from stream)" on the product detail.
6.1.2.8 Site search Products aren't shown in the site search results.
6.1.2.8 Workflows and autoresponders aren't sent.
6.1.2.9 CRM Liquid error when rendering a contact and filtering by ID.
6.1.2.9 Product, relaited items Liquid error instead of related items: https://prnt.sc/1b43164.
6.1.2.9 Product, relaited items Liquid error wnen rendering related products: https://prnt.sc/1b44ccq.
6.1.2.9 Products export Issues when exporting products with SKU code: a new tab "Variation SKU Code" is added to the excel which doesn't exist in the properties.
Custom reports Custom reports -> select a report -> click on tab RESULTS -> endless loading.
6.1.2.9 Shopping cart CLEAR CART issue - > go to shopping cart and click on Clear Cart - it keeps redirecting.
6.1.2.9 Faqs Go to FAQS -> create a new item -> detail layout сan't be displayed.
6.1.2.9 Products attributes Products attributes issue: attributes order in the dropdown should match the backend: https://prnt.sc/1dzi7pl.
6.1.2.9 Sitemap After excluding some modules from the Sitemap they keep appearing in the Sitemap.
6.1.2.9 SEO SEO -> Primary Country and Primary Language settings are not displayed after clicking on the "save changes": https://prnt.sc/1dzsdzl, https://prnt.sc/1dzsjlp.
6.1.2.9 Admin user Internal error after trying to delete a contact or duplicating an admin user.
6.1.2.9 Products grouping "Group Items -> set up one product group https://prnt.sc/1dzv53y -> add this code to the page: {% component source: ""Products"", layout: ""List"", limit: ""100"", type: ""module"" %} only main group product should be displayed on the page: https://prnt.sc/1dzx1g2.
6.1.2.9 Admin Incorrect order deletion. When the order was deleted in the "Orders" tab, it wasn't deleted in the "Contatcs" -> particular contact -> "Orders" tab.
6.1.2.9 The order was showing in the export file even though it was deleted.
6.1.2.9 The "Email invoice" and "Send test email" functionality wasn't working (https://prnt.sc/1dzppf9).
6.1.2.9 Admin The search field wasn't working for dropdowns in the admin (e.g. https://prnt.sc/1dzs7kf).
6.1.2.9 System Email Issue with system email tags output. Now these tags are not case sensitive:






6.1.2.9 SKU code SKU code issue: when the product had been created using the generated SKU code and then this code was changed to the custom one, there was a synchronization issue.
Products and categories Error when creating the products and saving the categories: https://prnt.sc/1b3urrg.
6.1.2.9 Bambora Payment Gateway 1) The payment process wasn’t working with the two-step card payments and the “Redirect” checkout integration type (https://prnt.sc/1dzx3yt). 2) After the form submission, the list of the purchased products wasn’t displayed on the frontend with the “Inline” and “Modal” integration types.
6.1.2.9 Event Calendar Issue with the calendar output on the frontend.
6.1.2.9 Events When a paid event form was created, the event price wasn't displayed on the frontend. The total amount wasn't calculated correctly after changing the quantity. Also, the order was generated incorrectly.
Liquid tags The {{liquidcontext]} tag wasn't working correctly for the invoice, workflow and autoresponder.
6.1.2.9 Liquid tags When the currency on the domain was being changed (custom symbol), the ToDomainMoneyFormat liquid filter wasn't changed: https://prnt.sc/1dxqfr5.
Export The custom properties and "parent" were displayed incorrectly in the products export spreadsheet.
Custom modules The "create/update custom module items from the frontend" functionality has been fixed.
6.1.2.9 Product Group "Liquid Error: Field not found in row: CategoryIdList" error was displayed on the frontend instead of "select" (e.g. product size options).
6.1.2.9 Case sensitivity Case sensativity of the alias name: {% component type: "snippet", alias: "menu_Desktop"%} and {% component type: "snippet", alias: "menu_desktop"%} - both options are working fine now. The same applies to SortBy: "weighting".
6.1.2.9 Form submissions output The form submissions of the particular logged-in user weren't displaying on the frontend.
6.1.2.9 Admin The "Enabled" checkbox wasn't working correctly. Even though the item was disabled, it was displaying on the frontend.
6.1.2.9 Products In the "attribute" dropdown the values were displayed twice.
6.1.3 Forms Even if the URL redirect was set up for the form, the redirect wasn't working.
6.1.3 Liquid tags The info about pagination wasn't displayed in the {{this}} tag for modules (custom modules, blog, etc.): https://skr.sh/s8oOfcT43ae
6.1.3 Blog Issue with the incorrect author ID in Blog.
6.1.3 Advance CRM group When rendering a CRM group field, all values are displayed instead of logged-in user ones.
Show more less
v 6.1 Release date: 30 Jun, 2021

Full Release Notes

BACKLOG

Gift Cards + Discount Codes on form payments and secure zone subscriptions

Gift Vouchers and Discount Codes can now be used with all form payments (general payment, paid Events, paid Secure Zone subscriptions).

For Secure Zone Recurring Discount Settings:

Add new settings to ‘eCommerce’ > ‘Settings’ > ‘Settings tab’:

“Recurring Settings”

  • Discount applies to
    • First Payment Only (default)
    • All Payments

Discount Code and Gift Voucher to forms:

Ability to add ’Discount Code’ and ’Gift Voucher’ fields to the form builder.

Generate following HTML on default form html:

Discount Code:

<label for="Payment_DiscountCode">Discount Code</label>
<input type="text" id="Payment_DiscountCode" name="Payment_DiscountCode">

Gift Voucher:

<label for="Payment_GiftVoucher">Gift Voucher</label>
<input type="text" id="Payment_GiftVoucher" name="Payment_GiftVoucher">

Do not allow to add Discount Code or Gift Voucher field to the form type="checkout". 

If attempted, show error: “<fieldName> doesn't allowed on this type of the form”

Do not allow to change the type of the form to type="checkout" if it contains Discount Code or Gift Voucher field.

If attempted, show same error as above.


When payment proceeds - apply following Discount and Gift Voucher like it works on shopping cart.

  • SKIP applying on from type="checkout"
  • APPLY on
    • Generic form
      • General payment
      • Secure zone recurring payment
    • SingleItem form

Default html code rework:

Replace: 

<input type="text" disabled="disabled" id="Payment_Amount" name="Payment_Amount" value=""/>

to:

<input type="text" disabled="disabled" id="PaymentTotalCost" value=""/>

JS implementation:

  • Add ’priceCalculation.js’ to the head section of the page if form contains Discount Code or Gift Voucher field.
  • Implement algorithm in JS that decreases price when Discount and/or Gift Voucher applies (trigger it on ’Payment_DiscountCode’, ’Payment_GiftVoucher’ or ’Payment_Amount’ field change event):
    • Take ’PaymentAmount’ form ’name="Payment_Amount"’.
    • Take value of ’GiftVoucherValue’ based on ’Payment_GiftVoucher’
    • Take value of ’DiscountCodeValue’ based on ’Payment_DiscountCode’
      • DiscountCodeValue = PaymentAmount * DiscountCodePercentageValue
        or
      • DiscountCodeValue = DiscountCodeAmountValue implement and use frontend API request to determine values of a discount code and a gift voucher.
        • Return validation errors for DiscountCode AND GiftVoucher (see shopping cart errors)
    • Calculate ’TotalCost’
      • TotalCost = PaymentAmount - DiscountCodeValue - GiftVoucherValue
      • if TotalCost < 0 
        • TotalCost = 0
    • Set ’TotalCost’ to <input id="PaymentTotalCost"/> of the current form


Discount payment flow:

  • If PaymentAmount matches the required payment amount for the current form (for Generic form with recurring secure zones - sum of all recurring subscription prices. For SingleItem - priceOfEvent*allocation)
    • If DiscountCode is applied AND (DiscountCode IS expired OR RedemptionQuantity == Expire After x Redemption OR DiscountCode IS disabled)
      • Show appropriate validation error (see shopping cart errors)
    • Else
      • Begin
        • Create Order. 
        • Set OrderLine price to PaymentAmount 
        • Apply Discount and/or Gift Voucher
        • DO Increase RedemptionQuantity for the Discount 
      • Then
        • Get TotalCost by the logic described above.
      • Then
        • If Discount applies to == First Payment Only
          • Create Recurring Payment
            • Set first payment Price to TotalCost  and recurring Price to PaymentAmount
        • elseif Discount applies to == All Payments
          • If DiscountCodePercentageValue == 100
            • Create secure zone subscriptions with expiration date 31-Dec-9999
            • Do NOT Create Recurring Payment
          • else
            • Create Recurring Payment
              Set first payment Price to TotalCostand recurring Price to
              PaymentAmount * (1-DiscountCodePercentageValue/100)
              • if TotalCost == PaymentAmount * (1-DiscountCodePercentageValue/100)
                • set general recurring payment with price == TotalCost
    • Then
      • if GiftVoucherValue > 0 and (PaymentAmount - DiscountCodeValue) > 0
        • GiftVoucherBalance = GiftVoucherValue - (PaymentAmount - DiscountCodeValue)
        • Apply GiftVoucherBalance to the GiftVoucher
  • else 
    • show current validation error message
  • Then
    • When recurring payment triggers webhook
      • Get Parent Order's DiscountCode
      • Get Parent Order's OrderLine
      • Create order using OrderLine and DiscountCode
      • DO NOT increase RedemptionQuantity for the DiscountCode

For Stripe:

For recurring payment if payment gateway is STRIPE

If Discount applies to == All Payments AND applied DiscountCode and GiftVoucher - show validation message:

“Current site settings doesn't allow applying Discount Code and Gift Voucher at the same time for recurring payments”

Examples:

Examples of secure zone subscription purchase (Discount applies to == First Payment Only):

1. For % off discount, it should be a one-time discount. So that the renewal is at the normal rate for that subscription.

For instance:

  • subscription cost $100
  • 50% discount

Result

  • first payment: 100*0.5 = $50
  • recurring payments: $100

2. For dollar amount discount, it would work the same way - on the initial purchase only. All recurring invoices would not use the discount.

For instance:

  • $100 subscription
  • $50 discount
  • $30 gift voucher

Result

  • first payment 100-50-30 = $20
  • all recurring payments: $100

BACKLOG

Stripe Customer Portal

Implement Stripe Customer Portal Page
(What is this? https://stripe.com/docs/billing/subscriptions/customer-portal)

Liquid:

Add link for the Stripe Customer Portal into the request member object:

‘request.currentmember.StripeCustomerPortalLink’

When clicking on the link:

  • if current logged in user == null
    • Render content of 401 System Page
  • Else, verify if current logged in user equals to order's CRM contact
    • If true:
      Open Stripe Customer Portal page
    • Else:
      Render content of 403 System Page

Implement Flows triggered by the Stripe Customer Portal 

Cancel Recurring Flow:

  • If subscription canceled from Stripe Customer Portal - cancel subscription in the CMS

Change Subscription (that contains only one Plan):

  • If subscription plan was changed from Stripe Customer Portal - sync plan on the subscription in CMS

Change Email Address:

  • If email address changed from Stripe Customer Portal - begin change of  CRM Contact -> Email property:
    • Create request to change email
    • send confirmation email to new email address
    • if confirmed - change email
    • else - do nothing

Change Billing Address:

  • If Billing Address changed from Stripe Customer Portal - change CRM Contact -> Billing Address accordingly

Change Phone Number:

  • If Phone changed from Stripe Customer Portal - change CRM Contact -> Phone property

BACKLOG

Custom Reports: Customer And Order logic extending

Add following ”view” and ”filter” options to ”Customer And Order” report type allowing further order and individual product reporting/filtering:

  • Product Name
    - Show dropdown of ALL product names on filter
  • Product Attributes
    - General string field on filter
  • SKU Code
    - General string field on filter
  • Product Quantity
    - Number field on filter
  • Product Price
    - Number field on filter
  • Product Total Price
    - Number field on filter
  • Order Discount Price
    - Number field on filter
  • Order Discount Code
    - General string field on filter
  • Order Gift Voucher Price
    - Number field on filter
  • Order Gift Voucher 
    - General string field on filter
  • Order Shipping Price
    - Number field on filter

BC example: http://prntscr.com/15dpmrd

When the following fields are selected for viewing - show each product data on a separate row.

Order and Customer data should be repeated in each row where product data listed.

Example: https://www.screencast.com/t/aX5hWFlz

BACKLOG

“| truncate” filter fix

Fix for the Liquid ‘| truncate’ filter

If string length bigger than (limitValue - ellipsis length) - do not show ellipsis at the end of the string

Before: http://prntscr.com/16bd9c7

After: http://prntscr.com/16bdidy

BACKLOG

Add form alias to system page redirect URL

Change default system page URL for form submissions to include the form alias as URL parameter (for GA tracking purposes):

/form-submission-results?form=[form.Alias]

So it will be similar to previous implementation:

/forms/cases.ashx?form=[form.Alias]

Feature Flags

Feature flags changes (v6.1)

Move flags to ”internal” and set to true:

  • Anti-spam protection
Show more less
New Feature

Gift Cards And Discount Codes On Any Payment Forms

Ability to apply Discount Code and/or Gift Voucher on:
- General payment form
- Secure zone subscription form
- Event payment form
  • eCommerce
  • Forms
  • Secure Zones
New Feature

Stripe Customer Portal

Add the ability for logged in users to get the Stripe Customer Portal page that belongs to the particular recurring order.
List of functionality available through the Stripe Customer Portal:
- Update credit card for the subscription
- Get billing history for the subscription
- Change subscription plan
- Cancel subscription
- Change user data (Email Address, Phone Number, etc.)
...
  • eCommerce
Improvement

Account Created In Portal

In the Partner Portal in both the Live Site and Trial site settings, can we get a “Account Created” text field, which generates the exact date that the site was created? To go one step further, possibly if we can get the date the website went live?

So, Trial site settings would show: Date Trial Site was Created; and,
...
  • Admin Panel
Improvement

Custom Reports: Customer And Order logic extending

Add the following view and filter options to the "Customer And Order" report: - Product Name
- Product Attributes
- SKU Code
- Product Quantity
- Product Price
- Product Total Price
- Order Discount Price
- Order Discount Code
- Order Gift Voucher Price
- Order Gift Voucher
- Order Shipping Price
  • BC Equivalent
  • CRM
v 6.0 Release date: 04 Jun, 2021

Full Release Notes

Portal

Rename Site

Ability to rename site name in Treepl Portal (under site settings)

Portal

Export site details

Export data for Trial and Live sites
Show button that performs export all sites details [in excel format]

For Live sites:

File Name: “Live_Sites_Export_${dateStr}.xlsx”

Export Data:

  • Site Name
  • Live Site URL (Primary domain)
  • Trial Site URL
  • Plan
  • Plan Fee
  • Date Created
  • Expiry Date


For Trial sites:
File Name: “Trial_Sites_Export_${dateStr}.xlsx”

Export Data:

  • Site Name
  • Trial Site URL
  • Plan
  • Date Created

DESIGN (for button placement): https://invis.io/KS111912R74U

​Restrictions:

  • Allowed for portal owner role (‘Partner’, ’Agency’ and ’Treepl User’ (added to the ’Agency’ portal))
  • Not available for ’Free user’ and ’Associate’ levels

Portal

Renewal notifications

Renewal checker will ping sites for renewal info.

If site found that matches condition - send email notification.

Conditions:

If current date is:

  • for site with monthly subscription
    • 3 days priorthe date of subscription
  • for site with annually subscription
    • 1 month (30 days) prior the date of subscription
    • 3 days prior the date of subscription

Email sending conditions:

  • Send email only to account owner
    • if account owner is agency - DO NOT send email to there Treepl user/s
  • If subscription created via direct billing flow
    • send email to payer 
    • send email to account owner

Email notifications:

Create emails templates for monthly and annual subscription 

DESIGN: https://invis.io/H6111B3M9PYQ

BACKLOG

New Architecture

Database and CMS Core

New Architecture as presented on Treehouse #22:

https://forum.treepl.co/t/treehouse-meeting-22/1658/4

LIQUID 3.0

New liquid engine provides much faster data retrieval than the previous version.

However there are also some differences in liquid work between versions.

Mostly they are the fixes of previous functionality that was semi-broken but still could be used by some partners as it was.

In that case such use of the buggy implementation required it to be fixed.

See this documentation article for changes and required actions.

BACKLOG

File Manager - Editing in tabs

Provide ability to open several files in tabs in the file manager

DESIGN: https://invis.io/ZA10840NYPRV

Editing supported for text-based files only of the following extension types:

  • .txt
  • .inc
  • .layout
  • .csv
  • .log
  • .sql
  • .html
  • .htm
  • .xml
  • .css
  • .scss
  • .sass
  • .less
  • .js
  • .xhtml
  • .rss
  • .json
  • .tpl

BACKLOG

Show Discount Codes In Backend

The ability to see which discount code is used for a specific order in the backend.

Order details:
http://prntscr.com/17aeox4

Order Products list:
http://prntscr.com/17aeavx

BACKLOG

Allow module item search from Tree View (same as List View)

The ability to search in nested module items and in Tree View (like you can in List View) for Pages, Snippets, Custom Modules, etc.
This brings list search to all modules now, including Blogs, Banners, Galleries, etc.

BACKLOG

Pagination on tree view module items

1) Add pagination for tree view in admin panel (UI is the same as for list view).

Pagination is now applied to both ’Parent’ items (viewed as folder icons) and ’Child’ items (viewed as file icons) and acts upon the whole list.

2) Apply Sorting via backend. Default sorting is not set (sort "folders" (parent module items) first then "files" (child module items)). 

Remember latest applied sorting (like it's done for list view).

Store sorting field/sort direction separately from list view so they are remembered independently.

3) Add searching by name for the current level

BACKLOG

Show/Hide Inactive/Disabled Items

The ability to show/hide inactive/disabled items across all modules.

  • showing all enabled and disabled
  • showing just enabled
  • showing just disabled

DESIGN: https://invis.io/8B10ETTMSHCU

BACKLOG

Module Introductory Note

Allow adding an introductory paragraph to the module list view to give editors some guidance.


Sometimes we want to give users some general directions for a module or some context on how a module is being used and what part of the website it populates.

Proposed solution:
Allow the addition of notes to a module that would be displayed inline above a module’s list view. Suggest that they are in a collapsible accordion that would be open by default, but after being closed by the user it would remember its state and stay closed on future visits.

DESIGN: https://invis.io/6U10E76B32XQ

BACKLOG

Bulk Assign Templates

Ability to assign several items (Pages, System Module items, Custom Module items) to a template via admin interface.

DESIGN: https://projects.invisionapp.com/share/PQ10EEP7NKZA#/screens/446376158

BACKLOG

Implement reCaptcha v3 For System Forms/login

Add ability to select the version of reCaptcha used for system forms

Add section to ‘Settings’ > ‘Misc’ with the ability to choose reCaptcha v2 or reCaptcha v3 to use on all system forms, which include:

  • login form
  • restore password request form
  • reset password form (on ’reset-password’ system page)
  • Update account form

Selected reCaptcha will affect both, the way the form's html is generated from the toolbox/component manager, and the reCaptcha validation for the submit action.

BACKLOG

Add “Format” To Code Editor

Add Button for code formatting purposes.

http://prntscr.com/nu1954

DESIGN: https://invis.io/NT10EEPX3GSY

BACKLOG

Customer Bookings and orders tabs

Add Event Bookings tab to CRM Contact:

http://prntscr.com/15hkhrp

Content should be the same table as on Event Bookings page http://prntscr.com/15hktfh

Add Orders tab to CRM Contact:

http://prntscr.com/15hkhrp

Content should be the same table as on Orders page http://prntscr.com/15hkv9f

Show more less
New Feature

Bulk Assignment Of Pages To A Template

Ability to assign several pages to a template via admin interface.

  • Pages and Templates
  • UI/UX
Improvement

Allow module child item search from Tree View (same as List View)

The ability to search in Blog posts just like in pages, snippets, Custom Modules etc.

  • Blogs
  • UI/UX
Improvement

BONUS: Add “Format” To Code Editor

Button for formating code correctly. code-editor-formating.png
  • BC Equivalent
  • UI/UX
Improvement

Implement reCaptcha v3 For System Forms/login

DESCRIPTION:
Depreciate the need to use recaptcha v2 on login forms and any other system form (I can only think of the account password update form, but there may be others).

BENEFIT:
Logins are always a barrier for end-users and bring along a whole set of additional user issues.
Implementing recaptcha v3 just helps make this process more user-friendly and...

  • General
  • Secure Zones
Improvement

Module Introductory Note: allow adding an introductory paragraph to the module list view

Allow adding an introductory paragraph to the module list view to give editors some guidance

Sometimes we want to give users some general directions for a module or some context on how a module is being used and what part of the website it populates.

Proposed solution:
Allow the addition of notes to a module that would be...
  • Admin Panel
  • Custom Modules
Improvement

New Architecture

This is the biggest update to Treepl CMS ever. We will be organizing a separate meeting to present all the changes and opportunities that the new architecture brings to the platform. Stay tuned.
  • General
  • Infrastructure
  • Liquid
Improvement

Show Discount Codes In Backend

The ability to see which discount code is used for a specific order in the backend.

discountCode.png

  • eCommerce
Improvement

Show/Hide Inactive/Disabled Items

The ability to show/hide inactive/disabled items across the modules of the admin panel.

· showing all enabled and disabled
· showing just enabled
· showing just disabled
  • Admin Panel
  • Custom Modules
v 5.9.5 Release date: 22 Apr, 2021

Full Release Notes

v5.9.5

BACKLOG

Default list layout for favorites list

Added default list layout for favorites (list of all items added to favorites).

Default layout will render: Name, description and URL to item.

New layout file created `list.layout` at `/cms-assets/layouts/favorites/` (https://prnt.sc/10v7n7j)

Admin Component Manager:

  • Rename `CRM > Favorites` to `CRM > Add to Favorites Button`
  • Add `itemId` param. Add item search to this field if `source` selected (preset with `2189`)
  • Remove limit param from this area (it only makes sense for favorites list)
  • Add CRM > Favorites list
  • Preset list layout with path to new layout file `/cms-assets/layouts/favorites/list.layout` (https://prnt.sc/10vbu8z).

BACKLOG

Shopping cart Javascript events and triggers

Added the ability to customise the ecommerce javascript functionality.
A set of Javascript events for various eCommerce functions have been added for “Before”, “After” and “Trigger” events.

These events have now been documented here:

https://docs.treepl.co/ecommerce/shopping-cart-javascript#secShopEvents

------------------------------------------------

Added ability to rewrite ecommerce alert messages.

This has now been documented here:

https://docs.treepl.co/ecommerce/shopping-cart-javascript#secOverrideAlerts

BACKLOG

Improve Stripe payment error messages and payment form `onsubmit`

Submit flow for payment forms and/or recaptcha v3 forms has been reworked.

Backend:


`formSubmissionData
` object (for both JSON response and Liquid) now will always have `FormRedirectLink` property.

Value will be either:

  • system thank you page for the form
  • custom redirect link (from redirectURL hidden field for that the form)
  • or redirect URL for Payment_Method==Paypal or bamboraEU (redirect) payment gateway

NOTE: `FormRedirectLink` will be set even if there are errors in the `ErrorMessages` property. If you go to the link without checking for errors – they will be set to `formSubmissionData` Liquid object on that page as well, but only for the first page load.

Frontend:

Improve reCaptcha v3 and payment JS.

Added new custom event that will be triggered after all reCaptcha v3 validations (instead of the regular `submit` event)

These events allows you to:
-
Add any additional validation actions and stop the form submit via `event.preventDefault();` function.
-
Perform AJAX submit of the form (with already validated recaptcha token and payment data)

See documentation for these events and example here:
https://docs.treepl.co/ecommerce/shopping-cart-javascript#secPaymentFormEvents

BACKLOG

Add Release date to Add/edit item forms

Add `prop_ReleaseDate` to the add and edit module item HTML forms, retrieved via the Component Manager/Toolbox.

Add ability to use `prop_Enable` to add/edit module item controllers.
On ADD form
; if `prop_Enable` is specified in form submission - apply its value only if there is no admin approval required rules in place for the module.

BACKLOG

Liquid improvement: Ability to use variables in {% for %} tag

Ability to use `limit` and `offset` param value via variables (not just via pure numbers).

Example:

{% assign off  = 3 %}

3<br>

2<br>

1<br>



Ability to use
from and to param value via variables (not just via pure numbers).

Example:

1<br>

2<br>

3<br>

4<br>

5<br>



Before update, such code caused:
Liquid Error: Object reference not set to an instance of an object.

BUG

Fix secure zone assignment via forms with  Payment Method == Cash

Now, secure zone should be assigned once payment is added to the order and its status changed to paid.

BUG

Volume Discount applying fix

Now, volume discount applies based on SUM of quantities of all product variations instead of applying per variation only.

Show more less
New Feature

Shopping cart JS events and triggers

"Before" Callbacks

"Before" callbacks could be used for additional custom js logic and could interrupt event process.
Process could be interupted via event.preventDefault(); function.

Syntax

document.addEventListener("CMS_BeforeExample", function(event)
{
var data = event.data;
//custom code here
});

List of callbacks (see release notes)

"After" Callbacks

"After" callbacks could be used in order to retrieve data that...

  • eCommerce
New Feature

Template MAX

One big universal template with all the features and functionalities that Treepl offers: TEMPLATE MAX
  • Templates
Improvement

Ability to use variables in for tag

Ability to use limit and offset param value via variables.
Not only via pure numbers.
Example:

    //6
//5
//4
Ability to use from and...
  • Liquid
Improvement

Add ReleaseDate and Enabled properties to add/edit module item form for logged in users

Add prop_ReleaseDate to add and edit module item HTML forms, retrieved via toolbox.
Add ability to use prop_Enable in add and edit module item HTML forms.
- On ADD form - if prop_Enable specified in form submission - apply it's value only if there is no admin verification required for the module
  • Custom Modules
Improvement

Default list layout for favorites list

Add default list layout for favorites (list of all items added to favorites) and insert in to blank.
Use output of Name, description and url only

Rename CRM > Favorites to CRM > Add to Favorites Button
- Add itemId param. Add item search to the field if source selected.
-- preset by 2189 (similar to how it works on...
  • General
Improvement

Improve Stripe payment error messages and payment form onsubmit

Add CMS_CustomSubmit event that will be triggered for all payment forms including forms with reCaptcha v3
Add CMS_triggerHandlePayment trigger that will allow to finalize payment process if form will be sent via ajax inside CMS_CustomSubmit event handler.
Add CMS_AfterFormPaymentHandled event that will be triggered once all payment processes are made.
See release notes for more details.
  • eCommerce
v 5.9.2 Release date: 28 Jan, 2021

Full Release Notes

v5.9.1

BACKLOG

Favorites

1) Add/remove from favorites actions

Add two GET URLS (public api), one for “add” and one for “remove”, for logged in users with `itemId` as parameter (id of module item that should be added to favorites)

2) Add component type:"favorites":


  • `moduleIdentifier` (required) - moduleName or moduleId.
  • `itemId` (not required) - id of the module item
  • `limit` (not required) Default=ALL - number of items to be rendered
  • `collectionVariable` (not required) - works the same way as other modules.
  • `layout` (not required) - path to FTP file that will contain layout content to be parsed.
    - If specified empty string - do not render anything.
    - If not specified at all - render default virtual layout (see design link below).
  • `includeItemData` (not required)- true/false boolean. Default=false

Default sorting by `CreatedDateTime` DESC.

Single item context is:

  • Id
  • FavoritesInfo
    • IsFavorite
    • CreatedDateTime
    • AddToFavoritesURL
    • RemoveFromFavoritesURL

(If `includeItemData` == true, the modules typical data will be included along with the above “Favorites” data.

3) Add component to toolbox, under: “CRM” > “Favorites”

4) Add default JS and styles for favorites:

Once added to favorites - change favorite icon appearance and switch URL from ’add to favorites’ to ’remove from favorites’.

Once removed from favorites - change favorite icon appearance and switch URL from ’remove from favorites’ to ’add to favorites’.

If user is not logged in and clicks Add or Remove from favorites - redirect them to system error page with the following data:

    • FavoritesRequiresLogin
    • You need to be logged in to the site in order to add this item to your favorites list.

Apply ability to request add and remove from favorites API urls with GET param `jsonResponse=true`.

If `true` - return JSON response with error details (status code 401).

Otherwise - redirect to error page with the above described type and message.

DESIGN: https://invis.io/VEZ0HS6A8YF

BACKLOG

eWAY and Stripe improvements

1) Add to data passed to eWay:

  • First Name
  • Last Name
  • Address
  • Postcode

2) Change ”Invoice Description” to <form name>

3) Add data passed to Stripe (only for one-time payment):

  • First Name
  • Last Name
  • Address
  • Postcode

4) Change ”Description” to <form name>

BACKLOG

Show Product URL based on current catalog

On product detail show URL based on catalog that it’s contained in.

Modify component type module logic:

If filtered by `parentId` add `this.url` value based on the parent determined by `parentId`, eg:

  • Item has 3 parents:
    • Parent_1 (ID 11) (shown by default)
    • Parent_2 (ID 22)
    • Parent_3 (ID 33)
  • When for the example item this object should have
    • /treeplcms-version-release-updates == "/parent1"
  • When for the example item this object should have
    • /treeplcms-version-release-updates == "/parent2"
  • When for the example item this object should have
    • /treeplcms-version-release-updates == "/parent3"
v5.9.2

BACKLOG

Customize Analytics

1) Analytics Customization

2) Single Chart customization

  • https://prnt.sc/x8c3hy
  • change width via col size dropdown
  • show/hide tabs buttons (for tabbed charts)
  • default period of days selector
  • Chart title customization

3) Add Chart to analytics

4) Restrictions

Feature available on PRO Plan and higher.

BACKLOG

Copy File URL to clipboard

Add ability to get file’s URL in file manager and file manager toolbox.

  • Сopy File URL (relative URL)
  • Preview In New Tab

DESIGN: https://invis.io/VTYEHO7Z6NJ

From Forum

BACKLOG

Wording change on event bookings

Rename following wording in the CMS:

  • Module -> Settings -> Advanced Settings
  • Event -> Details:
    • “SUBSCRIPTIONS” tab renamed to ”BOOKINGS” (http://prntscr.com/vxmw13)
      • Table column ”Subscribed Date” to ”Booking Date”
      • Excel export table column (on import - react on both new and old name)
        - “Subscribed Date” to ”Booking Date”
        - “Allow Multiple Subscription Per Email” to ”Allow Multiple Bookings Per Email”
  • Toolbox -> Events
    • Toolbox item name ”Event Subscription Form” to ”Event Booking Form”
    • Field Name ”Event Subscription Form” to ”Event Booking Form” (http://prntscr.com/vxn1ru)
  • Form
  • CRM -> Event bookings

BACKLOG

Drop shipping feature improvement

Feedback description:

When a visitor makes an order for several different items on one and the same order the system will create one purchase-order for each item even if they all are supplied by one and the same supplier. This obviously causes a lot of extra work for the suppliers. BC consolidated several items to one and the same purchase-order and only split the order if there were multiple suppliers to supply the items on the order.

Solution:

Consolidate several items to one supplier email for the same order instead of sending supplier email for each product.

Show more less
New Feature

Hair Salon Template

New template: Hair Salon
  • Templates
Improvement

Bonus: Add Ability To Get File’s URL In File Manager

Problem:
It’s hard for users to get file URLs from the file manager.
Proposed solution:
Add a new menu item, “Copy URL”, under file actions dropdown that allows a user to copy the file’s url.
Here:
URL-file-manager1.png
It would also be nice if the file name was linked to the file location in list (non-tree)...
  • File Manager
Improvement

Customize Analytics

Ability to edit admin's "Analytics" page:.
- Rename page and blocks
- Rearrange and resize blocks
- Change or hide data inside blocks
- Set data range
- Add extra analytics
Available starting "Pro" plan.
  • Analytics
v 5.9 Release date: 16 Dec, 2020

Full Release Notes

Bambora Payment Gateway

Bambora Improvements (patch v5.8.1)

Design: http://prntscr.com/vljvo7

1) Implement Payment window modes (payment gateway settings page):

  • redirect (already implemented only method)
  • modal
  • inline

Bambora Documentation:

https://developer.bambora.com/europe/...

2) Implement "immediateredirecttoaccept" setting:

When the payment has gone through you end up on a "success" page on the bambora site and you can then click to go back to the Treepl site with the receipt.
This can be passed so you don't see that page but go directly to the Treepl receipt page via the "immediateredirecttoaccept" parameter.


Bambora Documentation:

https://developer.bambora.com/europe/...

3) Language control settings

Provide possibility to select the language for the payment window.

Bambora Documentation:

https://developer.bambora.com/europe/...

4) Add transaction ID to the list view of the order (and allow search).

eg: http://prntscr.com/vikmzm

Misc

Admin UI: Orders pagination (patch v5.8.1)

Improve Pagination speed (CRM -> Orders)

Direct Billing

Invoices for portal payments (patch v5.8.2)

For direct billing with commissions:

  • Add billing address and personal details fields to the CMS billing page in order to add them to the invoice.
  • Make them required.
  • Send Invoice to the payer instead of the Agency user.

Feedback Task

Set 404, 403 and 401 status codes when showing appropriate system pages

Implement server responses for 404, 403 and 401 statuses to set appropriate status codes and at the same time still display appropriate System Pages content.

Feedback Task

Admin Proof Read/Suggestions (Part 2)

Original Source: https://docs.google.com/document/...

12. [ ✔] In the “Form Builder” options, perhaps adjust the form ‘Type’ display names an provide a short explainer, eg
14. [✔ ] In Secure Zones, when setting “Membership Renewal Rate”, perhaps change the values from “Day, Week, Month, Year” to “Daily, Weekly, Monthly, Yearly”
23. [ ✔] On the Product settings tab, suggest changing “Max Downloads Allowed” to “Maximum Downloads Allowed” (for consistency)
30. [ ✔] For ALL module ‘Layouts’ tab, perhaps remove the redundant “Create New...” from the “CREATE NEW” dropdown option. Two example
31. [ ✔] For the Products/Catalogs “Layouts” tab, consider removing the ‘s’ from headings “Catalogs Layouts” and “Products Layouts” to just “Catalog Layouts” and “Product Layouts”
33. [ ✔] Consider adjusting “Discount Codes” menu item and headers to title-case
34. [ ✔] Consider adjusting “Gift vouchers” and “Shipping options” to title-case in the main admin menu
36. [ ✔] Under “eCommerce” > “Settings”, consider adjusting headings and labels to title-case. Also, ‘lifetime’ is one word so change “Shopping cart life time in hours” to “Shopping Cart Lifetime in Hours”
38. [✔ ] Under “Reports” > “Custom Reports”, could the list display more human readable ‘Type’ values? Ie: “Contacts and Event Bookings” instead of “ContactAndEventBookings”
40. [✔ ] Under “Reports” > “Custom Reports”, when editing a Report, under the ‘Fields’ tab consider adjusting some letter cases (“Id” should be “ID” if possible) and perhaps change “E-mail” to “Email” for consistency.
Assuming these changes will then flow through to the report column headers.

Public Request

Custom Client Notes For Custom Fields

Source:

https://treepl.co/...

Description:

New 'Notes' field against any custom field created in the admin. It would display next to the field when clients are creating Custom Module items and could provide additional info to help them when entering content.

For example: with an image field, the note might read "This image is displayed as the thumbnail on your Team Members page and ideally should be portrait orientation and at least 500px wide".

The note could perhaps be hidden under a help/info icon to keep the layout clean.


On property add/edit form:

Allow add notes (https://projects.invisionapp.com/...)

On module item add/edit form:

Display notes when hover tooltip icons (https://projects.invisionapp.com/...)

Note:

Add notes to `module` export/import flow.

Public Request

Set Custom Icons For Nested Module Items In Tree View

Source:

https://treepl.co/...

Source Description:

Provide ability to change icon of the item in tree view (http://prntscr.com/vu9h50)

  • Add icon field to the `module` > `settings` page http://prntscr.com/vuhivv.
    Provide ability to choose icon from the system or custom library.
  • Store icons in /admin-assets system folder. Store folder outside FTP folders.
  • Provide ability to add icon to the icons custom library (on Admin menu configurator page). Design: https://invis.io/S6ZFRJWRNJG
    Suggested icon dimensions and extension: 24x24px, SVG
  • Change icons display logic on module items tree view
    • if module has custom icon - show it instead of "File" or "Folder" icon
    • else - show icon as previously:
      - if module is Parent module - "Folder" icon
      - if module is Child module - "File" icon

Feedback Task

Improve GDPR control, Contacts and advanced CRM groups

1) Add new Group to `Settings` -> `Misc`

  • GDPR (“Allow listing CRM contacts data” True/false boolean)

2) Logic

If ”Allow listing crm contacts data” == true - discard "Allow listing my contact data in the CMS" checkbox behavior and always allow use all contact data:

  • via components
    • Liquid Error: Object reference not set to an instance of an object.
    • Liquid Error: Object reference not set to an instance of an object.
  • in the admin CRM data pickers

3) Components logic extending

Add includeSecureZonesInfo: "true" param to

If not set - default value is false

Also add it to the toolbox.


If true - add following object to item context (similar to what we have in ):

securezones": [

{

"id": 1,

"name": "Member Only Area",

"landingpageid": null,

"createddatetime": "2020-10-20T14:59:54.347",

"updateddatetime": "2020-11-12T16:07:27.113",

"expirydatetime": "9999-12-31T06:00:00",

"ExpiryOption": null,

"ExpiryAfter": null,

"AccessType": 0,

"Plans": null,

"CountPaidSubscribers": 0

},

Feedback Task

Admin UI changes

Task list:

Public Request

"Already Taken" URL Validation

Source:

https://treepl.co/...

Description:

Validation warning for general URL conflicts before saving item. ie: for Pages and other items not influenced by the Advanced URL Manager.

1) Update `Settings` -> `Misc` in group “Admin Panel Settings” with new setting “Disable autocomplete for already taken URL slugs” (default is ‘false’)

2) Logic

If `true` - do not add `-1` to the slug on save.

Throw validation error message "Warning: Duplicate URL"

If false - logic should be as it was earlier.

Public Request

Add Default Styling For Pagination

Source:

https://treepl.co/...

Description:

Currently pagination outputs raw unordered list.

Apply some default formatting to remove the bullets from the list and make it horizontal. Also by default it would be nice to truncate the pagination with “…” and show the last page if there are over 5 pages.

If we really want to get fancy we could make the default styling along these lines.
https://prnt.sc/vv8ivx

1) Component param

Add param to component type `module` and `module_of_member`

  • styledPagination : "true"
  • default value is false
  • if true - show new pagination structure instead of old one

2) Toolbox

  • Show under ”Display Pagination”
  • if checked - show new pagination structure instead of old one
  • Hide if ”Display pagination” is false
  • Set default value to true.
    But reflect in component string only if display pagination is true

Applies to the following modules:

  • Custom module (Groups and Item lists)
  • Blogs (Groups and Item lists)
  • Gallery/Slider (Groups and Item lists)
  • FAQ's (Groups and Item lists)
  • Banners (Groups and Item lists)
  • Authors
  • Events (Groups and Item lists)
  • eCommerce (Catalogs and Product lists)

Public Request

Small UI tweak: Add Icons To Items Under "Content" Section

Source:

https://treepl.co/...

Description:

Implement the icons in “Content” section that are already under the components insertion list.
https://prnt.sc/vtq0wq

All other icons on the 2nd level should remain the same.

Apply it to all default menus. Leave custom menus as is.

Design:

https://invis.io/P2ZFPCZZGAX

Public Request

Pages/Template/General Editing Window

Source:

https://treepl.co/...

Description:

Make the editing area fill the vertical space in the browser window.
https://prnt.sc/vv8k25

Public Request

Recent Item Section

Source:

https://treepl.co/...

Description:

A ‘Recent Items’ section to quickly go back into last page/module you were in, without having to navigate back to that page.

Functionality

  • Store history in session storage.
  • Add to visited pages recent item history. If the page is already in the history - move it up in the history list (instead of adding duplicate history item).
  • Remember 10 last visited pages.

DESIGN

https://projects.invisionapp.com/share/...

Feedback Task

Grouping product in toolbox improvement

Show `this.id` as first option of ”Filter Value” field for following components in toolbox (show it before datasource loading process occurs)

Ecommerce:

  • Related Products
  • Grouped Products
  • Product Attributes
  • Item Quantity Field
  • Add to Cart Button
  • Buy Now Button

IF it's selected or NO item selected - show "2189" as value

http://prntscr.com/vpx6xu

http://prntscr.com/vpx8no

Feedback Task

Forms email aggregator

Add new setting to `Form` -> `Settings`:

  • Send Secure Zone Login Details Email (default: true)
  • If enabled - don't send ”Secure Zone Login Details” system email on secure zone subscription form submit

Add new setting to `Form` -> `Settings`

  • Send Confirm Email Notification (default: true)

Add liquid variables of ”Confirm Email Notification” to the scope of the following system emails:

  • Invoice
    • this.EmailConfirmationUrl
    • + Secure Zone Login Details variables
  • Secure Zone Login Details
    • this.EmailConfirmationUrl
      (set empty string as value if no confirmation required [ie: if user is already confirmed])

Feedback Task

CRM -> Bookings: Export to Excel to be filtered by form name?

Source

https://forum.treepl.co/...

Improve Bookings export (https://prnt.sc/vv97ic)

  • Improve ”Form Name” selector (multiselect)
    • all forms (default)
    • manually subscribed
    • form list...
  • Add ”Event” selector (multiselect)
    • all events (default)
    • event list...

Update exporting logic so it will retrieve bookings based on selected forms and events

BUG

Infinity redirect on login to Portal

Fix infinity redirect on SSO login to Portal

BUG

Toolbox bug in event group Component

https://forum.treepl.co/...

Show more less
New Feature

Custom Client Notes For Custom Fields

New 'Notes' field against any custom field created in the admin. It would display next to the field when clients are creating Custom Module items and could provide additional info to help them when entering content.
For example: with a image field, the note might read "This image is displayed as the thumbnail on your Team Members page and idealy...
  • Custom Modules
New Feature

Save to Favorites

Add ‘Save to Favourites’ functionality to eCommerce.
  • BC Equivalent
  • eCommerce
New Feature

Set Custom Icons For Nested Module Items In Tree View

The ability to change the icon

nested-custom-icon.png

  • Custom Modules
Improvement

Add Default Styling For Pagination

Currently pagination outputs raw unordered list.

Apply some default formatting to remove the bullets from the list and make it horizontal. Also by default it would be nice to truncate the pagination with “…” and show the last page if there are over 5 pages.

If we really want to get fancy we could make the default styling...

  • Blogs
  • Custom Modules
Improvement

Admin UI changes (v5.9)

- Admin Proof Read/Suggestions: Admin Proof Read.docx
- Add info with site name and username to the header: See design
- Fix search in the data source. Currently, the search is working just from the start of the line.
- Alphabetic sorting of data sources.
- Alphabetic sorting of tags + button to sort from A to Z.
...
  • Admin Panel
  • UI/UX
Improvement

"Already Taken" URL Validation

Validation warning for general URL conflicts before saving item. ie: for Pages and other items not influenced by the Advanced URL Manager.
  • General
Improvement

Misc Improvements (v5.9)

- Set 404, 403 and 401 status codes when showing appropriate system pages
- Improve GDPR control, Contacts and advanced CRM groups
- Ability to "Favorite" a module item
- CRM -> Bookings: Export to Excel to be filtered by form name?
  • Admin Panel
  • General
  • UI/UX
Improvement

Pages/Template/General Editing Window

Make the editing area fill the vertical space in the browser window.

editing-window.png
  • Admin Panel
  • Pages and Templates
Improvement

Recent Item Section

A ‘Recent Items’ section to quickly go back into last page/module you were in, without having to navigate back to that page.

  • UI/UX
Improvement

Small UI tweak: Add Icons To Items Under "Content" Section

Implement the icons in “Content” section that are already under the components insertion list.

icons-content-section.png
  • Admin Panel
v 5.8 Release date: 18 Nov, 2020

Full Release Notes

BACKLOG

PORTAL:

Portal restructure

1) Rename Menu items

Change following:

  • ‘My Details’ to ’My Settings’
  • ‘Backlog’ to ’Public Backlog’

Split Menu in two parts. Set to bottom menu following items:

  • Public Backlog
  • Documentation
  • Pricing For Resellers

Change Icons for

  • My Settings
  • Pricing For Resellers
  • Projects / Services
  • Support

2) Restrictions

Restrict commissions for Agency role only

Show prices that include commissions on the Treepl CMS sites in direct billing page

DO NOT include commissions if clicking pay from the portal.

3) FTP credentials tab

Create FTP under trialsite.co subdomain

Show host and username under ’FTP credentials’ tab

https://prnt.sc/vk4elt

BACKLOG

PORTAL:

Direct Billing (commissions)

1) Add “Commissions” tab to ’My Settings’

Design: https://invis.io/SDZC33JMHBA

Settings:

  • Default Commission Value (validate numbers only, range: 0 - 900)
  • My PayPal Email
  • Resend Verification button
    • show only if current paypal email is not verified.
    • clicking on the button should resend ’paypal email verification’ email

Once form is saved - send ’paypal email verification’ email with the confirm button.

Once confirm button is clicked - mark paypal email as verified.

  • If error occured while confirmation - show system page with error text
  • else if OK - show success page and link to trial sites list page.

DO NOT SEND commissions to paypal emails until they are verified (trigger Payment error)

2) Add commission tab to site edit page

Add tab that will allow to setup commission for the site for monthly and annually subscriptions.

Settings:

  • Commission Type (dropdown)
    • Percentage (default)
    • Value
  • Commission Value (validate numbers only)
    • ranges for ‘Value’ type:
      0 - [value that gives 5000 in Your client Pays]
    • ranges for ‘Percent’ type:
      0 - [percent value that gives 5000 in Your client Pays]
    • default value from the ’MySettings’ -> ‘Commissions’ -> ’Default Commission Value’

Calculated summary should follow logic as described in this spreadsheet (for display purposes use 4.4% fee per transaction since it is the biggest one that may be charged):

Spreadsheet

Algorithm

  • When receiving payment - determine the [transaction fee percent].
  • Calculate [treepl part] as:
    [Original treepl price] * (1-[transaction fee percent]) - 0.30 (per transaction value part of the fee)
  • Calculate [reseller's part] as:
    [received amount] - [treepl part] - 0.25 (standard fee for sending money from one paypal account to another)
  • Send [reseller's part] to the PayPal Email:
  • if ’Payment Error’ occurs:
    send system email to support@treepl.co:
    Subject: “Commission sending error”
    Content: Should contain [reseller's part] price, PayPal email, error info, date, site id and url
  • else:
    Send an Invoice to the payer

Design:

Design

BACKLOG

PORTAL:

Branded subdomains

1) ‘My Settings’ -> ‘Domains’ tab

Add Domains tab to My Settings page

Design: http://prntscr.com/vlj9g3

Provide ability to:

  • add domain:
    Create hosted zone in this step.
    Once created successfully - show ’Success’ state.
    Otherwise ‘Pending’ state.
  • delete domain

2) ’My Settings’ -> ‘Domains’ tab -> ‘domain details’ page

Show 3 tabs:

  • Custom records
  • Here you can add/edit/delete any A, CNAME, MX, TXT records that you want
  • NS and SOA records
  • Read-only tab for display purposes only.
  • Treepl Sites records
  • Read-only tab for display purposes only.
  • Shows all records that Treepl Portal creates for all Treepl sites under this branded domain.


3) Restrictions

Restrict access to ’Partners’ and ’Agencies’ only.

Allow ’Partners’ and ’Agencies’ to have:

  • 1 branded subdomain for ’Partner’
  • up to 3 branded subdomains for ’Agency’

Disallow ’My Settings’ -> ‘Domains’ tab for portal users


4) Add user role indication

Provide role indication icon and tooltip near user email.

Design: http://prntscr.com/vlj6j8

BACKLOG

Bambora Improvements

1) Implement Payment window modes

Design: http://prntscr.com/vljvo7

Implement Payment window as:

  • redirect (already implemented only method)
  • modal
  • inline

Bambora Documentation:

checkout-integration

2) Implement "immediateredirecttoaccept" setting

When the payment has gone through you end up on a "success" page on the bambora site and you can then click to go back to the Treepl site with the receipt.
This can be passed so you don't see that page but go directly to the Treepl receipt page via the "immediateredirecttoaccept" parameter.

Provide ability to choose this flow in bambora payment gateway settings and implement the appropriate logic.


Bambora Documentation:

checkout#operation-sessions

3) Language control settings

Provide possibility to select the language for the payment window.

Bambora Documentation:

checkout-settings

4) Add transaction ID to the list view of the order.

Provide ability to search by it http://prntscr.com/vikmzm

BACKLOG

Admin UI: CRM -> Orders pagination improvement

Admin UI speed improvement on CRM -> Orders page.

Improve pagination in order to return order list faster.

BUG

Shopping cart is empty.

Layout and collectionVariable params behavior fix

If you add `collectionVariable` param to the component the layout doesn’t render in the following cases:

  • When Layout param is missing (should render default layout)
  • When layout param is present but value refers to the layout file

NOTE:

You may have such kind of components in you code (

Shopping cart is empty.
) that by mistake may miss the layout:"" param that stops component from rendering the default layout but still show no default layout (because of the current bug) .
You need to add missed layout:"" param to such components in order to fix incorrect implementation of the component.

Show more less
New Feature

Customizable Commissions

[Agency feature]
Ability to add commission on top of the CMS plan for sites customer chose to pay directly.
Instant distributed payments (PayPal).
  • Admin Panel
Improvement

Branded Subdomain

Ability to create trial sites Partner's or Agency's primary domain.
Domain management section available from the Treepl Portal.
  • BC Equivalent
  • Treepl Portal
v 5.7 Release date: 28 Oct, 2020

Full Release Notes

BACKLOG

Agency Plan:
Payment + Site activation steps on site

1) Portal settings - ability to allow direct billing and site activation

In Treepl Portal on ‘Edit Site’ page add new setting: “Allow Activation on the site”

2) Billing from the admin

Add Billing button to the "gear" menu

Design

Show it only if ”Allow Activation on the site” is TRUE and the site is not paid yet


Once clicked show Billing page

Design

Link to terms and conditions:

https://treepl.co/terms-of-service

Allow user to pay for the site activation (validate the terms and conditions checkbox is checked).

Once paid - set return URL to lead to the ’Settings’ -> ‘Domains’ (1st step of the activation).

3) Domain Activation Steps

Add domain activation steps to the ’Settings’ -> ‘Domains’ page

Design:

https://invis.io/QSYWMTYD4W6

Add ability to:

  • Go through all activation steps (similar to how it's already done in the portal)
  • add new domain (replicate same steps as on the portal)
  • change primary domain (add indicator on the domains list)
    • When clicking change domain show confirm popup ”Current domain settings will be reset. Are you sure you want to continue?”
  • change domain name (Design)
  • delete domain (add this function to the portal as well) [deleted domain should be able to be added back]

BACKLOG

Agency Plan:
Custom logo for individual site

1) Add Custom branding menu

Add menu item to the "Gear" menu (if current admin has role lower then agency - display menu item as disabled)

Design:

Design

2) Add Custom Branding Page

  • allow to change all branding options that Partner can do in the portal
  • allow to reset custom site assets (show warning popup: “Are you sure you want to reset custom branding?”
  • if current admin has role lower then Agency - do not allow to open this page

Design:

Design

3) Custom Branding functionality

Change branding assets displaying logic (on login, reset password screens etc) as follows:

  • try show custom logo or background image that was set for the current site
  • if not found - try show custom logo or background image that was set in the portal for all sites of the current Reseller (Partner or Agency)
  • if not found - show default Treepl assets

BACKLOG

Agency Plan:
Portal users

1) Add ability to invite staff to Agency user portal (portal users)

DESIGN

https://invis.io/N3YUAKE28BK

Invited user should be able to perform any action that the agency user can except for:

  • Delete sites
  • See ’Portal Users’ tab and invite other Portal users

Invite process should be similar to admin users invite in the CMS (create user if not exist or just invite already existed)

  • if user is already invited to any agency user portal then show error message: “This user is already invited as Portal users to another Agency.”
  • if user is already exist in the identity server and has role:
    • Admin user
      • force rewrite there role to Portal user
      • once they will try to login to any site where they are already marked as admin - remove that mark and release admin slot for that site
    • Any other role
      show error message: “This user couldn't be invited as Portal user.”
  • send Invite email

Text for ? icon near INVITE NEW USER button: “Portal users would have same privileges that your account has except of ability to delete sites and invite new Portal users”

2) Add lazy create process on CMS sites

When Portal user passes login/verification process (via SSO) to the site that belongs to the Agency of the Portal user - add this Portal user to the DB if it's not exited there yet.

3) Portal user influence to admin users UI and restrictions

Portal user should:

  • not be visible in admin users
  • not take slot of admin users
  • have same permissions as their Agency

BACKLOG

Agency Plan:
Functionality to store and share Modules (for Agency)

1) Implement new share module functionality

DESIGN:

https://invis.io/RAYV4SIEFGP

Show ‘Export’ button on edit module -> Settings page (see design).

Show ‘Import’ button on create new module page (in the same place as ‘Export’ button on design).

When clicking ’Export’:

  • Download json file with module settings (described in Import/Export logic part of the task)

When clicking ’Import’:

  • Upload file and verify that module (or each module of parent-child module linkage) doesn't have conflicts between already existed module aliases
  • If conflicts found show popup:
    • When only one conflict found: “Module with name "[ModuleName]" is already exists on the site.
      Paste new name for module or click cancel.
      "[ModuleName]": [input for name]
      OK | Cancel
    • When conflicts found in both parent and child module names: “Modules with names "[ParentModuleName]" and "[ChildModuleName]" are already exist on the site.
      Paste new names for modules or click cancel.
      "[ParentModuleName]": [input for name]
      "[ChildModuleName]": [input for name]
      OK | Cancel
    • Validate that new names do not conflict with any already existed modules in the CMS via JS (OK button is disabled until there will be no conflicts) as well as via backend (show same popup once again if JS passed the validation but module was created between the time popup displaying and new names confirmation submit).
  • If no conflicts found - perform Import logic
  • Show loader while module is creating

2) Implement Import/Export logic

Export:

  • Extract all module settings
    • Settings tab (with assigned workflow Names)
    • Properties tab
    • Layouts tab
    • Table tab
  • If module has parent-child linkage
    • extract both module settings (extract child module first)
  • If module has Datasource fields
    • save datasource module alias as reference in the property settings
    • Extract datasource module settings as well
    • if any property module also has datasource:
      • if datasource module is not added to the export repeat current step for it as well
      • else - skip datasource
    • if datasource module also has parent-child linkage
      • extract that linkage also

Import:

If file could not be parsed show error: “File is not valid for import process”.

Else:

  • Go for each module that is stored in the file
    • Try create module (by ’Settings’ tab data)
      • if site already have module with the same alias as module from export skip module creation
        • mark module as ’skipped’ in import settings
        • if module has parent-child linkage in the import settings - mark both (parent and child) as ’linkageRejected’
      • DO NOT try to set parent-child linkage on this step (even if they should be added based on module settings)
    • Try find workflows by names:
      • if found apply workflow
      • else - skip workflow setting
  • Go for each module marked as parent and has ’linkageRejected == false’
    • link child module by alias based on settings from the import file
  • Go for each module that is stored in the file AND is not marked as ’skipped’:
    • update module (by Properties tab data)
    • update module (by Layouts tab data)
    • update module (by Table tab data)

BACKLOG

Default setting for availability for search engines

1) Add default configuration setting

Add setting to ’Module’ -> ‘Properties’ -> ‘Default Properties’ -> “Show new items for search engines”:

  • Defines if module items should be automatically visible for search engines after create item action (default value for ”Show this page for search engines” checkbox in ’item’ -> ‘SEO’ tab).
    • Via Admin UI
    • Via Import process
    • Via Create item form from the site front-end

Location:

https://prnt.sc/ua8j6a

2) Setup default state of the new setting for system properties

Preselect ”Show new items for search engines checkbox” for the following system modules:

  • Blog Post
  • Page
  • Page Folder
  • Blog
  • Event Groups
  • Events

3) Add two buttons that ‘enable’ and ’disable’ all existing module items of the particular module for search engines

DESIGN:

https://invis.io/3WYTDG1PKEQ

BACKLOG

Custom Reports needing export of Secure Zone members

1) Add new type of custom report called “Contacts and Secure Zones”

SETTINGS:

- hide Form Filter when this type is selected

FIELDS:

- Contact Fields (Same as for all other report types)

- Secure Zone Membership Fields:

  • Secure Zone Name
  • Secure Zone Membership Status
    • Active
    • Expired
    • logic:
      if 'nowDate' < 'secureZoneMembershipExpiryDate' then ’Active’ else ’Expired’
  • Secure Zone Membership Cost
    • Secure zone price taken from secure zone settings
      • country/currency setting for price should be taken from the latest order that was made via form with secure zone subscription
      • if ’Renewal Rate’ is ’Once’ - take cost from the order (order line price)
      • if no such order - display empty value
  • Secure Zone Membership Currency
    • currency should be taken from the latest order that was made via form with secure zone subscription
    • if ’Renewal Rate’ is ’Once’ - take cost from the order (order line price)
    • if no such order - display empty value
  • Secure Zone Membership Expiry Date
  • Secure Zone Membership Renewal Rate (taken from secure zone settings):
    • Once
    • Day
    • Week
    • Month
    • Year

- Advanced CRM groups (same as on ‘Contacts only’ report type)

FILTERS:

- Add Secure Zone Membership Fields to the filters:

  • Secure Zone Name (dropdown)
    • -- all secure zone names --
  • Secure Zone Membership Status (dropdown)
    • Active
    • Expired
  • Secure Zone Membership Cost (string)
  • Secure Zone Membership Currency (dropdown)
    • -- list of all currencies allowed for the site (based on domain settings) --
  • Secure Zone Membership Expiry Date (date string)
  • Secure Zone Membership Renewal Rate (dropdown)
    • Once
    • Day
    • Week
    • Month
    • Year


2) Add human-friendly labels for all other types

Display these labels instead of ENUM values on reports list layout http://prntscr.com/uz6w0f

  • Contacts Only
  • Contacts and Cases
  • Contacts and Orders
  • Contacts and Event Bookings

References:

Backlog Source

Fields (BC example): https://prnt.sc/ulsji4

Results (BC example): https://prnt.sc/ulsj1l

BACKLOG

Shipping option price limitation config

Add to ’eCommerce’ -> ‘Settings’ -> ‘tax and shipping’ new setting called “Shipping option order price limitations applied to”
Location: http://prntscr.com/v0oq2r

Options (dropdown):

  • subtotal with tax (default)
  • subtotal without tax

Logic:

Based on the selected value - apply ”Shipping option order price limitations” accordingly:

  • in JS logic in order to display shipping option or not
  • in backend if shipping option set request was pushed to the server but shipping option doesn't allowed by price limitation

BACKLOG

Setup primary domain to be first in SEO canonical link helper

Improve canonical link helper:

Domain selector should show Primary domain by default (first option in dropdown)

http://prntscr.com/v9z3i7

Primary domain can be setup on domain setting page: http://prntscr.com/v9z2zx

BUG

Secure/Non Secure form submission folder form setting

Fixed ability to download secured file only in you are logged in to the admin dashboard

Show more less
New Feature

Bill Clients Directly

The ability to bill clients directly. Enabled via Treepl Portal, paid via site admin.
  • Admin Panel
New Feature

Default setting for availability for search engines

View design

Properties -> Default Properties:
Add ability to enable item for search engines once created.

Preselect it for following system modules
- Blog Post
- Page
- Page Folder
- Blog
- Event Groups
- Events

When new module created - preselect that setting by default
  • SEO
New Feature

New account level: AGENCY

All new features and capabilities are listed on our updated Reseller Program page.
  • Treepl Portal
Improvement

Custom Reports needing export of Secure Zone members

Ability to export Secure Zone members from CRM.
  • Secure Zones
v 5.6 Release date: 08 Oct, 2020

Full Release Notes

BACKLOG

Sitemap.xml Exclude Module List

Add multiselect dropdown field to the ’SEO’ page called “Exclude Module List”

Includes all system and custom module names to select.

Remove existing hardcoded exclusion of the ‘Page Folder’ module and preselect All following modules for this dropdown by default:

  • "ItemAuthor",
  • "BannerGroup",
  • "Banner",
  • "FAQGroup",
  • "FAQQuestion",
  • "GallerySlider",
  • "Slide",
  • "PageFolder"

Apply logic:

Do not include items of modules selected in the ’Exclude Module List’ to the sitemap.xml

Note:

The “Global ‘Show for Search Engines’” buttons will not modify those items selected in the exclusion list.

Source:

https://forum.treepl.co/t/sitemap-xml-not-adding-page-folders/1107

BACKLOG

Email Verification flow improvement

When Email Domain verification process fails - show ’Retry’ button when statuses set to failed http://prntscr.com/udjtv0.

Clicking on the button should retry the verification process on the Amazon side. States should be reset to pending.

BACKLOG

Add reply-to sender for workflows

Modify workflow emails by adding reply-to header and copy email of the CMR user that originally triggered this workflow.

BACKLOG

Secure/Unsecure form submission folder

1) Add new settings to the ‘Form’ -> ‘Settings’ page:

  • Secure Uploads (default: False)
  • Uploads Folder (default: /_form_submissions/)
    • Folder picker to select path to ftp folder (do not allow a paste of folder path manually)
    • Do not allow ftp root (/).

2) When form is submitted, store uploaded files (from custom fields and advanced CRM group fields) in the folder selected in the ’Uploads Folder’ setting.

Create folder if it does not exist when submitting the form.

When accessing any file - check if it's folder contains any folders set in any form’s secured folder setting:

  • requested file path contains (starts with) any form's ’Uploads Folder’ setting and the form has ’Secure Uploads’ set to “true”
  • if folder is secured - verify that current site visitor is a logged in admin user
  • if so - allow access to the file
  • otherwise - show 403 page

Source:

https://treepl.co/public-backlog-state/in-process/user-submitted-file-upload-to-specific-folder

BACKLOG

Update CRM Contact Group on ‘Update Account’ form

1) ‘Update Account’ system form improvement:

On submission of the ‘Update Account’ form - update CRM group fields that are already attached to the current contact CRM (either globally attached to contacts or custom attached to individual contact).

Form field names would be the same as they are on web forms (‘groupAlias_fieldAlias’ pattern)

2) ’Update Account’ Form in toolbox update:

In the component toolbox, under ‘Secure Zones’ > ‘Update Account Form’, in addition to the current fields, generate all advanced CRM group fields that are assigned to Contacts globally.

NOTE: All custom attached CRM groups can still be updated via the ‘Update Account’ form but all fields for that custom group should be manually added to the update account form's HTML code by the developer based on ’groupAlias_fieldAlias’ pattern for form fields names.

3) Provide ability to store files submitted via edit account form in certain folder

Add section to ’Settings’ -> ‘Misc’ -> “CRM settings”:

  • Uploads Folder (default: ‘/_customer_data/’)
    • Folder picker to select path to ftp folder (do not allow a paste of folder path manually)
    • Do not allow ftp root (/)
  • Secure Uploads (default ‘false’)

When user uploads file on edit account form submission:

  • add folder with member id (if not existed yet)
  • place uploaded file in that folder

If ’Secure Uploads’ == true then allow download files from ’/_customer_data/’ folder for the logged in admin user only.

BACKLOG

Advanced CRM groups on custom reports (+export)

1) Integrate 'Advanced CRM Groups' to the custom reports:

  • Add ability to choose fields from Advanced CRM Groups attached to selected primary CRM type (entity that is chosen in 'Type' in settings tab http://prntscr.com/ugy9qk). Selected fields will then be shown on the ‘Fields’ tab.
  • Provide ability to apply filter to any Advanced CRM Group's field that was shown on the ’Fields’ tab (regardless if it was chosen or not)
  • Show Advanced CRM Group fields selected in the ‘Fields’ tab on the Results table. Add those fields to the export file as well.

Design: https://projects.invisionapp.com/share/9QYC4SUDCJP#/screens/427731175

2) ‘Select all’ UI improvement for groups of fields

Add ability to select all fields via one checkbox in title section as shown in design: http://prntscr.com/ugyf7c

Provide such ability to all groups (system groups and Advanced CRM Groups)

3) Improve sorting on results tab

Provide ability to sort results by any field shown on the results tab (any contact, case,advanced CRM group field).

Check that sorting and pagination are performed via server side, not via UI capabilities


4) Fix report results headers

BACKLOG

CRM import/export + advanced CRM groups

1) Include Advanced CRM Groups into the Import/Export functionality

Export:

  • When Exporting any CRM entity (Contact, Form Submission, Order or Booking subscription) - collect all advanced CRM groups that are attached to the selected set of items (for example if you choose form for case export - grab only advanced CRM groups attached to items that were retrieved by the query) and extend Excel table by them
  • use groupAlias_fieldAlias format for column titles

Import:

  • provide the ability to import Form Submission and Booking subscription.
  • use groupAlias_fieldAlias format for column titles as markers for fields that need to be updated
  • when importing data:
    • if there will be no field with some fieldAlias in group with groupAlias - skip content of this column
    • if create or update operation is impossible for any entity (due to lack of required columns or empty/incorrect cell value) - skip processing this particular item and continue to the next item.

2) Implement "Get Import Template" button

  • Add "Get Import Template" button.
    When clicked show popup with advanced CRM groups represented as checkbox list.
  • Allow user to choose what groups should be included in the template besides native entity data.
  • Add this button to Contact, Form Submission and Booking subscription
  • use groupAlias_fieldAlias format for column titles

DESIGN:

https://invis.io/VMYECYV6ZGQ

BACKLOG

module_tag_list and module_category_list improvement

1) Improve performance of 'module_tag_list' and 'module_category_list' components

Use search by a separate table in order to retrieve data faster.

Add additional table that will hold the following data:

  • release date
  • expiry date
  • active (boolean - ‘true’ if ’enabled’ AND product inventory visible etc)
  • moduleId
  • itemId
  • tagname or categoryId

Update this table on:

  • module item add
  • module item edit
  • module item delete
  • reindex module
  • reindex site

Redo 'module_tag_list' and 'module_category_list' logic so it should search its data based on the table above instead of searching by regular site search.

Sorting and indexing should be performed via SQL instead of via the C#

BACKLOG

Export of orders

Add ability to call export for Orders

- Green for order data. Data goes on the 1st row.

- Red for order lines data. Product data goes starting on the 2nd row (1st row is empty for them) and goes down until all order lines will be output

Column Headers:

  • Order ID
  • Order Name
  • Currency/Country
  • Status
  • Member Email
  • Invoice Number
  • Invoice Date
  • Weight Measurement
  • Dimension Measurement
  • Shipping Address
  • Total Cost
  • Amount Paid
  • Pending Collection
  • Shipping Cost
  • Discount
  • Gift Voucher
  • Created Date Time
  • Product
  • Attributes (use pattern: http://prntscr.com/uizc1s)
  • Weight
  • Width
  • Height
  • Depth
  • Units
  • Unit Price
  • Tax Rate
  • Total Price

BACKLOG

Exporting Subscribers from Events

Add export Event Subscribers functionality on 'Events' -> ‘Edit Event’ -> 'Subscriptions' tab (https://prnt.sc/sbawkq)

Resulting excel should have the same columns as the table has on that page.

BACKLOG

Rounding Formula for Taxation Engine

Implement rounding algorithm that will be based on:

1) Bankers Rounding: when rounding applied to a number that has 0.5 in the decimal component of the price (represented in cents)

2) Error Compensation Algorithm: for all other roundings (similar to the one that BC had: https://docs.worldsecuresystems.com/user-manual/e-Commerce/Taxes/working-with-the-improved-taxation-engine)

Represented algorithm should be applied to the following prices separately: (names are taken from this table https://docs.google.com/spreadsheets/d/1mUVUDVayY8lj2LhzrUQTIOQ_G660Vbcj5PyiOMG4wpg/edit?usp=sharing)

  • Product item in cart 'item.unitTotalPrice' and 'item.unitTaxPrice'
  • Product item in cart 'item.totalPriceExcludingTax' and 'item.totalPrice'

Following data should be calculated as SUM of already rounded 'item' data (so additional or separate rounding should not be performed)

  • subTotalPrice
  • grandTotalPrice
  • totalPrice
  • totalPriceExcludingTaxAndGiftVoucherAmount
  • totalPriceExcludingTax

Example of algorithm:

BACKLOG

"Tax Never Applies" option for price

Add checkbox to the price instances near tax dropdown, called: “Tax Never Applies: (default= false)

Logic:

When checked - tax should not be added to the order line that represents this product (or shipping option) when tax selected on the shopping cart.

Add this checkbox for:


Also add it to Products import/export data

BACKLOG

Shipping and tax improvements

Add new tab to the 'Ecommerce' -> 'Settings’, called “Tax and Shipping”

Add following settings (DESIGN https://invis.io/JGYORI2PC2A):

“Country/Currency select”
(Choosing value from this select to load settings specific for that particular country/currency pair)

  • Tax applies to (multiselect dropdown list)
    Determines if taxes should be applied to selected entities or not
    - shipping options (selected by default)
    - gift vouchers (selected by default)
  • Auto-select tax if only one option available (boolean - default value ’true’)
    Determines if the single tax in the tax dropdown be automatically selected when a user comes to the shopping cart and/or changing country.
  • Hide tax selector if only one option available (boolean - default value ’false’)
    Determines if the tax dropdown be hidden by JS if there is only one tax option available.
  • Enable tax dropdown (boolean - default value ’true’)
    Determines if
    component renders the tax dropdown or not.
    Also determines if server-side validation should require it or not.
  • Shipping Countries (multiselect dropdown list - default empty list)
    • -- list of all countries --
      Also provides the ability to select all options. So the user can easily select all and then deselect the few not needed.
    • Logic:
      determines what country list will be shown when rendering the component

      - if value is empty - show all countries. Otherwise show only selected countries
      - if
      has ’allowedCountries’ param - use its list of countries instead of shop setting (component param overrides shop settings).
  • Choose Default Country (dropdown - default = null)
    • -- list of all countries selected in Shipping Countries dropdown --
    • Logic:
      Determines what country should be automatically selected when a user comes to the shopping cart.
  • Make shipping country required (boolean - default ’false’)
    Determines if country dropdown can be deselected or not

BACKLOG

Do not skip selected shipping options

When shopping cart updated after changing quantity - if shipping options that was selected previously are still available - leave it selected.

When any of the following processes occured:

  • add product to cart
  • change product quantity
  • remove product from cart
  • add/remove discount code
  • add/remove gift voucher

DO NOT reset selected shipping option if after shopping cart update that shipping option is still available.

BACKLOG

When Sorting items via ‘sortBy’/‘sortOrder’ - skip weighting

Improve sorting of module items functionality on and via a new parameter for the component:

  • ignoreWeighting: "true" (default value ‘false’)
    • if value true:
      skip sorting by weight before sorting by 'sortBy' (if 'sortBy' is empty then alphabetical sort should be applied - remove "sorting by weight first" logic also)
    • if false:
      apply current sorting algorithm (first by weight then by name ASC).

Add this new parameter to the toolbox for:

  • Custom modules
    • List of items
    • List of member's items
  • Gallery/Slider
  • FAQ`s
  • Banners
  • Authors
  • Events
  • eCommerce
    • Catalogs list
    • Products list

BACKLOG

‘CRMCustomGroup’ component type alias to ‘CRMContactCustomGroup’

Create an alias of 'CRMCustomGroup' that will trigger the same functionality that 'CRMContactCustomGroup' (including all component properties).

So Liquid Error: Object reference not set to an instance of an object. will do the same as Liquid Error: Object reference not set to an instance of an object.

BACKLOG

Group products JS and liquid logic

Product Grouping on Detail Layout improvements:

1) Add to all product detail layout custom forced wrapper (only if product has any grouped products):

<div class="cms-product-wrapper" data-cms_product_wrapper="{{{{this.Id}}}}" data-cms_layout_name="{model.Layout}"></div>

2) Add JS that will request, via AJAX, the selected sub-product or main product once the appropriate option has been selected in the dropdown rendered via the component.

Render layout based on the 'layoutName' and 'productID' sent in the request and with the following liquid variables:

  • this
  • si
  • siteinformation
  • request

3) Add ‘this.URL’ to the liquid context of each item in Liquid Error: Object reference not set to an instance of an object. .

Add ‘this.URL’ to the <option> element as 'data-product_url' attribute.

4) Provide custom event ’onProductLayoutChanged’ that could be used by any site owner's JS once layout will be changed via AJAX.

Product Grouping on List Layout improvements:

1) Fix component type module so it returns only main Product (if it is part of the Grouped products list) and don't return Grouped sub-products.

Only MAIN product should be listed via {% component type=module %} (and type=module_of_member).
Sub-products should not impact the pagination and should not be listed except if those components have ‘isSearchResult: "true"’ or ’searchScope’ param in which case include subproducts in the search results.


2) Add custom wrapper to list layout if it contains any grouped products (if layout contains Liquid Error: Object reference not set to an instance of an object. ) and if the 'object' param is set to 'item' http://prntscr.com/tzf1n2 (wrap same as in detail layout above)

NOTE:

If you are using component type module with 'object: "collection"' then you should add wrapper from point 1 inside your for loop manually in order to allow product grouping logic to work.

3) Provide custom JS event 'onProductLayoutChanged' and JS for layout reload (similar as described for the detail layout above).

4) Fix group order

Order of items that are listed via component should be the same as sorted in the admin.

Example of BC product groups:

Catalog where all products stored:
https://zaycev.worldsecuresystems.com/books/fiction

Main product:
https://zaycev.worldsecuresystems.com/books/fiction/main-prod

Sub products:
https://zaycev.worldsecuresystems.com/books/fiction/sub-prod-1
https://zaycev.worldsecuresystems.com/books/fiction/sub-prod-2

jQuery example of event handler:

$('body').on('onProductLayoutChanged', function(){
<!-- some code -->
});

BACKLOG

Feature flags changes (v5.6)

Apply following changes to feature flags:

Remove flag from the system:

  • Advanced URL manager

Move to internal flags AND set enabled

  • New liquid engine & nICE 2.0
  • Advanced payment flow

BACKLOG

BONUS: Customer Submitted Content - Add workflow for when items are edited

Provide ability to setup workflows in ’Module’ -> ‘Settings’ -> ‘Site User Permission’ (http://prntscr.com/rl85f0) for the following actions:

  • Add item by site user:
    Current workflow list should be transformed into this setting. Move multi-select under ’Allow add new items’ option.
  • Edit item by site user:
    New multi-select of workflows.
  • Delete item by site user:
    New multi-select of workflows.

Provide ’customWorkflows’ field to be processed on module item create/update/delete site user forms.

Logic of this field should be exactly the same as for customising workflows for web forms - where by it overrides workflow/s selected in form settings

Source:

MISC

Admin Proof Read/Suggestions (Part 1)

Here is a Google Doc with all admin wording suggestions.

Minor text changes in most cases.

https://docs.google.com/document/d/1qg5mZaZl0h7AFb8YFyGsjKMAsEDysBjGTQzhxqyHSUY/edit?usp=sharing


1. [ ✔] When editing a Menu item, the ‘ID Name’ field should perhaps be just ‘ID’

2. [ ✔] In the Component toolbox, perhaps remove the words ‘Get’ from the beginning of the Item Form options

3. [ ✔] In the Component toolbox, when getting a search form, there is the FORM CODE and the COMPONENT CODE, but it’s not particularly clear these are two links, or the Form code link might be missed. Suggest separating these 2 links a bit more or perhaps even having 2 headings, eg

4. [ ✔] In the Component toolbox, perhaps use correct apostrophes in the FAQ section

5. [ ✔] In the Component toolbox, use lowercase ‘o’ in ‘of’ under the “Banners” and “Authors” sections for consistency with all other options

6. [ ✔] In the Component toolbox, under “Events”, use capital letter for ‘Event Groups’, ‘Event’ and ‘Form’.

Perhaps rename “List of event’s groups” to “List of Event Groups”

7. [✔ ] In the Component toolbox, under “eCommerce”, suggest using title-case throughout for consistency

8. [✔ ] In the Component toolbox, under “CRM”, suggest rewording options for consistency

9. [✔ ] In the File Manager, when clicking the “Add New” button, it could probably just say “Folder” and “File” instead of repeating “Add new folder/file”

10. [✔ ] In the File Manager, the upload file drop zone could be made a little clearer by adding “to upload” after “click here” link

11. [✔ ] In the File Manager, in the context menu of a folder/file, perhaps the “Secure Zone” option should just read “Secure”

13. [✔ ] In the Form “Settings”, perhaps add an ‘s’ to “Workflow” and “Secure Zone” labels (since multiple items can be selected).

And, below this, the term “Autoresponder” is probably more widely used instead of “Auto-response” (not a big deal though)

15. [✔ ] In Secure Zone “Members” tab, the “Emails” column header should probably just be “Email” (without the ‘s’)

16. [✔ ] As above, the same change for “CRM” > “Contacts” list

17. [✔ ] In “CRM” > “Contacts”, when adding a new contact, perhaps change “E-mail” field label to “Email” for consistency

18. [✔ ] In “Form Submissions”, perhaps change the column heading of “Date Submission” to “Submission Date” or “Date Submitted”

19. [ ✔] In “CRM” > “Orders”, when viewing the “Payments” tab, perhaps use a capital ‘C’ in “Amount Captured” column heading (for consistent title-case use)

20. [✔ ] In “Email Marketing” > “Email Campaigns” in the ‘Settings’ tab, for the “Schedule Delivery” option, perhaps change to just “Delivery”.

21. [✔ ] In “Email Marketing” > “Mailing Lists”, under ‘Subscribers’ tab, perhaps adjust “Emails” column heading to just “Email”

22. [ ✔] In “Email Marketing” > “API Provider”, adjust page heading to use a capital ‘P’ for “provider”

24. [✔] On the ‘Catalogs’ tab when editing a Product, perhaps add heading above the selection boxes to make it a little clearer what’s what

25. [ ✔] On the ‘Inventory’ tab when editing a Product, perhaps use title-case for the ‘Added to shopping cart’ label making it ‘Added to Shopping Cart’ (for consistency)

26. [ ✔] Similar to point 24) above, perhaps add headings to the selection boxes

27. [ ✔] Under ‘Grouped Items’ tab when editing a Product, perhaps use title-case for the “Main product” checkbox label (for consistency)

28. [ ✔] Under the ‘SEO’ tab for ALL module types, perhaps reword and title-case the “<head> section extra” label, possibly: “<head> Section Additions” or “Additional <head> Code”

29. [ ✔] In ALL module ‘Settings’ page, use title-case for the ‘Site User Permissions’ checkbox labels. And perhaps change “Auto-response” heading to the more widely used “Autoresponder”

32. [ ✔] For ALL module “Table” tab, consider using title-case for the ‘Add new column’ heading so it reads “Add New Column” (in the side panel when adding a column)

35. [✔ ] Under a Shipping Options “Settings” tab, consider adjusting the “Show Shipping option to” label to title-case so it reads: “Show Shipping Option to”

37. [ ✔] Under “eCommerce” > “Settings” → ‘Manage Status’ tab, consider adjusting for title-case

39. [ ✔] Under “Reports” > “Custom Reports”, when editing a Report, the help bubble for “Settings” and “Form Filter” need adjusting.

For “Settings”, it still refers to the previous naming of “Make Public” but should now be “Make Sharable”

41. [ ✔] Under “Settings” > “Domains” and ‘Site Domains’ tab, consider adjusting for title-case in the sidebar for editing ‘Currency and Format’ and ‘Country’

42. [ ✔] ...as above, also in the ‘Email Domains’ tab when adding a new domain, adjust for title-case

44. [ ✔] Under “Settings” > “Admin Users”, column header and edit field label say “E-mail” consider changing to “Email”.

Also note edit panel heading to title-case

45. [✔ ] Under “Settings” > “Admin Menu Configurator”, consider adjusting headings and buttons for title-case

46. [ ✔] Under “Settings” > “Setup Analytics”, consider correcting “Id” to “ID”

48. [ ✔] Under “SEO” rename the “Pages search engine settings:” label to be more clear (since this option enables/disables ALL module item content, not just Pages).

Something like “Global ‘Show for Search Engines’” with maybe even a paragraph under this heading, or a help bubble, describing what it does exactly,

BACKLOG

Fix truncate liquid string filter

Fix liquid ‘truncate’ filter so if second param is NULL (http://prntscr.com/ui7qip) then apply "..." string as suffix.

And if second param is an empty string "" (http://prntscr.com/ui7r3k) then apply an empty string "" as suffix.

Source:

https://forum.treepl.co/t/request-withdrawn-implement-truncate-words-liquid-string-filter/491

BACKLOG

Improve pay by cash and offline payment namings

1) Rename 'offline-credit-card-payment' system page (https://prnt.sc/spcfi5)

- Change name and URL to 'deferred-order-payment'.

2) Rename Offline Credit Card Payment system email (https://prnt.sc/spcg1w)

- Change name to 'Deferred Order Payment'.

- Change value of the 'this.offlinePaymentPageURL' according to the new URL of 'deferred-order-payment' system page.

- Change Subject to ’Pay Order #’.

3) Change offline credit card payment namings (https://prnt.sc/spcer0)

- Change 'Offline Credit Card Payment' to 'Deferred Order Payment'.

- Change 'Send Offline Credit Card Payment' to 'Send Deferred Order Payment Email'.

- Change 'Pay By Credit Card' to 'Pay Order'.

BACKLOG

Add ability to track offline payment

1) Provide ability to track offline payment for the order

- Rename 'Paid By Cash' (http://prntscr.com/ui8sv8) to 'Add Offline Payment'.

- When clicking on it the sidebar panel appears http://prntscr.com/ui8u0m.

- Make 'Payment Type' a dropdown to be active and provide the following options (instead of 'Offline'):

  • Cash (default)
  • Cheque
  • EFT
  • Money Order
  • Other
  • Credit Card

Add additional fields to the payment form:

Once payment added - it's type should be shown in the table http://prntscr.com/ui8x7v

Rename all existing ’Offline Payment’ types to 'Cash'

BACKLOG

Add "ID" to customizable columns

Add ability to choose 'ID' property for the custom columns http://prntscr.com/tjg8az.

If selected - show item ID in the list view table according to the custom columns display rules.

BACKLOG

Override quantity field with Product Minimum Units

1) Add validation for shopping cart ’change quantity’ and product ’add to cart’ actions:

  • validate that total quantity after add or change action is between Minimum Units and Maximum Units http://prntscr.com/tjp1fc
  • if Minimum Units is empty - default value is 1
  • if Maximum Units is empty - default value is infinity

2) Show error messages once validation is not passed:

  • quantity > Maximum Units:
    ERROR: Quantity entered is too large, please enter a smaller quantity.
  • quantity < Minimum Units:
    ERROR: Quantity entered is too small, please enter a larger quantity.

3) Change default layout (/cms-assets/layouts/ecommerce_item_quantity/default.layout)

From:

<input type="number" data-ecommerce_product_quantity_field="2189" value="1"/>

To:

<input type="number" data-ecommerce_product_quantity_field="2189" {% if this.minimumUnits > 0 %}min=""{% endif %} {% if this.maximumUnits > 0 %}max=""{% endif %} value="{% if this.minimumUnits > 0 and this.params.quantity == null %}