• Resolved olegus25

    (@olegus25)


    Ссылку на сайт предоставить не могу – сайт на локальном хосте и ещё в разработке. Установил Woocommerce для получения оплат за Подписки (образовательные услуги). Файлы для скачивания доступны только пользователям с ролью Подписчик. При регистрации на сайте пользователь получает роль Участник. Далее он оплачивает какую-либо Подписку и хотелось бы сделать так, чтобы после оплаты его статус (роль) автоматически менялась с Участника на Подписчика (чтобы не отслеживать и не менять это вручную). В настройках woocommerce я этого функционала не нашел. Насколько реально это реализовать? Или может кто-то уже сталкивался с этим и знает готовые плагины? Спасибо!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter olegus25

    (@olegus25)

    Возможно, я нашел какое-то решение, не знаю, буду тестить:

    • для управления ролями пользователей в WooCommerce можно использовать плагин User Role Editor for WooCommerce от FME Addons. С его помощью можно автоматически менять роли на основе конкретных условий.
    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for reaching out and describing your situation in detail. You’re correct that the standard WooCommerce Subscriptions doesn’t offer an automated way to change user roles upon subscription payment. However, your approach to use an additional plugin is definitely on the right track.

    The “User Role Editor for WooCommerce” plugin you mentioned could provide the functionality you need if it allows automating role changes based on WooCommerce events, such as completing a subscription payment.

    Another popular plugin that can achieve this is the “Groups for WooCommerce” plugin. It integrates with WooCommerce and can change the user’s group—effectively their role—based on the products they purchase, which could include subscriptions.

    Additionally, you might explore the “WooCommerce Memberships” plugin, which is designed specifically to handle memberships tied to products. When set up with WooCommerce Subscriptions, it can automatically manage user roles and access to content based on the active membership status.

    I hope this helps

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