• Resolved chetanhit

    (@chetanhit)


    Can I hide add to cart option for few category, for e.g. Suppose I have 18 category and I want to hide add to cart option on 6 categories, and the rest should have add to cart option, Can I do that?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP Scripts

    (@wpscripts)

    Hello @chetanhit

    There is no option for the particular functionality. But if you really don’t want to put those category items for sale you can temporarily make those items out of stock. That will automatically put on Out of stock on frontend.

    And using the filter, “wfs_empty_stock_button_text” you can use blank text instead of showing out of stock.

    I hope this helps. But do let us know your exact requirement, why do you want to remove add button for those, we might come up with a permanent solution.

    Regards,
    Team WP Scripts

    Thread Starter chetanhit

    (@chetanhit)

    Actually I have 2 menus on website one only for the display and the other for online sales, so for only display menu I don’t want to show add to cart, so is there any permanent solution?

    Plugin Author WP Scripts

    (@wpscripts)

    Hello,

    If the 2nd menu items are only for display, then you can make them out of stock and use the solution as I explained above. Sorry, but there is no other solution available for now.

    Regards,
    Team WP Scripts

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Add to cart on some category’ is closed to new replies.