I open this new ticket so we don’t have a very long topic, as the other questions were resolved already.
1 – I have discovered why there was a problem with the product display on the category pages in ipad. As I told you before, I noticed that instead of showing the products in rows of 2, sometimes a row would have only one product. It was because if a product has one line for the title but the next one has 2 lines, it messes up the order and it leaves a blank space below it. I solved this with this CSS code:
min-height: 45px !important;
This way all the products had the same height even if it was only one line of title. However, I have a problem with this solution. I am using a plugin so that the products tagged as “Coming soon” can’t be bought yet and the “Add to cart” button doesn’t show. The problem is that the “Blank space problem” happens in these cases too, because the products tagged coming soon have less height and therefore there is a blank space below them. Do you know a CSS code that can make all the products the same size so it doesn’t matter if a product has the add to cart button or not?
2 – When a product tagged as “Coming soon” appears in the “Related products” section, it shows a lot of code before the title of the product. Do you know how to make it work, or not show products tagged as “Coming soon” in Related products?
3 – On desktop the related products section shows 4 products at first glance, but this is too much for the ipad vesion. Is it possible to make it show only 2 or 3 products at once in ipad?
4 – Regarding Related products, is there any way to make it show only products from the same last category as the one you are watching now? I mean, for example a product that has these categories: “Collection – Animals – Dog” would show as related products only other products categorized as “Dog”.
Thank you for your help.
1 – Check the grid now.
2 – Contact plugin author about this issue. Looks that plugin close or open the tag in incorrect place.
3 – You can change it from woopress-child/woocommerce/single-product/related.php file http://prntscr.com/l9i3i1
4 – Related Products is a section on some templates that pulls products from your store that share the same tags or categories as the current product. If you want to show products by category only you can try to implement it by additional customization, check this post https://stackoverflow.com/questions/45698470/related-products-only-by-categories-not-by-tags-in-woocommerce-3 maybe it helps you.
Thank you for your answers!
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Seems you did not register purchase code for WooPress WordPress Support Forum to be able to create a topic on this forum.