How To Use Shortcode as Product Download Link
-
I’m trying to automate product download links based on the SKU and a hard-coded S3 Bucket URL.
I’ve got a Shortcode that does this and when I use it in the content field it outputs the correct URL.
Adding it as a product download link just outputs https://mysite.com/%5Bmy-shortcode%5D as the link in “My Downloads”.
I’ve looked around and from what I can tell, there are provisions made in WooCommerce to account for shortcodes as download links. E.g. https://github.com/woothemes/woocommerce/commit/82ac0fc11ec873522a87b4e1949983c3583921df
Is there something further that I need to do to ensure the shortcodes are actually parsed?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How To Use Shortcode as Product Download Link’ is closed to new replies.