Hello,
AI started with the following:
[wpv-conditional if="( '[wpv-taxonomy-archive info='description']' ne '' )"]
Which works if there are not special characters, but a description that contains an apostrophe breaks my conditional.
I found a lot of variations, and I have tried more of them. The following is an example of one:
[wpv-conditional if="('[types termmeta='mar-product-cat-desc' output='raw'][/types]' ne '')"]
I created a custom term field to replace the default product category description.
I also tried:
[wpv-conditional if="( $(wpcf-mar-product-cat-desc) ne '')"]
I am currently informing my client to not use special characters in their descriptions, but I'd like to get this working.
Please advise.
Thanks!
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
This is known issue to us and there is no workaround available for now.
Please check the following errata page for more details.
=> https://toolset.com/errata/conditionals-including-special-characters-might-fail/
However, I just checked the internal ticket and I can see our Devs is suppose to offer a way to fix this and the fix is proposed but not added to current release yet. I will get back to you once I see the fix is added to in near future release.
Thank you Minesh. I will look forward to the release of this fix.