Why isn’t the limit reset when a customer cancels his appointment?

Top WooCommerce & WordPress Plugins Forums Maximum Products per User for WooCommerce Why isn’t the limit reset when a customer cancels his appointment?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100683
    Edmund Ellison
    Guest

    Hi guys,

    Hoping you can help. So on my membership model, a customer can sign up for a pro membership which will enable them to book 2 appointments (1 from product A and 1 from product B). (I have woocommerce memberships, subscriptions, bookingwp and this product).

    Both products are bookable appointments and so when the user creates an appointment the system picks up that he has already bought one. This side of the behaviour is now working as expected and he is not able to purchase another one.

    The plugin (bookingwp.com) allows for that user to cancel his appointment and reschedule.

    My challenge is that since the user has cancelled his appointment, he should now have his limit reset but this is not happening.

    I have checked order status and even though I have cancelled in there, it doesn’t seem to be picked up by the logic so this would mean that any customer who tries to reschedule their appointment will not be able to do that until I manually go in and edit their allowance each time which would cause a lot of admin.

    Is there something I am missing or a code snippet that you can recommend to help me with this please?

    My formula is below:

    [alg_wc_mppu limit="1" membership_plan="pro" product_id="7881,6444"]

    Many thanks,

    Edmund.

    #100684
    Zohaib
    Participant

    Hi,

    In the plugin’s settings General > Order Statuses add the Cancelled and Refunded status

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.