Woocommerce subscription variable products message error


/ Published in: PHP
Save to your folder(s)

This function is a workaround for a bug of the subscription extension of WooCommerce.
If the subscription is set up as a variable product with monthly and yearly prices
the extension will show the wrong message, like '$10 - $120/month' instead of
'$10/month - $120/year'
Making the function general would have taken too long so I've simply hardcoded the product IDs

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.