Support

Account

Home Forums General Issues File field type in Woocommerce

Helping

File field type in Woocommerce

  • Hi there,

    Curious if this is something that is possible:

    I’m using the file field to let my client upload documents in the backend to Woocommerce products. I’m displaying them in the frontend so that his customers can download the documents on the product pages.

    Could it be possible to get a notification when someone downloads the file in the frontend?

  • Hi @dotcircle

    I would add some hot JS action onto the link. When the user clicks that link, you could use wp AJAX api (https://codex.wordpress.org/Plugin_API/Action_Reference/wp_ajax_(action)) to fire off an email to your client.

    This isn’t really an ACF specific question – so if you have any further questions, I would try asking it on a WordPress forum. You may get better/faster help!

    Phil

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘File field type in Woocommerce’ is closed to new replies.