This is the premium version documentation page. Some features shown here may not be available in the free version. Click here to purchase Product Open Pricing (Name Your Price) for WooCommerce.

Contents

Introduction

This plugin is an extended version of free Product Open Pricing (Name Your Price) for WooCommerce plugin with no limitation on how many open pricing products you can add.

Settings

Plugin settings are located in “WooCommerce > Settings > Product Open Pricing”.

Enable plugin
Enables/disables “Product Open Pricing (Name Your Price)” plugin.
Default: yes

Single Product Page Options

Frontend template
Replaced placeholders: %input_id%%open_price_input%%currency_symbol%%minimum_price%%max_price%.
Default:
<label for="%input_id%">Name Your Price</label> %open_price_input% %currency_symbol%
Input field position
Possible values: Before add to cart button; Before add to cart quantity; After add to cart quantity; After add to cart button.
Default: Before add to cart button
Input field position: Position priority
Change this if you want to move the field inside the Position.
Default: 9999
Hide price
Hides original price on single product page.
Default: yes
Disable quantity selector
Default: yes

Shop/Category Page Options

Options regarding WooCommerce loop, like shop or category pages.

Display on loop
Displays the open pricing input field on loop.
Default: no
Frontend loop template
Overwrites the “Frontend template” option if input field displayed on loop. Replaced placeholders: %input_id%%open_price_input%%currency_symbol%%minimum_price%%max_price%.
Default:
<label for="%input_id%">Name Your Price</label> %open_price_input% %currency_symbol%
Input field loop position
Possible values: Before item; After item.
Default: After item
Input field loop position: Position priority
Change this if you want to move the field inside the Position.
Default: 9
Hide price
Hides original price on loop.
Default: yes

Frontend Options

Input style
Default: width:75px;text-align:center;
Input pattern
For backslash use %backslash%, e.g.: %backslash%d*.
Default: None
Enable step ticker
Enables up/down ticker buttons for the input field.
Default: yes
Price step
Default: 0.01
Force number of decimals
Default: no
Force number of decimals: Number of decimals
Default: 2

Message Options

Confirmation/Error messages, displayed after customer try to purchase.

Message on empty price
Default: Price is required!
Message on price too low
Default: Price is too low!
Message on price too high
Default: Price is too high!

Admin Options

Add “Open Pricing” column
Adds “Open Pricing” column to the admin products list.
Default: no

Advanced Options

Fix mini cart
Fixes open pricing item price in mini cart.
Default: no

Per Product Options

To enable open pricing for some product, as well as set the default, min and max prices, you need to open product’s admin edit page, and locate “Product Open Pricing” meta box there:

Frequently Asked Questions

Q. Price input field and currency symbol are outputted on different lines. How to place them on the same line?
A. You need to set the display propety for the price input field to inline, by adding this to your custom CSS (e.g. to “Appearance > Customize > Additional CSS”):

input.alg_open_price { display: inline !important; }

Alternatively, you can use Input style option in plugin’s “Frontend Options” settings section and set it to e.g.:

width: 75px; text-align: center; display: inline;

Q. How can I style open pricing label?
A. You can customize the Frontend template in plugin’s settings, so you can either add style directly to the template:

<label for="%input_id%" style="color:green;">Name Your Price</label> %open_price_input% %currency_symbol%

or add some class to the label:

<label for="%input_id%" class="my_open_price_label">Name Your Price</label> %open_price_input% %currency_symbol%

and then style it with custom CSS:

label.my_open_price_label { color: green !important; }