WPIntell

Source evidence

Shortcode not working in product loop

Wishlist and Save for later for Woocommerce · support · 2024-07-15T07:06:00+00:00

mixedsentiment
mediumseverity
0.66relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 31 rows with source links

9.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
marcizus resolved
Hello, wishlist shortcode is not working in any product loop using gutenberg block. Please advise. We apologize for the inconvenience. Can you please share a screenshot of the setting where you added the shortcode? This is in homepage, showing featured products: https://prnt.sc/f6D5T8d2ir60 Same on any other product loop block in any custom page. Hi, thanks for sharing the screenshot. We think the global ID part of the product loop is not available in the Gutenberg block query loop. Can you check the following code is working. Thanks! Hello, the code worked perfectly. One more thing – is there any shortcode attributes to display only heart icon without any text? Hi, currently there is no shortcode option available for hiding the text. But you can use CSS style to hide them. Hope you can do this from your end or share the page URL so that we can suggest the required CSS style. Thanks!

Comments

5 shown
Sanesh Acowebs 2024-07-15T09:13:00+00:00

We apologize for the inconvenience. Can you please share a screenshot of the setting where you added the shortcode?

marcizus 2024-07-15T11:58:00+00:00

This is in homepage, showing featured products: https://prnt.sc/f6D5T8d2ir60 Same on any other product loop block in any custom page.

Sanesh Acowebs 2024-07-17T06:19:00+00:00

Hi, thanks for sharing the screenshot. We think the global ID part of the product loop is not available in the Gutenberg block query loop. Can you check the following code is working. Thanks!

marcizus 2024-07-17T06:37:00+00:00

Hello, the code worked perfectly. One more thing – is there any shortcode attributes to display only heart icon without any text?

Sanesh Acowebs 2024-07-17T07:01:00+00:00

Hi, currently there is no shortcode option available for hiding the text. But you can use CSS style to hide them. Hope you can do this from your end or share the page URL so that we can suggest the required CSS style. Thanks!