Plugin's Settings

The settings are located under WooCommerce -> UniCPO General Settings admin menu item.

Standard settings

Add product to the cart via AJAX Pro

Default: no

Enables adding to cart via AJAX for all the products which use custom options and price calculation.

Custom selector (id | class) for a product price html tag

Default: .summary.entry-summary .price > .amount, .summary.entry-summary .price ins .amount

It is quite important to tell the plugin's script where the price is displayed. The default value works for standard theme like Twentyseventeen as well as for themes which use standard, unmodified markup from that comes from WC templates. The actual html markup of the price tag depends on the theme and you may need to define yours. Please, read the FAQ section if you have got an issue with displaying price calculated.

Custom selector (id | class) for a product image wrapper html tag

Default: figure.woocommerce-product-gallery__wrapper

It is quite important to tell the plugin's script where the main product image is displayed. The default value works for standard theme like Twentyseventeen as well as for themes which use standard, unmodified markup from that comes from WC templates. The actual html markup of the image tag depends on the theme and you may need to define yours.

Image size that is used for single product main image Pro

Default: shop_single

It is important to set a proper default size for the main product image on a product single page so it will not be stretched or modified in any case during using change image functionality

Custom selector (id/class) for a product thumbnails wrapper html tag Pro

Default: figure.woocommerce-product-gallery__wrapper

By default, the selector for a product thumbnails wrapper html tag on a single product page is "ol.flex-control-thumbs". However, the actual html markup of the thumbnails block depends on the theme and you may need to define yours custom selector.

Display weight in the cart Pro

Default: no

Enables displaying ordered item weight in the cart. Will be shown next to cart item name.

Display dimensions in the cart Pro

Default: no

Enables displaying order item dimesions in the cart. Will be shown next to cart item name.

Style for range sliders Pro

Default: HTML5

Default style is "HTML 5". This style will be applied for all range slider option instances in the store.

Google Map API Key Pro

Default:

Add Google Map API key in order to use Google Map option

The delimiter used in your CSV import files Pro

Default: ;

Default is ";". You can export to CSV with ";" delim in Libre Office. On macOS you are probably using Numbers, so pick "," as delimiter as it is the only option in this case.

User role when edit orders

Default: administrator

This setting impacts price calculation on edit order screen. Very useful when you, as admin, would like to edit order and set price as for guests or other special role.

File upload settings Pro

Upload max file size (Mb)

Default: 2

Global setting: max file size that is allowed to be uploaded through File Upload option. This setting can be overridden on per option basis.

Allowed mime types

Default: jpg,zip

Global setting: a comma separated list of allowed mime types as extension names. Important: file types defined here still must comply with allowed MIME types by WP itself. More info here: https://codex.wordpress.org/Function_Reference/get_allowed_mime_types

Files storage

Default: local

Available options: 'local' and 'dropbox'. Attention: uploading to 'dropbox' ONLY works for files under 150 Mb. So, make sure you have restricted max file size to 150 Mb when using 'dropbox'! (How to configure Dropbox app to use 'dropbox' file storage option)

Enable custom local folder for file uploads

Default: no

By default, all the files are handled by the standard WP functions and are stored in the same folder as any regular attachments. This setting is called to separate file uploads uploaded via the plugin's File Upload option from regular attachments and store them in different folder (with an opportunity to set custom folder structure scheme).

Custom folder structure scheme

Default:

This setting works only if using a custom local folder is enabled. The path always starts in the standard uploads folder. {{{POST_ID}}} and {{{DATE}}} variables may be used in a folders structure scheme.

Dropbox Access Token

Default:

This access token makes it possible to upload files uploaded by customers to a separate folder in your Dropbox account. Attention: current limitation is 150 mb file! So, if you choose "dropbox" as storage option, make sure that your file uploads are limited to 150 mb! (How to configure Dropbox app to use 'dropbox' file storage option)

"Free Sample" Functionality Pro

Enable "Free sample" functionality

Default: no

Enables so called "Free Sample" functionality (adding to cart free products (zero price)) and limits the total number of free products (if set).

"Free sample" products limit

Default:

Sets the maximum total number of free products which can be added to a single order. Set to "0" or leave it empty to allow unlimited samples.

Last updated