-
Wordpress Savoy e-commerse theme enable/disable button
over 9 years ago
-
over 8 years ago
Please add the button html or creation code inside the following code to enable button only if the user is logged in.
single_add_to_cart_text(); ?>
is_user_logged_in (){ //create button here }
In your case , it should be like following snippet :
And for message display on hover, you can use tool tip..Just put the title to the buttton. and it will display on page as a tool tip when user hover on the button..single_add_to_cart_text(); ?>
-
1 Answer(s)