Plugin Author
xootix
(@xootix)
Hello,
“Disable quantity buttons” option disables the plugin custom quantity button (+/- in the circle).
If they are still displayed , provide your website link 🙂
XootiX
Sure. I’ve taken the site out of maintenance mode and unchecked “Enable Increase/Decrease Quantity buttons”.
http://sandingbeltkits.com
What I would really like is the ability to disable the button only on mobile.
Thank you!
-
This reply was modified 9 years, 2 months ago by
UVScott.
Plugin Author
xootix
(@xootix)
I don’t see the buttons.
If you want to hide it only on mobile devices.
Enable it from the settings & add this CSS.
@media only screen and (max-width: 768px) {
.xcp-chng{
display: none;
}
}
This will hide the buttons for screens less than 768px.
XootiX
Well, that is odd. I wonder how it is that I see the buttons and you cannot? I’m using FF 50.1.0 & Fedora 25.
https://s28.postimg.org/j6oczsnvh/buttons.jpg
I’ll check it out on a couple of different browsers and in Windows, as well.
Thanks for the code to hide on mobile.
-
This reply was modified 9 years, 2 months ago by
UVScott.
Tested in Firefox on Windows and the buttons are still there. In IE, the +/- buttons are gone, but there is still a box there where Qty can be manually entered.
Also, checked with Midori in Linux and Buttons are there.
Thanks!
Plugin Author
xootix
(@xootix)
You have cache plugin?
Try clearing your cache/Browser history.
I have tested in chrome/firefox/opera !! No buttons !!
What is your purpose? you don’t want the user to change the quantity?
I don’t use any caching on the website and I’ve cleared the browser.
My initial thought what there was no need to have a Qty dialog on mobile, especially with small mobile phones, as it caused a horizontal scroll bar to appear. Also, the buttons are so small on some devices that it’s difficult to spin.
Is there a bit of code you could share to disable the Qty box entirely? I think that might be the best approach on small mobile device. Then, again. I’m kinda torn on this. 🙂
Thanks for your help!
Plugin Author
xootix
(@xootix)
Hey,
There is no way to disable the quantity box right now. I will consider it to add an option in the upcoming update.
Though you can hide it completely on mobile devices.
@media only screen and (max-width: 768px) {
td.xoo-cp-qtybox{
display: none;
}
}