Main Settings
You choose the styles that will be included in the plugin.
-
«Full» is the self-sufficient style file. It applied all
required styles to the plugin's elements.
-
«Basic» styles are fine for you if your active theme is
based on the "Bootstrap 3/4/5" framework. In this case, this calculator's style will be inherited from your
active theme's. Despite this, you can also add your own CSS-styling rules.
-
«None» value. doesn't include any styles at all. In this
case you can create a full custom CSS-style from the plugin sources and tools or by your own approach for
styling.
-
«Custom styles» include the file with your custom styles
such as colors, font-size, and so on. To modify it go to the «Custom styles» sub-page.
If for some reason you need to disable some of the plugin's scripts, change
«Scripts including type» setting to «Multiple files»
and de-select them in the list lower.
Sometimes the server's configuration might face problems with the stored sessions.
Examples are: the calculator can't go to the next steps, or the cart contents'
disappear on a page refresh. In this case, tick the «Store session in the DB»
option. This option works much more reliable, but, probably, a tiny slower.
If you need to migrate all created plugin data from one site to another
then use the Export/Import feature for this. Click the "Export" button once to get the data-file. Then choose this file in the file input on the target site and click "Run" once to run the import process. Be sure the old site is available to get the images from there.
Remember the script downloads and uploads only images that are defined in the settings. Images from the content part will not be replaced.
To create the initial plugin's data on your site click Generate demo data button once. That will give you a starter data kit to play with.

Custom Styles
It is possible to reconfigure the plugin's styles according to your needs.
Don't forget to choose a «Custom full styles file» value of
the «Styles including type» setting.
In case your styles are not shown correctly, disable the «Minify custom
styles» setting. In other cases keep this setting enabled to keep the CSS-file smaller and save
your customers' traffic.
There are two modes for custom styling. The «Simple
mode» provides only a few main variables to change. The «Advanced mode» allows you to change a great
range of variables, but it requires CSS knowledge.
All the variables of the plugin are available to be changed
by using a text editor.
Sometimes the calculator's fonts look very small on specific themes. To resolve this
Adjust the «Font size» option. You can use any CSS units there, like "rem", "px", "pc",
and so on.
In a case of a styling-command error, you will see a message while saving. The
styling file will not be saved.
In case you need to reset your styles to their initial state click the «Reset
to default» button once.

Templates Customization
Window Calculator plugin has a folder of views that are used to be shown on the front of the
site. There is a possibility to customize them as you need and keep the changes while
the plugin updates.
To do this select files that require customization in the views list and apply the «Copy to the
active theme» action in the form above.
Selected views will be copied into your active theme in the windows-calculator
folder saving the sub-folders structure. Files copied to your active theme will
be marked by a tick icon.
The plugin firstly searches for a specific view in the theme's folders, and if
it doesn't find the view
there, it gets the view from its own directory.
You can edit the copied views using the «Appearance - Them editor»
page.
If you want to delete some views from your active theme choose them in the views
list, select the
appropriate point in the form dropdown above and apply the changes. The view
will be removed from the
theme and the plugin's view will be used instead.
Keep in mind plugin might have some changes in the view files while updating. So
if you have customized
ones some of the new features will not work or might work wrong with them. This
way just copy them from
the plugin and adjust to your needs once again.
