Add Single Product Page Dynamic Button
-
Hello,
I have analysis documents (such as certificates) for the products I sell. I would like to add a dynamic button on the single product pages that allows customers to view the related document for each product.
Ideally, I want to upload these documents through the WooCommerce product edit screen, so the solution needs to be dynamic. I know how to customize single product pages, but I couldn’t figure out which component or widget to use for this purpose.
Could you please advise me on the best and easiest way to implement this feature?
The files I want to upload will be in .pdf or .webp format.
Thank you in advance for your support!
Attachments:
You must be
logged in to view attached files.
Hello,
Unfortunately, there is no such option by default in our theme. You need to find a third-party plugin to achieve more functionality that best suits you. https://wordpress.org/plugins/advanced-custom-fields/
Best Regards,