Good evening. I have a question that may seem trivial but in fact it is a rather important detail. On the product page, the window showing the quantity that a customer may wish to order appears (eg 5 socks - 3 sweaters - 1 shirt). If the "quantity" is not needed, how can the product page be set? Let me explain: In the case of downloading files, it is normal that I order a file and pay the price of a single file for it. If it has a variant, you can choose the variant of the original file but I always buy one and download one. I noticed that if I plan to buy 2 or 3 copies of the same file I pay double or triple the single price but only 1 will be what I download ... (I chose the download setting 1 download max 1) then the window quantity is not needed, even if it is used to count the total of files with different "id" in a single order ... How is it possible to solve this thing?
Thanks in advance
Quantity in Product page
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Quantity in Product page
Hi, the easiest method is to hide the input form with help of CSS,
e.g.

Jan
e.g.
Code: Select all
.ph-form-quantity {
display: none;
}

Jan
If you find Phoca extensions useful, please support the project
- Robx61
- Phoca Enthusiast

- Posts: 64
- Joined: 29 Dec 2021, 14:12
Re: Quantity in Product page
Thanks Jan, does this also apply to the checkout form?
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Quantity in Product page
Hi, yes, but there are different input values, so depends on which is used on your site, the class indicator can be:
.phItemCartUpdateBoxForm .ph-input-quantity for the form field
.phItemCartUpdateBoxForm .btn-success for the update button
Jan
.phItemCartUpdateBoxForm .ph-input-quantity for the form field
.phItemCartUpdateBoxForm .btn-success for the update button
Jan
If you find Phoca extensions useful, please support the project