Loop Shortcode Issue
-
I’m using a page builder and the shortcode isn’t displaying the Add to Wishlist heart/text.
This is what it’s outputting to the source code which appears to be incorrect and I’m not sure why:
<div class="yith-wcwl-add-to-wishlist add-to-wishlist-223 exists wishlist-fragment on-first-load" data-fragment-ref="223" data-fragment-options="{"base_url":"","in_default_wishlist":true,"is_single":false,"show_exists":false,"product_id":223,"parent_product_id":223,"product_type":"simple","show_view":false,"browse_wishlist_text":"Browse wishlist","already_in_wishslist_text":"","product_added_text":"Product added!","heading_icon":"fa-heart-o","available_multi_wishlist":false,"disable_wishlist":false,"show_count":false,"ajax_loading":false,"loop_position":"shortcode","item":"add_to_wishlist"}">
The double quotes within the double quotes are incorrect. On a loop item that’s working we should see the inside quotes ":
<div class="yith-wcwl-add-to-wishlist add-to-wishlist-265 wishlist-fragment on-first-load" data-fragment-ref="265" data-fragment-options="{"base_url":"","in_default_wishlist":false,"is_single":false,"show_exists":false,"product_id":265,"parent_product_id":265,"product_type":"simple","show_view":false,"browse_wishlist_text":"Browse wishlist","already_in_wishslist_text":"","product_added_text":"Product added!","heading_icon":"fa-heart-o","available_multi_wishlist":false,"disable_wishlist":false,"show_count":false,"ajax_loading":false,"loop_position":"before_image","item":"add_to_wishlist"}">
Any idea why this is happening?
The page I need help with: [log in to see the link]
- The topic ‘Loop Shortcode Issue’ is closed to new replies.