Retail Topics

Custom Script

How to Use the Custom Script Feature for Unique Requirements

Every business operates differently, and sometimes standard point-of-sale (POS) features require extra customization. The Custom Script setting is an advanced feature designed specifically for developers. It allows your technical team to add custom code (like JavaScript) to modify how the POS behaves or looks for your specific operational needs.

Part 1: Understanding the Use Case

As explained in our training, the Custom Script box is used when you need "additional works" or interface changes.

Example Scenario: Suppose your staff only needs to use the "Delivery & Save" button when processing orders, and you want to prevent them from clicking other buttons like "Retrieve," "Pickup," or "Clear." A developer can write a short custom script to completely hide those unnecessary buttons, creating a simplified, distraction-free screen tailored just for your workflow.

Part 2: Adding and Saving a Custom Script

If your developer has provided a script to customize your POS, follow these steps to add it to your system.

  1. Navigate to your main Settings and open the POS Global Settings window.
  2. Scroll all the way down to the bottom of the settings list.
  3. Locate the large text box labeled Custom Script (typically positioned next to the Custom CSS box).

    *[Image: POS Global Settings window showing the Custom Script and Custom CSS text fields at the bottom]*
  4. Carefully copy and paste the code provided by your developer into the Custom Script box.
  5. Click the Save Settings button in the bottom right corner of the window to apply the new script to your POS environment.

Warning: Developer Use Only

The Custom Script field should only be modified by a qualified software developer or technical support agent. Entering incorrect, incomplete, or malformed code into this box can break your POS interface and prevent your staff from processing orders correctly. If you are unsure, do not type anything into this field.

logo-img