-
AuthorPosts
-
June 3, 2015 at 9:18 pm #291950
I cannot find an option or instructions anywhere that allows you to change the size of product thumbnails in the woocommerce setup of ‘X’. Can someone point me in the right direction please?
Thank you!
June 4, 2015 at 2:43 am #292229Hi there,
Thanks for writing in!
Please setup a child theme first (https://community.theme.co//kb/how-to-setup-child-themes/). Then, if you wish to use woocommerce saved dimension, then you have to add this code at your child theme’s functions.php file.
add_action('init', 'default_woocommerce_thumbnails', 99 ); function default_woocommerce_thumbnails() { remove_action( 'woocommerce_before_shop_loop_item_title', 'x_woocommerce_shop_thumbnail', 10 ); add_action( 'woocommerce_before_shop_loop_item_title', 'x_woocommerce_shop_thumbnail_v2', 99 ); } function x_woocommerce_shop_thumbnail_v2() { GLOBAL $product; $stack = x_get_stack(); $stack_thumb = 'shop_catalog'; $stack_shop_thumb = $stack_thumb; $id = get_the_ID(); $rating = $product->get_rating_html(); woocommerce_show_product_sale_flash(); echo '<div class="entry-featured">'; echo '<a href="' . get_the_permalink() . '">'; echo get_the_post_thumbnail( $id , $stack_shop_thumb ); if ( ! empty( $rating ) ) { echo '<div class="star-rating-container aggregate">' . $rating . '</div>'; } echo '</a>'; echo "</div>"; }
Hope that helps.
June 8, 2015 at 4:25 pm #296244Thanks for the reply but I still haven’t got Child Themes fully understood yet, beginner. I figured though that resizing the images manually actually causes the outlay to resize everything, that worked. thank you for the prompt reply though. Any chance you can take a look at my latest rant? 🙂
https://community.theme.co//forums/topic/woocommerce-checkout-page-not-working-when-clicked-ideas/
Thanks again!
June 9, 2015 at 5:27 am #296700Hi there,
I have already answered your question in that thread, please follow the thread and let us know how it goes.
Thanks.
July 2, 2015 at 1:58 am #319043Hi,
I had the same issue and tried the code, which was great and allowed me to use the woocommerce saved dimension however then my AJAX add to cart functionality all disappeared even though “Enable AJAX add to cart buttons on archives” is still checked in my settings. I’m also not sure what other functions it would have broken as well.
Any ideas?
Thanks!
July 2, 2015 at 9:37 am #319289To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
August 20, 2015 at 4:36 pm #364704hmm – i just installed Wp, x, child, woocommerce all from the scratch
i miss now _all_ size settings in the wc-setting-product-display page …??August 20, 2015 at 10:35 pm #364936Hey @hawa2015,
Thanks for updating this thread! It looks like you have posted a separate thread for your issue. We will be responding on that thread instead.
Thank you.
August 22, 2015 at 1:33 am #365827you mean
https://community.theme.co//forums/topic/changing-size-of-product-image-thumbnail/
…but there is no answer either….August 22, 2015 at 4:13 am #365914Hello There,
Yes, on that topic. We asked for your site details and we are awaiting your reply. Please supply the site info in that topic instead.
Thank you.
August 22, 2015 at 11:53 am #366159This reply has been marked as private.August 22, 2015 at 10:14 pm #366372Hello There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site

– WordPress Admin username / password

– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
-
AuthorPosts