Support » Plugins and Hacks » How to remove the "from" price in SUBSCRIPTION variable products

  • Hi all, thanks for the support,

    I am looking at deleting the “from” XX$ price that appears on the variable product page, but for subscriptions products (with the woocommerce subscriptions plugins). I have found many solutions in other posts in the forum, but only for classic variable products and it does not work for subscription produts.

    I believe they have specific filters as the price string is very specific, but I couldn’t succeed in deleting this “from” price on product page.

    Any ideas on how to do it? It would be very helpful!

    Thanks for your help

Viewing 1 replies (of 1 total)
  • Hi,

    I’m having the same problem trying to remove “From” text from the variable subscription product pages. Did you find a solution? So far I’ve tried the following:

    /*WooCommerce – remove “From” text on product pricing */
    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 = “Deposit”;
    $price = str_replace();
    return $price;
    }

    I’m guessing it’s as simple as finding the correct filter name for the variable subscription product. However so far I’ve had no joy.

    Kind regards
    Paul

Viewing 1 replies (of 1 total)
  • The topic ‘How to remove the "from" price in SUBSCRIPTION variable products’ is closed to new replies.