Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.7
Component:
Line item
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2018 at 10:16 UTC
Updated:
21 May 2019 at 08:31 UTC
Jump to comment: Most recent
Comments
Comment #2
bojanz commentedYou'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".
Comment #3
chismen commentedok, But then the price disappears.
Comment #4
chismen commentedComment #5
chismen commentedIt doesn't work for me. The price does not appear.
Comment #6
bojanz commentedThe 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.
Comment #8
introfini commentedI 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.