XStore – Private Categories or None

This topic has 8 replies, 3 voices, and was last updated 6 years, 2 months ago ago by Rose Tyler

  • Avatar: ygayle
    ygayle
    Participant
    February 13, 2018 at 00:34

    Hi there,

    I’m trying to setup my store in such a way where individual customers can only see the products I make for them. I can create a page only showing specific products with no problem. However, once the potential customer clicks on the product and is brought to the actual “Product page,” if they click on the “Category” on that page, they are brought to a page where they can select any category I have created, which will lead them to other products.

    If I do not select a category when creating the product, “uncategorized” gets chosen automatically. Either way, whether I choose a category or not, once a category is selected, all products can be navigated to. I’m looking for a more private option.

    Ideally, I’d like for them to be able to click on the category their products are selected under and ONLY see the products I’ve created under that category with NO OPTION to click on any other category. If this is not possible, would it then be possible to remove the ability to select categories altogether?

    I know there are plugins that can be used to make certain pages private. However, I don’t believe that works for categories. Also, I’m trying to avoid forcing customers to login prior to their purchase as the need for someone to “register” may lead to a decision not to make the purchase. Please advise.

    Thanks,
    Yohan

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 13, 2018 at 16:06

    Hello,

    Read this post https://www.metrilo.com/blog/private-woocommerce-stores-sell-customer-specific-products/
    I suppose the best solution for you will be the Memberships or Groups for WooCommerce plugins.
    If you don’t want to use plugin you may contact WPKraken team for individual customization because there is no other “out of box” solutions for this.

    Regards

    Avatar: ygayle
    ygayle
    Participant
    February 14, 2018 at 05:02

    Thanks for the quick response Olga.

    I did some searching online today and found a couple of, what should be easy fixes.

    1) To remove the action for meta data on the product page through a hook, by adding the following code to the functions.php file.

    remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_meta’, 40 );

    I tried this, first in the functions.php file under the child theme that I’m using, then instead under the main one, just in case. Neither worked.

    2) I then tried a different approach to hide product meta using CSS:

    .product_meta .tagged_as {
    display:none;

    This did not work either.

    From what I’ve read these should really be easy fixes. Could there be something in the theme preventing/overriding either of these 2 fixes from working?

    Thanks!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 14, 2018 at 10:40

    Hello,

    Please provide link to your site and screenshot for better understanding desired result.

    Regards

    Avatar: ygayle
    ygayle
    Participant
    February 14, 2018 at 14:08
    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 14, 2018 at 14:25

    Hello,

    Please add this code in Theme Options > Styling > Custom css or in style.css file of child theme:

    .single-product .product-information .products-page-cats {
        display: none;
    }

    “Show product name above the price” option can be activated in Theme Options > E-commerce > Single Product Page.
    Also, you may use such screenshot maker as Lightshot and provide screenshot link in Private Content.

    Regards

    Avatar: ygayle
    ygayle
    Participant
    February 14, 2018 at 15:05

    That did the trick! Thank you very much for your efforts!!!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 14, 2018 at 15:14

    You’re welcome!
    This topic will be closed because the issue is solved. Please kindly open up new tickets for additional questions.
    Have a nice day.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘XStore – Private Categories or None’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.