Home › Forums › WoodMart support forum › two questions
two questions
- This topic has 3 replies, 2 voices, and was last updated 5 months, 3 weeks ago by Hung Pham.
-
AuthorPosts
-
June 17, 2024 at 10:03 pm #573344
fedorvasiliev.ruParticipant1) on the product categories page, my pictures are all different sizes, can you recommend a plugin so that they are automatically aligned and cropped to the same size. 2) in the product card, you need the order of the tabs, 1 – tab is a description, 2 – reviews, 3 – additional tabs with information. How can I make the reviews tab the last tab? that is – 3!
June 18, 2024 at 12:19 pm #573468
Hung PhamKeymasterHi fedorvasiliev.ru,
Thanks for reaching to us.
1. Product images
– For the Product Archive page, please navigate to Theme Settings > Product archives -> Products styles, here you can enable
Even product grid for desktop
option to align products if they have different height components.– Basically the product images are controlled by WooCommerce and the WoodMart theme doesn’t influence this. The size of the thumbnail you set should be larger than the size of the product thumbnail displayed on the shop page. If the thumbnail size is smaller than what the default size expects, it may appear blurry or not display correctly.
You can find the sizes used on the demo here:
https://xtemos.com/docs/woodmart/faq-guides/image-size-content-alignment-product-grid/and Regenerate thumbnails using the appropriate plugin. https://wordpress.org/plugins/regenerate-thumbnails/
Here is the WooCommerce Manual:
https://woocommerce.com/document/fixing-blurry-product-images/2. The code below will help you to reorder the tabs. Please try to add the code below in the functions.php file in your child theme.
/** * Reorder product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 ); function woo_reorder_tabs( $tabs ) { $tabs['reviews']['priority'] = 33; // Reviews first $tabs['description']['priority'] = 4; // Description second $tabs['additional_information']['priority'] = 5; // Additional information third // Additional Tabs are from Theme Settings $tabs['wd_additional_tab']['priority'] = 1; $tabs['wd_additional_tab_2']['priority'] = 2; return $tabs; }
Best Regards.
June 18, 2024 at 12:57 pm #573480
fedorvasiliev.ruParticipant2. I inserted the code, but it didn’t work.
Attachments:
You must be logged in to view attached files.June 19, 2024 at 9:24 am #573697
Hung PhamKeymasterHi fedorvasiliev.ru,
To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register