- This topic has 20 replies, 2 voices, and was last updated 4 years, 1 month ago by
David.
-
AuthorPosts
-
April 25, 2019 at 8:51 am #879343
Neil
Hi,
I’ve just upgraded to the latest version of GP Premium and the Woocommerce quantity buttons are suddenly different. On a single product page the new look is fine but I use the Barn2Media product table plugin and the quantity box is completely trashed now when viewed in the table.
Any ideas how I can fix this or shall I roll back to the previous version?
Thanks,
Neil.
April 25, 2019 at 9:15 am #879381David
StaffCustomer SupportHi there,
try adding this CSS:
.do-quantity-buttons .wc-product-table .cart .quantity { display: -webkit-inline-box !important; display: -ms-inline-flexbox !important; display: inline-flex !important; } .woocommerce .wc-product-table .quantity.buttons-added .minus, .woocommerce .wc-product-table .quantity.buttons-added .plus { min-height: auto; }
The alternative is to deactivate the Quantity buttons in Customizer > Layout > Woocommerce
April 25, 2019 at 9:37 am #879406Neil
Thanks David. I’ve used the customiser approach. I did have a look in there earlier but couldn’t see it!
Is this a new feature in the latest version?
April 25, 2019 at 9:45 am #879422David
StaffCustomer SupportYes, part of the 1.8 update. You can see more here:
April 25, 2019 at 10:03 am #879436Neil
Some super cool features there. I’ve found a bug though, not sure if it’s just me or not though.
All ‘X’s for closing or cancelling are not showing correctly.
April 25, 2019 at 10:59 am #879489David
StaffCustomer SupportCan you try clearing caches including the browser.
April 25, 2019 at 11:04 am #879501Neil
Yep, running in incognito mode in Chrome sorts the issue. I’ll see what it’s like when I upload to our test server.
Thanks.
April 25, 2019 at 11:09 am #879511David
StaffCustomer SupportIt was a big update including those X’s to get better positioning. And Woo caches really hard and so does chrome – caught me out a number of times lol
April 25, 2019 at 11:12 am #879515Neil
Cheers, yeah I always forget about browser caching!
It’s really good to see the things that you have done in this version, some smart stuff for Woocommerce that’s for sure. There’s a few things further down the line that I would like to organise better surrounding the layout of the basket/cart on mobile. I’d be interested to know what’s on your roadmap for this area.
April 25, 2019 at 11:16 am #879519David
StaffCustomer SupportGlad you like it.
If you don’t mind me turning it around, what would you like to see in the future regards basket/cart? Any examples of better checkout processes?April 25, 2019 at 11:24 am #879526Neil
On mobile, the basket/cart with a lot of products in is not very optimised.
It seems silly to have everything on a separate line, especially the X. It would be great to consolidate several of the line items to make it more manageable.
April 25, 2019 at 11:48 am #879558David
StaffCustomer SupportYes – makes sense. Something more like this?
Not perfect – but quick messing with CSS in the browser tools
April 25, 2019 at 11:49 am #879560Neil
Yes exactly that 😀
April 25, 2019 at 11:50 am #879561Neil
Can you share your CSS?
April 25, 2019 at 2:07 pm #879670David
StaffCustomer Supportthis is the basics:
.woocommerce table.shop_table_responsive tr.woocommerce-cart-form__cart-item { display: flex; flex-wrap: wrap; } .woocommerce table.shop_table tr.woocommerce-cart-form__cart-item td { flex: 1 1; } .woocommerce table.shop_table tr.woocommerce-cart-form__cart-item td.product-thumbnail, .woocommerce table.shop_table tr.woocommerce-cart-form__cart-item td.product-name { order: -1; flex: 1 0 100%; box-sizing: border-box }
-
AuthorPosts
- You must be logged in to reply to this topic.