Add To Wishlist Option Not Displayed For Products from Custom Query
-
I have activated the option to display the wishlist option in the loop.
To display the Add To Wishlist icon, I use the shortcode
[yith_wcwl_add_to_wishlist]
.When I visit the shop page (it uses default query) the icon is displayed correctly.
When the user clicks on a category, an ajax call is performed; here, the server executes a
new WP_Query()
according to the filters the user has provided.Upon printing the products from the loop, the icon is not displayed. However, I see that the shortcode executed, as the parent container
<div class="yith-wcwl-add-to-wishlist...></div>
is there. The child that actually contains the icon is missing.Am I missing something or is this default behavior? Thanks in advance!
- The topic ‘Add To Wishlist Option Not Displayed For Products from Custom Query’ is closed to new replies.