Sponsored Links
Find the Shopping Cart view and take away Quantity container:
I hope this tip used to be fine. If you realized it fine or there are diversified equipment to try this, please depart me a remark lessen than.
Remove quantity container from Views > Fields > Rearrange > Remove the quantity container from view.
If you are the usage of Drupal Commerce, you are able to want adopted that on the Shopping Cart, there's an editable Quantity text container displayed internal the cart after the consumer Add to Cart.In basically a couple of scenarios, the quantity is again and again one. A an identical case the subsequent's that we were implementing Drupal Commerce for a faculty and the product is a cost magnificence. So the quantity anticipated is again and again one. So we invaluable to disable it.
If you are further making an attempt to uncover equipment to disable the quantity text container internal the hunting cart, the subsequent's do it without any code edits.
Go to Admin>Structure>Views
Find views named that starts off with Shopping Cart which are created simply by Drupal Commerce like "Shopping cart block", "Shopping cart sort", "Shopping cart abstract".
Click on the edit button resembling all of the above "Shopping Cart" associated view items.
Look on the Fields displayed and uncover quantity container
Click on the small down arrow resembling "Fields" in which "Add" is displayed.
Click on "rearrange"
Remove the Commerce Line object: Quantity container
Click Apply
Save the view
After:
The quantity container is no longer displayed internal the hunting cart. This will only eliminate the "Quantity" container from displaying internal the views page.
Before:
Find the Shopping Cart view and take away Quantity container:
I hope this tip used to be fine. If you realized it fine or there are diversified equipment to try this, please depart me a remark lessen than.
Remove quantity container from Views > Fields > Rearrange > Remove the quantity container from view.
If you are the usage of Drupal Commerce, you are able to want adopted that on the Shopping Cart, there's an editable Quantity text container displayed internal the cart after the consumer Add to Cart.In basically a couple of scenarios, the quantity is again and again one. A an identical case the subsequent's that we were implementing Drupal Commerce for a faculty and the product is a cost magnificence. So the quantity anticipated is again and again one. So we invaluable to disable it.
If you are further making an attempt to uncover equipment to disable the quantity text container internal the hunting cart, the subsequent's do it without any code edits.
Go to Admin>Structure>Views
Find views named that starts off with Shopping Cart which are created simply by Drupal Commerce like "Shopping cart block", "Shopping cart sort", "Shopping cart abstract".
Click on the edit button resembling all of the above "Shopping Cart" associated view items.
Look on the Fields displayed and uncover quantity container
Click on the small down arrow resembling "Fields" in which "Add" is displayed.
Click on "rearrange"
Remove the Commerce Line object: Quantity container
Click Apply
Save the view
After:
The quantity container is no longer displayed internal the hunting cart. This will only eliminate the "Quantity" container from displaying internal the views page.
Before:

Image source: https://drupalcommerce.org/sites/default/files/docs/Prod-Admin-ViewEdit-step12.png
Labels:
Blogging Tips
Thanks for reading Drupal Commerce How to disable the quantity textual content discipline in Shopping cart. Please share...!
0 Comment for "Drupal Commerce How to disable the quantity textual content discipline in Shopping cart"