Navigation überspringen

[Gelöst] custom shortcode not working on conditional

This support ticket is created vor 4 years, 7 months. There's a good chance that you are reading advice that it now obsolete.
Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Zeitzone des Unterstützers: Africa/Casablanca (GMT+01:00)

Dieses Thema enthält 0 reply, hat 1 Stimme.

Zuletzt aktualisiert von jelle-jacobd vor 4 years, 7 months.

Assistiert von: Jamal.

Author
Artikel
#1917295

Ik having some trouble getting this wpv-conditional statement to work.

Materiaal armatuur
: [show-product-attribute attribute="pa_materiaal-armatuur"][wpv-conditional if="('[show-product-attribute attribute="pa_materiaal-armatuur"]' eq '' )"][wpv-post-taxonomy type="pa_materiaal-armatuur" format="name"][/wpv-conditional]

This part: [wpv-post-taxonomy type="pa_materiaal-armatuur" format="name"]

Should only be shown if the first part is empty or has no value: [show-product-attribute attribute="pa_materiaal-armatuur"]

Hat I'm trying tot is only show the value from a variation for a specific attribute if available. If not shown the parent data for this attribute.