Other questions about the theme - by Marta Iraola

This topic has 4 replies, 3 voices, and was last updated 6 years, 1 months ago ago by Rose Tyler

  • Avatar: Marta Iraola
    Marta Iraola
    Participant
    October 22, 2018 at 15:42

    Hello,

    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:

    .products-grid .product-title{
    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.

    Kind regards,

    Marta

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 23, 2018 at 16:13

    Hello,

    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.

    Regards

    Avatar: Marta Iraola
    Marta Iraola
    Participant
    October 29, 2018 at 15:30

    Hello Olga,

    Thank you for your answers!

    Kind regards,

    Marta

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 29, 2018 at 15:34

    Hello,

    You’re welcome!

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.