Pulling data from a related Woo Commerce product
-
Hi,
I’m currently using a relationship Pods field on a project. That relationship ties a custom post to a Woo Commerce product. Then through a Pods template, I can pull through data from the related product such as title, stock, price and permalink.
However, I am having trouble pulling through the product image. I’m not sure if this is possible using the Pods magic tags. I have managed to pull through the thumbnail ID of the related product using
{@related_product._thumbnail_id}
but I can seem to pull a image permalink (which would be good enough as I could simply add it to an tag.I know the data I have pulled through so far is basic text fields so I wanted to know if it was possible to pull through more advanced fields such as a product image or product description using magic tags in a Pods template?
Any advice is much appreciated
Adam
The page I need help with: [log in to see the link]
- The topic ‘Pulling data from a related Woo Commerce product’ is closed to new replies.