Trial length/period is incorrect in cart subtotal
-
Hello,
After installing the plugin the subscription trial length/period is showing incorrectly in the Review Order table. It’s showing the trial period in days: ex
459-day free trial
even though it’s set as12 months
on the subscription product.In the actual product, it’s setup as “12 month” and the first payment as Fixed first payment on 11/11/2021. In the Review Order table at the checkout – I still want it to show as “12 month”. How can I do that, please?
I can see that plugin adds functions to the following filters:
woocommerce_subscriptions_product_trial_length
woocommerce_subscriptions_product_trial_period
but that’s added to the plugin’s object, that’s not accessible via WP globals or class instance. How those filters can be removed? Or applied only to specific date calculations i.e. first payments/renewal dates but not the overall subscription trial period that is displayed in
get_product_subtotal()
function?Thank you.
- The topic ‘Trial length/period is incorrect in cart subtotal’ is closed to new replies.