Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Protect Woocommerce "add to cart"-button for members

Simple Membership Plugin › Forums › Simple Membership Plugin › Protect Woocommerce "add to cart"-button for members

Tagged: protect woocommerce product for members

  • This topic has 1 reply, 2 voices, and was last updated 9 years ago by mbrsolution.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 21, 2017 at 10:00 pm #12546
    Claus
    Participant

    Hi there,
    is there a way to protect just the add to cart button for members so that only tey can purchase a certain product?

    Maybe by altering

    woocommerce/templates/loop/add-to-cart.php

    I´m no coder so the only Thing I know for now is that I can´t just insert a [swpm_protected] before the button is being made, since it´s not processed.

    Any help on that one would be much appreciated!

    November 22, 2017 at 4:08 am #12548
    mbrsolution
    Moderator

    Hi, there might be a way to achieve what you want.

    Try one of the following steps, creating-teaser-content-membership-site or apply-partial-section-protection. Let me know if any of these steps help you.

    Kind regards

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

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy