Group membership duration

Hi,

I am using the WooCommerce addon for Groups and am allowing users to purchase a 12 or 24 month membership. Can I programatically show the membership expiration on a page using a shortcode (or something similar) for the logged in user?

This is the information I would like to show on a page for a logged in user so they can check how long their membership will last:
https://drive.google.com/open?id=1–Fgp345zXY5Uk3uMjQMTF2hus6fCBrD


Comments

3 responses to “Group membership duration”

  1. Eugen Bleck Avatar
    Eugen Bleck

    Hi Nat,

    You are welcome. Glad I could be of help and thank you for using our plugins.

    I wish you a fun and fruitful day ahead.

    Kindest regards,
    Eugen.

  2. Nat Miletic Avatar
    Nat Miletic

    Awesome thank you that worked!

  3. Eugen Bleck Avatar
    Eugen Bleck

    Hi Nat,

    Happy new year and thanks for using Groups.

    You can use the [groups_woocommerce_memberships] shortcode which will render group membership information for the current user. In addition to this, each valid membership displays the group, for time-limited memberships, the date and time until the membership is valid is shown, too.

    We also have [groups_woocommerce_subscriptions_table] shortcode, which can be used to list a user’s subscriptions and related group memberships.

    ** The link you https://drive.google.com/open?id=1–Fgp345zXY5Uk3uMjQMTF2hus6fCBrD doesn’t work, so I can’t really see its content.

    You can read more about the Groups WooCommerce shortcodes and how to use them HERE.

    Again I must thank you for being a valued customer of Groups and its add-ons. I wish you a fun, productive and awesome week ahead.

    Kindest regards,
    Eugen.

Share