Help Centre Forum

TOTECS Forums

TOTECS Platform Release 12.02
Author
Thread

Author moderator
17th October 2017

Improvements


TOT-3650 - Allow details of product to be received by 3rd party Javascript function listening to After Product Add To Basket content managed web page area event

When a product is added to basket from any areas on a content managed webpage, there is now the ability for 3rd party javascript code to listen for when a product has been successfully added to basket. When this event gets fired the details of the product are also returned, allowing custom messages such as showing the details of the product that was added to basket to display.
On a content managed web page the Javascript function designated to handle the AFTER_PRODUCT_ADD_TO_BASKET event that can be listened for using the TOTECS.retail.fs.addAreaEventListener function, now receives an additional object within the arguments, containing details of the product that was added to the basket.
The product object is in the second position in the arguments array of the function designated to handle the AFTER_PRODUCT_ADD_TO_BASKET event.
The object properties received are:

  • item_code
  • item_id
  • name
  • description
  • description2
  • description3
  • description4
  • description_short
  • thumbnail_image
  • small_image
  • medium_image
  • large_image
  • price_ex
  • price_inc
  • price_tax
  • total_ex
  • total_inc
  • total_tax
  • locale_price_ex
  • locale_price_inc
  • locale_price_tax
  • locale_total_ex
  • locale_total_inc
  • locale_total_tax
  • locale_currency_symbol
  • flags (contains an array of flags that the product is assigned to)
Details on how to implement this feature can be found at http://docs.totecs.com/TOTECS/Anatomy-Of-A-Content-Managed-Webpage.html#section694

http://docs.totecs.com/TOTECS/Anatomy-Of-A-Content-Managed-Webpage.html#section694">http://docs.totecs.com/TOTECS/Anatomy-Of-A-Content-Managed-Webpage.html#section694

style="font-weight:bold">Functionality Affected: Product Add To Basket
Impact: Normal


TOT-3680 - Display product attribute search profile attribute values with counts of products and filtering

On a content managed web page displaying a Product Search Form (Using Search Profiles) area, if the area is displaying a Product Attribute Search Form, then for each of the attribute values displayed in the area, there is now the ability to display the count of the products that contain the attribute value.
Settings have been added wtihin the Search Profiles administration centre interface to give the ability to control if, and how the attributes are filtered, and whether or not the attributes are dynamically reloaded.
To do this the attribute assigned to the search profile has settings to specify the filtering behaviour, to enable dynamic searching and set if the count should be shown or not.

Functionality Affected: Product Attribute Searching, Attribute Profiles administration centre interface, Product Search Form (with search profiles) content managed web page area
Impact: Normal


TOT-3684 - Default quantity set within Redeemable Deals Products Listing content managed web page area for deal offer "Buy Product Quantity X, Get Quantity Y for Z Percent Off Price" to be sum of X and Y quantities

On a content managed web page displaying a Redeemable Deals Product Listing content managed web page area, if the area displays a product assigned to a deal that contains the deal offer "Buy Product Quantity X, Get Quantity Y for Z Percent Off Price" or the deal offer "Buy Product Quantity X, Get Quantity Y For Price Z", then in the quantity box of the product now displays the default quantity as being the sum of the X quantity plus the Y quantity of the deal offer.
This ensures that when the user adds the product to basket that the quantity threshold is met and the deal to be redeemed when the product is added to basket.

Functionality Affected: Redeemable Deals Product Listing content managed web page area
Impact: Normal


TOT-3706 - Categories Connector data import to assign categories to the same category tree as their parent category

For a Categories Connector data import there is now a setting that controls if an existing category record should be re-assigned to the same category tree as its parent category.
Within the Administration Centre, under the Data menu, within the Data Imports, in the Connector Imports tab, within the Categories row clicking on the Modify Settings link, in the Categories Import Settings a new setting has been added labelled "Update tree that categories are assigned to match parent category".
If this setting is checked then when the Categories Connector data import is run, for an existing category record that is being updated, if it is assigned to a parent category record then the category tree that the parent is assigned to will also be set for the child category record.
Additionally if a new category record is imported, it will now be assigned to the same category tree as its parent category.
If no parent category record exists at the time a new category record was being created then a category will be assigned to the category tree marked as a mirrored tree. Because of this it may take multiple Categories data imports to be run to ensure that all parent category records exist before subsequent child category records are assigned to the same category tree as the parents.

Functionality Affected: Categories connector data import
Impact: Normal


TOT-3708 - Settings to sort products and category listings and searches that have pricing associated to contracts

Settings have been added within the Administration Centre to allow product searches and category listings to sort products based on if a product is flagged as being on contract or not.
Within the Trade interface's product search page, as well as within content managed web page areas that use the Product Search Record format to display products, these listings allow the user to products on contract listed first (ascending) or last (descending).
This can help make it easy for users to see when products are specifically priced for them, which can give a user more incentive to purchase a product.
Within the Administration Centre, under the Inventory menu, in the Categories settings interface, for the "Category Product Sort Field" setting, an option has been added labelled "On Contract". When set then Category Listings can sort products based on products marked on contract.
Within the Administration Centre, under the Stores menu, in the Product Search settings interface, for the "Product Sort Field" setting, an option has been added labelled "On Contract". When set then product searches can sort products based on products marked on contract (if search profiles have the sorting option set to default).
Within the Administration Centre, under the Inventory menu, in the Search Profiles interface, when editing a search profile, for its "Sort Search By" setting, an option has been added labelled "On Contract". When set then product searches using the search profile can sort products based on products marked on contract.
On a content managed web page that displays either a Category Listing area, or a Product Search Results Listing area, in the sort drop downs there is now an option labelled "On Contract" that allows users to ort products based on products marked on contract.

Functionality Affected: Product Searching Process, Stores Settings administration centre interface
Impact: Normal


TOT-3710 - Product field to set how products are ordered by

A new field has been added to Products called "ordering" that allows a numeric value to be set that can be used to sort products by, within category and product search resutl listings, within both the Trade interface and on content managed websites.
Within the Administration Centre, under the Inventory menu, in the Product Editor interface, a new "Ordering" field has been added.
Under the Inventory menu, in the Search Profiles page, when editing a Product, Product Attribute or Product Combination search profile, the Ordering option has been added to the Sort Search by settings.
Under the Inventory menu, in the Categories settings page, the Ordering option has been added to the Category Product Sort Field settings.
Under the Stores menu, in the Product Search settings page, the Ordering option has been added to the Product Sort Field settings.
Under the Websites menu, on the Websites page, expanding the Web Pages section of a website, within the All Areas page of a webpage, when viewing the area options of a Product Search Results Listing area, the Ordering option has been added to the Sort product by setting.
Under the Websites menu, within the Web Area Formats Libraries, within any format that contains a Product Search Record a hook labelled "_P_Ordering" is now available that contains the ordering value set against the product.

Functionality Affected: Product Editor Administration Centre interface, Product Searching Process
Impact: Normal


TOT-3723 - Categories Connector data import to set ordering field for each product assigned to a category

For a Categories Connector data import there is now a setting that controls if the "ordering" field for each product assigned to a category should be set when the data import runs.
Within the Administration Centre, under the Data menu, within the Data Imports, in the Connector Imports tab, within the Categories row clicking on the Modify Settings link, in the Categories Import Settings a new setting has been added labelled "Update ordering field for each product assigned to a category".
If this setting is checked then when the Categories Connector data import is run, then for each product being assigned to a category the "ordering" field will be set to a number based on the order in which products are assigned to a category from the data being imported.
This allows the Connector software to control the ordering of products assigned to category based on the order in which category product records are exported from the Connector.
If the "Update ordering field for each product assigned to a category".setting is not checked then when the Categories Connector data import runs if the product was previously assigned to category from the Category Connector data import then the ordering field will default back to 0, if the product was not previously assigned to a category from the data import then the ordering field's value will remain unchanged for the products.

Functionality Affected: Categories connector data import, Data Imports administration centre interface
Impact: Normal


TOT-3727 - Setting to control the direction that categories are sorted by within Category Listing content managed web page areas

On a content managed web page containing a Category Listing area the area now has a setting that controls the direction that categories are sorted by.
Within the Administration Centre, under the Websites menu, within the websites interface, when modifying a content managed web page that contains a Category Listing area, within the area's settings window a setting has been added labelled "Order Category Records".
When this setting is set to Ascending category records will be ordered top to bottom. When set to Descending categories will be ordered from bottom to top.

Functionality Affected: Category Listing content managed web page area
Impact: Normal


Bug Fixes


TOT-3716 - Freight surcharge total incorrectly being calculated when "Set freight charge to average product deals percentage off freight" order surcharge rule is set and freight price (ex tax) contains decimals

Within the Administration Centre, under the Stores menu, within the Order Surcharges interface, if the ACTION rule "Set freight charge to average product deals percentage off freight" is set, then if a user uses the freight calculator or proceeds through the Order Checkout process on either the Trade interface or on a content managed website, the freight total was incorrectly being calculated when the freight total excluding tax was a decimal number.
Now in the Order Surcharges interface, if the ACTION rule "Set freight charge to average product deals percentage off freight" is set, then if a user uses the freight calculator or proceeds through the Order Checkout process on either the Trade interface or on a content managed website, the freight total is now correctly being calculated when the freight total excluding tax is a decimal number.
This issue was being caused due to rounding error that would occur when calculating the freight order surcharge price including tax. This rounding error would only occur when freight deal price rule existed and the freight surcharge excluding tax value was a decimal number.

Functionality Affected: Order Surcharge Calculation
Impact: Normal


TOT-3725 - Order Email notifications sent to Outlook and Hotmail email clients incorrectly displaying no message when the email contains an attachment file

When a user hasdsuccessfully submitted an order through the Trade interface or from a content managed website, or an admin user has resent an order confirmation email from within the Orders administration centre interface, when the order confirmation email was received by a Microsoft based email client, such as Outlook 2016, outlook.com, or hotmail.com the email's body was displaying an empty messsage, and the contents of the message iwas incorrectly being attached as a file labelled ATT00001.htm
Now when the order confirmation email is received by Microsoft based email clients, such as Outlook 2016 app, outlook.com, or hotmail.com the email's message now correctly appears within the email's body.
This issue only occurred for emails sent out by the TOTECS platform that contained an attachment file sent with the email content to Microsoft email clients. The issue is caused by the unique way that Microsoft's email clients now interpret the the different parts of an email, and its strict need for the message to be set first within the email data.
The email sending process has been modified for all emails being out with attachments from the TOTECS platform to support Microsoft's way of interpreting emails, ensuring that all major email clients can correctly display the content of emails.

Functionality Affected: Order Submission Emails
Impact: Normal