WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
WooCommerce Image and Shop Issues (4 posts)

  1. Messai
    Member
    Posted 1 year ago #

    Hi Guys

    Im working with WooCommerce and I cant figure out how to change image size (hardcode) in product and shop pages.

    Catalog change don't work since it only changes code but the size stays the same as default.

    And on the Shop page I cant change number of images (products) per row or how to delete title of the page and products title on the same page.

    If someone has answers on my questions please help me.

    Thank You

    http://wordpress.org/extend/plugins/woocommerce/

  2. bheadrick
    Member
    Posted 1 year ago #

    after you change the settings for the image sizes in wc settings, you need to regenerate thumbnails before the image sizes update.

    As for shop columns - I really don't know why they don't have an interface for that. It bugs me a lot.

    Add this to the bottom of your theme's functions.php (before the ?>)

    add_filter('loop_shop_columns', 'my_shop_columns');
    
    function my_shop_columns($columns){
    return 5;
    }

    As for modifying the layout of product pages, etc, check this out

  3. Messai
    Member
    Posted 1 year ago #

    add_filter('loop_shop_columns', 'my_shop_columns');

    function my_shop_columns($columns){
    return 5;
    }

    Its not working mate :(

    Regarding Images: I did regenerate those images but i still have same problem.

    In element inspection its shows size that I selected but the images keep their old size (default).

    Any other solutions?

  4. meadows.pete
    Member
    Posted 1 year ago #

    I'm struggling with the same issue - tried to override using the code above in functions but no change...

    http://digitalmeadows.co.uk/londonbb/?product=oxford-road-east-putney

    Thumbnails have been regenerated etc - tried a few other routes now with no joy...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic