Problem:
I would like to display the downloadable files that are associated with a WooCommerce product using Layouts (I've created a custom layout for the product). I've found the _downloadable_files custom field, which displays the file names, but adding an Add to Cart button creates nothing (no add to cart button, no download button). Please advise.
Solution:
There isn't such a built-in feature within Toolset plugins, I have tested it in my localhost:
Woocommerce plugin is using a custom field "_downloadable_files" to store the downloadable file information, the field value is in serialized array format, so it needs custom codes to convert it to shortcodes to links, see details here:
Relevant Documentation:
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
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 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
This topic contains 4 replies, has 2 voices.
Last updated by 5 years, 12 months ago.
Assisted by: Luo Yang.