I have added an ACF field to products in WooCommerce to store PDFs for reading samples. This works without any problems. I load the file link via L&L on the product pages and then build a shortcode for viewing the reading sample.
Now I would like to load the link to the latest reading sample on a normal page. So I would have to start a loop, isolate the newest product and then read the ACF field? Or am I wrong?
Unfortunately I don’t get any result. What is the reason for this? Is it because the field is on a product page? Do you have a solution for me? That would be great!
Thank you very much and best regards,