Hi,
In the Product page the price is editable and I don't know why. The configuration seems to be fine.
Somebody knows why?

Commerce 8.x-2.7
Drupal Core 8.5.4

Thanks

CommentFileSizeAuthor
cart.jpg22.95 KBchismen

Comments

Chismen created an issue. See original summary.

bojanz’s picture

Status: Active » Fixed

You've enabled the unit price for editing in the order type configuration.

Go to admin/commerce/config/order-item-types, click "Manage form display" in the dropbutton for your order item type, then click "Add to cart", and in the table drag the Unit price field to "Disabled".

chismen’s picture

ok, But then the price disappears.

chismen’s picture

Status: Fixed » Active
chismen’s picture

It doesn't work for me. The price does not appear.

bojanz’s picture

Status: Active » Fixed

The price is rendered from the variation, the order item has nothing to do with it.
Check your product variation type and your product twig template.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

introfini’s picture

I had the exactly the same problem. I was using Display Suite. Changing the Display to None in "Select a layout" then saving brought back the price. After that you can go back using DS.