wcm-access-discounts

Determine user access and pricing for WooCommerce Memberships content.

21|1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/Lonsdale201/wp-agent-skills --skill wcm-access-discounts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wcm-access-discounts
Source: https://github.com/Lonsdale201/wp-agent-skills/tree/main/woocommerce/wcm-access-discounts
Command: npx skills add https://github.com/Lonsdale201/wp-agent-skills --skill wcm-access-discounts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

WooCommerce Memberships access and discounts require coordinating membership status, content visibility, and pricing across posts, products, and terms. This Skill guides how to determine whether a user can view or purchase protected content, how member discounts are applied, and how drip-access dates are managed.

Core Features & Use Cases

  • Access checks: Use wc_memberships_user_can() and related helpers to determine post or product accessibility for a user.
  • Discounts and grants: Manage member discounts, original pricing, and products that grant access to protected content.
  • Drip and timing: Handle scheduled access and delayed content according to membership plans and rules.

Quick Start

Ask the AI to evaluate a user’s access to a post or product and compute applicable member discounts for display or checkout.

Frequently Asked Questions about wcm-access-discounts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check WooCommerce Memberships user access for protected posts and products?

WooCommerce Memberships user access for protected content is checked using wc_memberships_user_can() to evaluate whether a user can view or purchase specific posts, pages, terms, and products based on active membership rules.

How do I apply member discounts to WooCommerce product variations?

Member discounts for WooCommerce product variations are applied using wc_memberships_get_discounted_price() to calculate the adjusted pricing, allowing you to display both the original price and the discounted member rate.

How does drip content scheduling work with WooCommerce Memberships?

Drip content scheduling in WooCommerce Memberships restricts access to protected posts and pages until a specified time after membership purchase, managing delayed content delivery according to configured membership plan rules.

Can I use this to control access to WordPress taxonomy terms and WooCommerce product categories?

Yes, membership access control can be applied to WordPress taxonomy terms and WooCommerce product categories, restricting visibility and purchase capabilities based on the user's active membership plan and assigned access rules.

Why are WooCommerce membership discounts not showing correct pricing on checkout?

Incorrect WooCommerce membership discount pricing at checkout often occurs when access rules or product grant configurations are misaligned, requiring verification of wc_memberships_get_discounted_price() logic and active membership status.

Does this approach support products that grant access to protected WordPress content?

Yes, this approach supports products that grant access to protected WordPress content, coordinating the purchase of specific WooCommerce products to automatically assign or unlock membership levels and associated restricted content.