Script & Styles
Here you find a overview of all files that will be included through the plugin.
All files are included as minified version if reasonable, except the SCRIPT_DEBUG constant is set. Nevertheless it is recommended to use a source bundle and minify plugin to reduce the number of requests for your customers. Most caching plugins come with such option.
Javascript
The Plugin registers the following Javascript Files
Handle | Enqueued | Description |
sfw-core | Always | Contains the main plugin core; Spreadshirt API; Proxy API; Storage Management; Debugging; Translation |
sfw-admin | Admin | Admin management |
sfw-synchronization | Synchronization Screen | Handles the Synchronization |
sfw-synchronization-pro | Synchronization Screen in Pro Version | Handles the Synchronization |
sfw-public | Theme | Basket Management; T-Shirt Designer loading; Shipping Calculator; Orderform ( Add-to-Cart functionality ) |
sfw-theme | Theme | Optional. Beautify Orderform; Floating Basket; Article Image Switcher |
Stylesheets
The Plugin registers the following CSS Files
Handle | Enqueued | Description |
sfw-admin | Admin | General admin style |
sfw-synchronization | Synchronization Screen | Styling the Synchronization Screen |
sfw-public | Theme | Optional. Basket Management; T-Shirt Designer loading; Shipping Calculator; Orderform ( Add-to-Cart functionality ) |
sfw-theme | Theme | Optional. Beautify Orderform; Floating Basket; Article Image Switcher |
apparelcuts-icons | Always | Theme Optional. Apparelcuts Icon Font. Limited subset in free version of the plugin. |