Display variable product as single products in Woocommerce shop?

[ad_1]

Is there any way to show variations as a single product in shop?

A bit of context: I own a website which primarily sells used collectibles products. In many cases I have multiple pieces of same product in different conditions. I want have each piece display it’s own set of pictures and price. I didn’t use single product because I don’t want people coming from Google Search to land on old/out of stock variations

If you know a better way to deal with this situation. Please do suggest. The “select option” is very confusing for new visitors. I really think displaying “add to cart” can significantly boost my conversation rate

Thank you for reading through

[ad_2]
3 Comments
  1. add_filter( ‘woocommerce_loop_add_to_cart_link’, ‘select_options_button_text’, 10, 2 );

    function select_options_button_text( $html, $product ) {
    if( $product->is_type( ‘variable’ ) ) {
    $text = __(‘Add to Cart’, ‘woocommerce’);
    return str_replace(‘Select options’, $text, $html);
    }
    return $html;
    }

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer