Home Forums Basel support forum Showing recently viewed products loop sticks to one column

Showing recently viewed products loop sticks to one column

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #202331

    Michiel
    Participant

    I use the YITH Recently Viewed plugin and I would like to display some products next to each other on one row. This is supported by the plugin, but according to support of YITH it is somehow blocked by the Basel theme.

    I got the following response. Could you please check if this can be fixed/optimized? In private content a link to my web page where at the bottom those recently viewed products are displayed. It is one huge column with products below each other, but it should be 1 row with multiple columns so you should see 4-5 products next to each other.

    I just finished to debug on the issue and I found that the problem is due to your theme and can’t be fixed by our side, I’ll explain you the reason.
    In the file at wp-content/plugins/yith-woocommerce-recently-viewed-products-premium/templates/ywrvp-loop-template.php we set the columns for WooCommerce loop products.

    if( $columns )
        $woocommerce_loop['columns'] = $columns;
    else
        $columns = 4;

    Although in your case the value is correct (5), the loop is build like would be one column.
    You can check by yourself that enabling a WordPress default theme

    #202574

    Hello,

    Please provide the site admin access as well as FTP access to the private area

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)