WooCommerce issues
-
Hello @arminunruh !
Thanks for the reply!
Sorry about the email I didn’t know – I posted here straight away after getting the automatic response :))- Ok I see! Would be great to have the option to just have single or double images on the phone version too!
- Sorry, I’ll try explain better – is there a way to have just the “product gallery images” on the single product page? Basically, as the product image is displayed as a thumbnail image on the shop page/homepage (and I’m using two different image styles between the product image and the product gallery images), I’m trying not to have them both on the single product page. https://glassa.studio/prodotto/a2-medium-bowl/
- Ok! When using the desktop menu style can I get rid of the cart icon at all and just have the cart as “Cart (0)” as it is on the desktop?
- On the payment page https://glassa.studio/payment/ some of the type in the billing details form (such as “Fist name”) before clicking on it is bigger the the rest of the type (which is my default type) and I don’t know how to change that.
- Ok I’ll try that!
A couple of other things :))
- In the shop page - in the “Edit Product Thumbnail Grid” – the products are “Top aligned”. It works fine on the shop page/homepage but when I go in the menu in the single categories (“cups” “bowls”) they are not aligned – how can I edit that? https://glassa.studio/bowls/
- In the “Edit Product Thumbnail Grid” the “Desktop Column Gutter” “Desktop Row Gutter” are in only in % – is the there a way to have them in px as I’ve set up my grid etc in px?
- In the single page product the writing “out of stock” is in a different font – how can I change that? https://glassa.studio/prodotto/coffee-cup/
Thank you so much again for your help!!
-
i see i see
let me work on this gimme some time
-
@arminunruh great! Thank youu
-
@gd_mrsn hello I'm trying to remove the thumbnail product image of the gallery single product page too. your Second (2) point !
I found something on the web to add an action in the function.php page without good result. I tried to ask at chat GPT (lol) and I had different options :
- take the plugin https://wordpress.org/plugins/woo-variation-gallery/ but it's not compatible with lay theme (for the design).
- Add code in function.php of the laytheme as :
add_action( 'woocommerce_product_thumbnails', 'remove_featured_image_from_gallery', 9 ); function remove_featured_image_from_gallery() { global $product; $attachment_ids = $product->get_gallery_image_ids(); $featured_image_id = $product->get_image_id(); if ( $attachment_ids ) { $gallery_html = '<div class="woocommerce-product-gallery__wrapper">'; $gallery_html .= '<div class="woocommerce-product-gallery__image">'; $gallery_html .= wp_get_attachment_image( $featured_image_id, 'woocommerce_single' ); $gallery_html .= '</div>'; foreach ( $attachment_ids as $attachment_id ) { $gallery_html .= '<div class="woocommerce-product-gallery__image">'; $gallery_html .= wp_get_attachment_image( $attachment_id, 'woocommerce_single' ); $gallery_html .= '</div>'; } $gallery_html .= '</div>'; echo $gallery_html; } }
and others solutions, but I achieved anything.
So if someone have a solution, I will take it ;)
Cheers.
B. -
Hey @benjaminmugnier
Happy to know I’m not the only one trying to work this out!
I’ve actually thought about asking chat GPT as well lol -
i will release an update later today that contains the setting "show first image" in customize → woocommerce → single product
aha nice try chatgpt :D
-
@arminunruh That's amazing! Thank you!
-
sure sure!!
just published the update! -
@arminunruh omg thank you Armin !! u rock ! Cheers
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it