Shortcode with Wishlist page URL?
-
Hello,
I’m a theme developer and need the URL of the page that the user has set for the wishlist page to link to it via an icon in the header.
I found the list of shortcode at https://yithemes.com/docs-plugins/yith-woocommerce-wishlist/02-shortcode.html but the shortcode wishlist_url is not replaced by anything when I use it in my php file with echodo_shortcode('[wishlist_url]');
. I just see [wishlist_url] but not the URL.
How can I get the link?And another question: I want to add an little icon to every productimage on the product stream (product overview) page that adds the product to the wishlist when the icon is clicked. How can that be done without requiring the theme owner to set the “add to wishlist” position to “shortcode” in the plugins settings?
I would probably need to check if the product is already added (exists shortcode) and if not show the icon and apply the function to add it to the linked icon. But which shortcode does the “add function”?Thanks in advance,
Felixhttps://www.ads-software.com/plugins/yith-woocommerce-wishlist/
- The topic ‘Shortcode with Wishlist page URL?’ is closed to new replies.