How can I remove Product variation, Quantity, Override the unit price from my views? It should display only a single button.
There is no need for extra fields. I have already product title in a table column, and there is no need for the quantity field (only one product can be added).
PS. An anonymous user can override the unit price?
| Comment | File | Size | Author |
|---|---|---|---|
| FireShot Capture 035.png | 10.84 KB | adpo |
Comments
Comment #2
subhojit777I don't have a commerce installation at the moment. But I am sure you can remove those fields by editing the view. This is not a module specific requirement. You can ask in #commerce Drupal Slack channel.
Comment #3
adpo commentedSolution is here
https://docs.drupalcommerce.org/commerce2/developer-guide/products/displ...
IIRC the form display is actually on order item type, not the product type,
admin/commerce/config/order-item-types/TYPE/edit/form-display/dc_ajax_add_cart