• I have to hide the possibility to buy for not logged in users (whole domain or store)

    Ex:
    If a user is NOT logged in (don’t have an account) then the cart button etc will not show. Sees only a link “See store locator list”.

    Only if user logged in will they show prices and button “Buy” and they will have the opportunity to purchase.

    example code
    if(is_user_logged_in()

    if(is_user_NOT_logged_in()
    Show “See store locator list” with page URL.

    How to do it?
    Please could someone help?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing the Purchase Button – Woocommerce’ is closed to new replies.