Hello, I saw this topic in another place but decided to make a new once since it had not been resolved in the other post.
In product view, when trying to add quantity of an item, the numeric value seems to be entered but it is not visual so it creates a lot of confusion about if you have already put something in the field or not. Also selecting the number by dragging the mouse in the field does not seem to be possible... to highlight it.
https://imgur.com/7bY7lNd
The above picture shows a newly refreshed page with no entry in the field.
https://imgur.com/pb359ck
The above picture shows the field when a number has been entered into the field.
It would be great to get some help on this :)
Phoca Cart - Quantity entry not showing
-
- Phoca Member
- Posts: 10
- Joined: 22 Oct 2020, 20:34
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Cart - Quantity entry not showing
Hi,
like described in other posts, this can be related to template CSS which add too much padding for the form field.
So, check the padding of form fields, e.g. per google devtools and try to set some smaller size for the padding value for the form fields.
Jan
like described in other posts, this can be related to template CSS which add too much padding for the form field.
So, check the padding of form fields, e.g. per google devtools and try to set some smaller size for the padding value for the form fields.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 22 Oct 2020, 20:34
Re: Phoca Cart - Quantity entry not showing
Hi,
Yes you are right... sorry - misunderstood the previous post.
Just if this might help someone out, I added this to my custom.css file:
.form-inline .form-group .ph-input-quantity {
padding-left: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-top: 2px;
}
Probably different depending on templates but I guess the general idea would be the same. The previous padding was 16 :)
Everything looks much better now. Thanks again.
Yes you are right... sorry - misunderstood the previous post.
Just if this might help someone out, I added this to my custom.css file:
.form-inline .form-group .ph-input-quantity {
padding-left: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-top: 2px;
}
Probably different depending on templates but I guess the general idea would be the same. The previous padding was 16 :)
Everything looks much better now. Thanks again.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Cart - Quantity entry not showing
Hi, great to hear it, thank you for sharing your code.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 17 May 2021, 11:50
Re: Phoca Cart - Quantity entry not showing
Hi. A question from a newbie. Where i can find the custom.css file ?
Do you refer about the template or the phoca component?
Thank you!
- ehndrju
- Phoca Member
- Posts: 43
- Joined: 21 Apr 2021, 05:35
Re: Phoca Cart - Quantity entry not showing
you create this file yourself and write the code as you need
Hi. A question from a newbie. Where i can find the custom.css file ?
Do you refer about the template or the phoca component?
Thank you!