Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds how to allow customer price overrides #495

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ You can add the Add to cart form to a custom content type by adding an *Entity r

![Rendered product with add to cart form](../../images/add-to-cart-ui-8.jpg)

### Allow Price Overrides

It is possible to allow the customer to override the price of an item being added to the cart by enabling the "Unit Price" field on the "Add to cart" display mode of the Order item type used.

This will result one of two outcomes based on the "Require confirmation before overriding the unit price" configuration of the "Unit Price" widget setting.

1. When confirmation **is required**: an "Override the unit price" toggle will appear above the "Add to cart" button that will show an editable price field when toggled on.
2. When confirmation is **NOT** required: An editable price field will show above the "Add to cart" button

---
In the next section, we'll look at configuration options for displaying a product's attributes, such as *Color* and *Size*.

Expand Down