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.
[Help] Restrict the use of "Add to cart" button only to registered user
(14 posts) (5 voices)-
Posted 1 year ago #
-
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 # -
"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 # -
There is also this option:
http://www.tipsandtricks-hq.com/forum/topic/full-store-page-but-restricting-add-to-cart-functionality-to-members-onlyPosted 1 month ago #
Reply
You must log in to post.