Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rchowdhury

    (@rchowdhury)

    Thanks! This code did it.

    add_filter('woocommerce_variable_price_html','custom_from',10);
    add_filter('woocommerce_grouped_price_html','custom_from',10);
    add_filter('woocommerce_variable_sale_price_html','custom_from',10);
    
    function custom_from($price){
    $new_from = "Price starting from";
    $price = str_replace('From',$new_from,$price);
    return $price;
    }
    Thread Starter rchowdhury

    (@rchowdhury)

    solved it with woocommerece.css . Thanks.

    Thread Starter rchowdhury

    (@rchowdhury)

    Thanks for the reply. But the above is not working. I tried to change the return value to 2 thinking that something else is preventing it from going to 4 columns, but 2 is also not working. Kind of confused. Everything else work great. I don’t have sidebar. I even changed content-product.php with the following:

    $woocommerce_loop['columns'] = apply_filters( 'loop_shop_columns', 2 );

    it still shows 3 columns. any more ideas? I don’t have any woocommerce directory inside the theme. what else can be over-riding the loop?

Viewing 3 replies - 1 through 3 (of 3 total)