Help Centre Forum

TOTECS Forums

TOTECS Platform Release 11.03.1
Author
Thread

Author moderator
22nd May 2017

New Features


TOT-3579 - Canvas content managed web page area

On a content managed web page a new area type has been created called "Canvas" that can display any content in the area that has been set within the area's format. This allows implementors to set and save HTML within the format, as opposed to setting HTML within a Free Draw area where admin users can easily destroy HTML markup and other hidden elements in the Freedraw area's editor.
Within the Administration Centre, under the Websites menu, in the Websites interface, under the Web Area Format libraries, a new area has been added called "Freedraw Canvas" which can be found under the "Canvas" area type.
The Freedraw Canvas area can be used to set and save HTML within its "Freedraw Canvas" format. Upon creating a Freedraw Canvas area on a content managed webpage, a user can select any of the formats that have previously been created within the Freedraw Canvas format library.
A Freedraw Canvas area contains 10 settings that can store any data that a user wishes to set. These settings can then be embedded within the area's format, allowing data such as labels, names, or any other content to be configured by the user.
It is recommended to use the Freedraw Canvas instead of a Freedraw area any time where hidden HTML markup needs to be placed within a Freedraw area's content.

Functionality Affected: Freedraw Canvas content managed web page area
Impact: Normal


TOT-3585 - Content Managed Website Global Data Hooks

For any content managed website there's now the ability to set data hooks that each can be embedded within any web page template across the website.
These "website data hooks" allow the same pieces of data such as file references to be controlled in one location and referenced across many web page templates, making it easy to update the same references across many areas.
Within the Administration Centre, under the Websites menu, within the Websites interface, upon clicking on the domain of a website, in the Website Site Details interface a new section called "Global Website Data Hooks" has been added.
Upon clicking on the Add Data Hook button will display a form that allows a new Website Data Hook to be created.
Each data hook needs a Hook Name which can be placed within any webpage templates of the website, additionally a "Hook Value" needs to be set that will set the text that is substituted in the webpage templates were the hook name is set. After setting the fields and clicking on the Save button the Website Data Hook will be added to the list of hooks that can then be changed by clicking on the Save button.
There is no limit to the amount of Global Website Data Hooks that can be created but the more hooks that are created, the slower content managed web pages may load. It is recommended to only create data hooks that are necessary and group data together into single data hooks where possible.

Functionality Affected: Content managed webpages, Website Detail administration centre interface
Impact: Normal

Improvements


TOT-3498 - Display product stock quantities for salesrep users within Product Detail content managed web page areas

On a content managed web page that is displaying a Product Detail area, the area can now be configured to list different stock quantities for a product if the user has permission to view such quantities.
The area now requires a format to be set called "Product Stock Quantity" that allows the overall available product stock quantity, live stock quantities, and location based stock quantities to be displayed in a customised way using the following hooks:

  • product_stock_label: Displays a label of the type of stock being shown in the record.
  • product_stock_quantity_available: Displays the amount of stock that is available for purchase based on the type of stock shown.
  • product_stock_quantity_back_ordered: Displays the amount of stock that has already been ordered based on the type of stock shown.
  • product_stock_quantity_consigned: Displays the amount of stock that is on consignment based on the type of stock shown.
  • product_stock_quantity_on_hand: Displays the amount of stock that is on hand based on the type of stock shown.
  • product_stock_quantity_reserved: Displays the amount of stock that has been reserved based on the type of stock shown.
If the "Product Stock Quantity" format is not assigned to the area or a blank "Product Stock Quantity" format is assigned to the area then the area will not try obtain obtain any stock quantity data for the product.
Within the Product Detail format a hook labelled "product_stock_quantities_div" can be embedded which allows each of the stock quantity records to be loaded into the area.
The area will only display the product's location based stock quantities if the user is assigned to a Facility Role permission that has the "View Warehouse Product Stock" permission set to Yes, or the user is marked as a Sales Representative user and has the Facility Role Permission "View live product stock" set to Yes. If the "View live product stock" permission is allowed then when the area will make a request to the Connector to get the live stock quantities in real time if a connection can be made. If a live stock check takes a long time to return data then this may cause the web page which the area is displayed to take longer to load for sales reps, so its important to be mindful of this performance issue if enabling the functionality.

Functionality Affected: Product Detail content managed web page area
Impact: Normal


TOT-3575 - Format to set message for submitted pending orders in Order Checkout/Submission content managed web page area

On a content managed web page that is displaying a Order Checkout/Submission area or a Guest Order Checkout/Submission area, the area can now be configured to display a customised message based on if a user was submitting an order that must first be approved by another user.
The area now requires a format to be set called "Order Submission Pending Message" that will be used to display a message to a user when they have submitted an order and its status has been set to pending.
If this new format has not be assigned to the area then it will continue to use the "Order Submission Success Message" format to display a message to the user advising that the order successfully submitted.

Functionality Affected: Order Checkout/Submission area, Guest Order Checkout/Submission content managed web page area
Impact: Normal


TOT-3578 - Display name of webpage in title and header of Web Page Editor admin centre interface

Within the Administration Centre, under the Websites menu, within the Websites interface, upon clicking on a web page and going to the Web Page Editor, the title of the web page now displays in the title of the browser, additionally the title displays within the All Areas interface, as well as for secure webpages the URL displayed is now SEO friendly.

Functionality Affected: Web Page Editor administration centre interface
Impact: Minor


TOT-3582 - Hooks to set web page link for most ordered products displayed within User Details/Favourites/Orders content managed web page area

Within the Administration Centre, under the Websites menu, within the Websites interface, when navigating through the Web Area Formats Libraries, under the User Details/Favourites/orders area, in the Ordered Products Record format the following hooks have been added to the format:

  • ordered_product_link: Displays a URL of the ordered product based on web page set in the area.
  • ordered_product_onclick: Contains a javascript function that allows the ordered product to be displayed in other areas listening on the web page.
The web page set within the ordered_product_link hook is controlled by the User Details/Favourites/orders area's "Most Ordered Products link to target page" setting.

Functionality Affected: User Details/Favourites/orders content managed web page area
Impact: Normal


TOT-3583 - Hooks to add product to basket in Product Combination content managed web page area when displaying child products in a list

On a content managed web page displaying a Product Combination area, when the area is displaying child products in a radio list, there is now the ability to directly add products to basket for each product. For the format the following hooks have been added:

  • add_product_price_field: Textbox field that shows for permitted salesrep users and allows them to alter the price of a product when adding a product to basket.
  • add_product_price_discount_field: Textbox field that shows for permitted salesrep users and allows them to set a discount against the current price of a product when adding a product to basket.
  • add_product_price_level_discount_field: Textbox field that shows for permitted salesrep users and allows them to set a discount against the price-level price of a product when adding a product to basket.
  • add_product_price_changes_allowed: Set to either Y or N to denote if the user has permission to alter the pricing of a product, or not.
  • add_product_basket_qty_field: Contains a textbox that allows the user to enter a quantity of a product to add to their basket.
  • add_product_basket_qty_field_ex_discount: Contains a textbox that allows the user to enter a quantity to add to basket and does not factor in price or percentage discount fields if they press the enter key on the field.
  • add_product_basket_onclick: Contains a javascript function that allows a user to add a product to basket, as long as the quantity field has been also set within the format.
  • add_product_basket_onclick_ex_discount: Contains a javascript function that does not factor in price or percentage discount fields when adding a product to basket.
  • add_product_unit_selection: Contains a drop down that allows the user to choose the unit for adding a product to basket with.
Functionality Affected: Product Combination content managed web page area
Impact: Normal


TOT-3597 - Product Detail content managed web page area loading image viewer with Jquery 2.2.4

On a content managed website that displays a Product Detail area, if it has an image viewer embedded within it to show product images, the javascript code that sits behind the image viewer has now been updated to support Jquery 2.2.4.
This ensures that the image viewer can load on web pages that are loading the latest version of Jquery.

Functionality Affected: Product Detail content managed web page area
Impact: Normal

Bug Fixes


TOT-3580 - Ordered quantity hook incorrectly named within Ordered Products Record format of User Details/Favourites/Orders area

Within the Administration Centre, under the Websites menu, within the Websites interface, when navigating through the Web Area Formats Libraries, under the User Details/Favourites/orders area, in the Ordered Products Record format the name of the ordered_product_quantity_orderedint hook has been correctly changed to ordered_product_quantity_ordered_integer.

Functionality Affected: Websites administration centre interface
Impact: Normal


TOT-3581 - Unable to set Website Default for Product Detail Webpage setting within Customer Account Contract Detail content managed web page area

Within the Administration Centre, under the Websites menu, within the Websites interface, within the Web Page Editor, when modifying a Customer Account Contract Detail area, for the Product Detail Webpage setting there was no ability to set the setting to the Website Default product webpage.
When modifying a Customer Account Contract Detail area, for the Product Detail Webpage setting there is now the ability to set the setting to the Website Default product webpage.

Functionality Affected: Customer Account Contract Detail content managed web page area
Impact: Normal