scottbboss
Forum Replies Created
-
Many thanks vaakash, that has solved the problem!
Thanks for your prompt reply.
We are using products for the ACF field, and yes the product does indeed have the ProductSKU set.
On this example, the “Fire Test Certificate” Download button executes the Shortcoder shortcode:
Expected behaviour is that the URL of the button would be https://siteurl.com/documents-request?ProductSKU=FF-120-MD-BF-FL which would then populate our form on that page.
However for some reason $$custom_field:ProductSKU$$ isn’t being executed.I made another Shortcoder snippet, this time with the code being:
https://siteurl.com/documents-request?SKU=$$custom_field:ProductSKU$$
I put the Shortcoder code into the product’s description and this isn’t working either. It’s almost like Shortcoder can’t find the relevant ACF field for the product.
Edit: I added a button below the description which will use the ACF Field for ProductSKU as the button text. This works – which just makes me wonder why $$custom_field:ProductSKU$$ doesn’t.
Front-end:
Hopefully this makes a bit more sense. Happy to provide back-end access if you need to take a look.
- This reply was modified 1 year, 1 month ago by scottbboss.
Hi Christian,
Many thanks for the prompt reply and for the conflicts list. I will disable that plugin now.
Thank you!