showAudit()

The showAudit() function (client-side) displays or hides the Audit button on the product interface for the current configuration session. This function is useful when you want to hide the Audit menu for online shoppers using a SuiteCommerce web store or another ecommerce platform.

Syntax

Use this syntax for the showAudit() function:

            showAudit(true | false); 

          

Return Value

The showAudit() function returns undefined.

Parameters

The showAudit() function accepts one optional parameter that can be true or false. If set to true, the Audit button is displayed. Otherwise, the button is hidden. This parameter is false by default.

Related Topics

General Notices