Viewing 5 replies - 1 through 5 (of 5 total)
  • I think you get related products on the product pages and cross-sells on the cart page.

    Anyway, the item width is a bit narrow. Try this in your custom css;

    #content .cross-sells ul.products li.product {width:32%}

    The add-to-basket buttons on the shop page don’t work for me. They give the cart page but with a “Your basket is currently empty” message.

    Thread Starter IndependentGuide

    (@independentguide)

    Thank you for the suggestion but it hasn’t worked, i’m wondering if the layout is inherited from the theme i’m using. I tried using some code from the woo commerce layout css (.woocommerce .cart-collaterals .cross-sells ul.products li,.woocommerce-page .cart-collaterals .cross-sells ul.products li) which is set at 48% width and using that in the css editor which hasn’t work either.

    Thread Starter IndependentGuide

    (@independentguide)

    Just in reply to what you also said, yes this is for cross-sells which is the css i was trying to use from the woo commerce layout css.
    The ‘Add to basket’ links do work for me, i’m using Safari but i’ll test it in other browsers.

    There are parse errors your custom css file, (themes/Directory/custom.css) and these parse errors are preventing some of the styles from being read. Comments should be like this:

    /* This is a single-line comment */

    not

    /* This is a single-line comment *\

    which causes a fail. Suggest validating custom.css with this service:
    https://jigsaw.w3.org/css-validator/#validate_by_input

    Please put my suggestion back in and if it still doesn’t work I’ll try and debug it.

    Its the add-to-basket buttons on the shop page that don’t work for me, in either Safari, IE, FF or Chrome. Have you tried when you are logged-out of back and front end? Add-to-baskets on product pages and from the featured products list work fine for me.

    Thread Starter IndependentGuide

    (@independentguide)

    I can see you know your stuff – I’m still on a steep learning curve – i corrected the css comments as you suggested and now it’s working correctly and only on the cross-sell items too which is perfect.

    As for the Add to basket function that is really strange as it appears to function okay in Safari and Firefox. I logged out as you suggested and used the page in both of those browsers and it seems to function okay – if with a small delay before it loads in the basket.

    Not sure what other tests i can do – i shall ask a colleague to try it.
    Big thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Related products thumbnails’ is closed to new replies.