• Resolved beaulife

    (@beaulife)


    Hi,

    I would like to find out from you how to change from 3 to 4 products per row with woocommerce and Fruitful theme. I had tried few methods from various forums but I just could not locate the portion in functions.php.

    Hope to hear from you soon.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Theme Author Fruitful Code

    (@fruitfulcode)

    You can add new filter

    add_filter( 'loop_shop_columns', 'wc_loop_shop_columns', 1, 10 );
    
    /*
     * Return a new number of maximum columns for shop archives
     * @param int Original value
     * @return int New number of columns
     */
    function wc_loop_shop_columns( $number_columns ) {
     return 4;
    }
    Thread Starter beaulife

    (@beaulife)

    Hi,

    Thank you for your kind sharing.

    After the addition of the new filter inside functions.php, the shop page is still showing 3 columns of products per row although it specifies 4 columns in the new filter.

    Is there anything else to amend inside the theme?

    Appreciate your kind reply soon.

    Theme Author Fruitful Code

    (@fruitfulcode)

    beaulife,

    You selected full width template, without sidebar?

    Thread Starter beaulife

    (@beaulife)

    Hi,

    I have tried both default template and full width template, it is not showing 4 columns (i.e. 4 products per row) on shop page at https://goo.gl/cs4rEK.

    I had tried without widgets on the sidebar on full width template, but it is still showing 3 columns.

    What could have gone wrong on my part?

    Thank you for your sharing.

    Thread Starter beaulife

    (@beaulife)

    Hi,

    I will be much appreciated if there are any advices and suggestions from other Fruitful theme users and WordPress friends here so that I could get 4 products per row (or 4 columns) on the Shop page with the sidebar (for category listing).

    The Fruitful theme has been perfect for visual and use, but, with this minor customization will make this theme even more pleasing.

    Thank you in advance.

    Thread Starter beaulife

    (@beaulife)

    Hi,

    Has anyone gotten any suggestion for me? I have tried some guides of other themes from the same developer, but still unable to display 4 products/columns on the product/shop page using Woocommerce and Fruitful theme.

    Please help.

    Thank you in advance.

    It looks like you fixed your issue. How did you accomplish this?

    Theme Author Fruitful Code

    (@fruitfulcode)

    mentoce, only way it’s add filter

    Hi @fruitful Code

    I have slightly different problem. I have 3 columns in shop and parent category pages but only 2 in lowest level categories where the products are displayed. How can I make 3 columns on all pages?

    Theme Author Fruitful Code

    (@fruitfulcode)

    maciej.ko,

    In new theme version we added additional options for WooCommerce, please wait for release.

    Hi There,

    I have tried all of the above, but I still only have three columns. Also, all my products are pushed to the right of the page.

    Please could you have a look and tell me what I am doing wrong.

    Thanks!
    Sam

    Sorry, here is the link

    Hi Karalius,

    Thanks for the link to this plugin. I’ve installed it but didn’t help. I checked 3 columns in settings. Still as long I’m in categories I have 3 columns but when I go to the lowest level of hierarchy it displays products in 2 columns only.

    https://martawalenda.com/shop/

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Products Per Row with Woocommerce’ is closed to new replies.