I want to modify the subscription string so it only shows the sign-up fee for variations with 0$ recurring fee.
I would also like to show that variation price in the archive for that product rather than a price range.
I've tried using the str_replace function and it worked for everything besides this specific string. Besides, I am unable to select specifically the strings with 0$ recurring fees.
$subscription_string = str_replace('$0.00 / month and a ', '', $subscription_string)
The expected output would be only the signup price with the price string replaced with nothing