Skip to content

Overrides Available

lat9 edited this page May 29, 2024 · 1 revision

Note: This article applies to POSM v5.0.0 and later.

Storefront Overrides

CSS

The distribution provides its default styling in zc_plugins/POSM/{version}/catalog/includes/templates/default/css/options_stock_styles.css, which is loaded by its storefront observer-class at the NOTIFY_HTML_HEAD_END notification.

To provide template-specific customization of that styling, you create a file named /includes/templates/{active-template}/css/options_stock_styles.css. If the observer finds that the active-template's file exists, that file is loaded after the default styling.

Language Constants

The distribution provides /zc_plugins/POSM/{version}/catalog/includes/languages/english/extra_definitions/lang.products_options_stock_extra_definitions.php.

To provide site-specific overrides of those language constants, copy that file to /includes/languages/english/extra_definitions and make your changes there. If your site uses additional languages, copy the file from the distribution to /includes/languages/{language_dir}/extra_definitions and make your changes there.

Admin Overrides

Language Constants

The distribution provides its admin language files in /zc_plugins/POSM/{version}/admin/includes/languages/english.

To provide site-specific overrides of those language files, copy those that you want to change to your admin/includes/languages/english (keeping the associated sub-directories) and make your changes there.

If your site uses additional languages, copy all the files to admin/includes/languages/{language_dir} and make your language-specific updates there.

Clone this wiki locally