• Resolved gplifedecor

    (@gplifedecor)


    Hi,

    Im using woocommerce and maxbuttons.
    On products page I have 2 buttons, one for whatsapp and one for email (more information).
    I would like to put on email’s body the link of product that the user want more info.
    Is it possible? If so, how can I do that?

    Regards
    Fernando

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    You can use the mailto: link to add additional fields, see this guide for more.

    Note that not everybody might have an email client where this might work on.

    Thread Starter gplifedecor

    (@gplifedecor)

    But each page of my store has a specific url so I dont know how to do this using your plugin. My idea is the plugin capture the url and insert on body’s email automatically.

    Plugin Author Bas Schuiling

    (@basszje)

    There are two options for doing something like that

    1) On every product page add the url to the shortcode like : [maxbutton id=x url=”mailto:[email protected]?subject=https://example.com”]

    2) Put the shortcode in the template and add the information there via PHP. You can use the do_shortcode function for that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dynamic Body’ is closed to new replies.