Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum

[Help] Restrict the use of "Add to cart" button only to registered user

(14 posts) (5 voices)
  • Started 2 years ago by altered_sunset
  • Latest reply from admin
  • Possible Solutions (Related Topics):
    1. How to redirect users after clicking the add to cart button
    2. Problem using back button when items in eStore cart
    3. Fancy 5 display - add to cart button cut off
    4. eStore NextGen Gallery - Add to cart button doesn't show
    5. Add to Cart Button with Wishlist SKU code

Tags:

  • registered user
  • restrict
  • show buy button to registered user
  • WP eStore
« Previous12
  1. amin007
    Key Master

    It will be a good idea to add this in the eStore's extra shortcodes plugin (this way you are not modifying the core eStore plugin). You can add a new shortcode with the ability to have a fancy1 product display for a particular membership level. The implementation can go in the "eStore-extra-shortcodes.php" file.

    Posted 1 year ago #
  2. crowdis
    Member

    Ok also I cannot find the "eStore-extra-shortcodes.php" file but I assume that is because I still have the older version of eStore. Now that I know how to update that I will get that fixed.
    But basically so I can brief the .php programmer, they have to replicate one of the fancy display codes and place it into the "eStore-extra-shortcodes.php" file. Then just add an "if" statement which checks the membership level and displays the "Add to Cart" button only to signed in members.

    Posted 1 year ago #
  3. wpCommerce
    Moderator

    "eStore-extra-shortcodes.php" file is in the "eStore-extra-shortcodes" plugin folder(This is another plugin which enhances the features of eStore). You can download the plugin from here -

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    Posted 1 year ago #
  4. admin
    Key Master

    There is also this option:
    http://www.tipsandtricks-hq.com/forum/topic/full-store-page-but-restricting-add-to-cart-functionality-to-members-only

    Posted 1 month ago #

RSS feed for this topic

« Previous12

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin