Home › Forums › WoodMart support forum › Wishlist button Wishlist button This topic has 4 replies, 3 voices, and was last updated 4 years, 1 month ago by Dmeljon. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts October 28, 2020 at 6:14 am #236680 biz.robiulParticipant I am using elementor pro and create a custom product details page but I can’t find anything for the wishlist button, So please provide me a shortcode for the wishlist button or tell me how to add this button to the product details page. October 28, 2020 at 7:03 am #236689 Artem TemosKeymaster Hello, Unfortunately, we don’t have a shortcode for the Wishlist button to be used in other places. Kind Regards November 4, 2020 at 9:54 am #238535 DmeljonParticipant i need this also, i can create a shortcode using this: <div class="woodmart-wishlist-btn wd-action-btn wd-wishlist-btn wd-style-text"> <a href="/product/simona-embroidered-dress-2/" data-key="15f83861b7" data-product-id="2262" data-added-text="Browse Wishlist"></a> </div> but i see that a unique data-key is being generated. is there a way to insert it using php? November 4, 2020 at 10:21 am #238548 Artem TemosKeymaster You can fill this attribute with the following PHP data-key="<?php echo esc_attr( wp_create_nonce( 'woodmart-wishlist-add' ) ); ?>" November 4, 2020 at 10:34 am #238557 DmeljonParticipant Awesome. Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to create new topics. Login / Register