最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

WooCommerce subscription, give option to prorate or not to prorate to user while switching subscription

programmeradmin0浏览0评论

With WooCommerce subscription plugin, user can switch between subscriptions. And there is an option in the backend to prorate the recurring payment. When the option prorate option is enabled, and user switch subscription the payment is made right there. It does not wait for current subscription period to end. To make the switch happen after the current subscription end, the option needs to be disabled.

My problem is that I need to have these both options in the frontend for the user to select when they try to switch subscription. For eg, user needs to have

  • an option to switch subscription ‘right now’
  • and another option to wait for the current subscription to end

The documentation for the WooCommerce subscription does not have much in prorate feature. Have anyone done the same ? how can it be done programmatically, with filters etc ?

Thx

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论