Only show “login required popup” (not “successful/error notice popup”)
-
Hi,
I have two questions regarding the popup(s):
1. Show only one kind of Popup
Is it possible to only show the popup to guest users (, who are trying to add a product to wishlist),
and NOT to logged in users (when they add or remove a product from the list)?Here is a description of what I mean in a little more detail:
– The wishlist itself should only be visible to logged in users. (I checked/activated “Require Login” in the settings for that)
– Guests should see a popup notice, when they click on the “heart +” telling them they need to login/register to add products to wishlist. (checked “Show successful notice in popup” for that)
– However, logged in users should NOT see a pop up, when they add or remove a item from the wishlist. (I am using the “Heart +” Symbol, which changes to the “heart checkmark” symbol, and I find this effect as visual feedback to be sufficient.)
=> So basically, I want the pop-up function to only show as a “login/register popup”, when a guest tries to add an item to the wishlist.2. Change the Link(s) in the popups
2.1 Login Link:
The Login link now forwards to the account page. Is there a way of customizing that? (Or is there a hook, I could refer to in functions.php, in order to change that link?)2.2 View Wishlist Link:
I know that I can select a “Wishlist Page” in the general settings of the plugin. But since I have integrated the Wishlist into a tab of the account page, I can only select “domain.com/account” and not “domain.com/account/wishlist”. Is there a way to solve that?I hope, that somebody can help me out with that or point me into the right direction. Thanks!
Alex
- The topic ‘Only show “login required popup” (not “successful/error notice popup”)’ is closed to new replies.