[resolved] Change the content within {DOWNLOADS} tag in email (4 posts)

  1. lukepickering
    Posted 3 years ago #

    I have a client who wants to change the conformation email but the way he wants to change it means I need to ammend what the {DOWNLOADS} tag actually renders.

    So rather than

    --------------- DOWNLOAD DETAILS ---------------
    These are available for download via:
    Email: customer@email.com
    Code: nMcQ2u5BEL

    He wants it to render as

    --------------- DOWNLOAD DETAILS ---------------
    Download your product (s) in three simple steps:
    1: Copy this code: (CODE SHOULD GO HERE)
    2: Click this link and paste your code (link to download)
    3: Click 'download'

    Which means I need to be able to unpick the contents of the {DOWNLOAD} tag. I'm pretty competent on the code side, I just can't find where this piece of code is located.

    Any ideas?


  2. esmi
    Forum Moderator
    Posted 3 years ago #

    This would involve a MAJOR hack of the eShop plug-in as the customer's details are handled via a post form - not _GET variables (which is what you seem to want to do). In short, it's not suitable for this.

  3. elfin

    Plugin Author

    Posted 3 years ago #

    actually.. there maybe hooks in there to allow you to add other codes to the email, have a look at the eShop extras plugin: http://quirm.net/eshop-add-ons/

    Plus, you can construct a new downloads shortcode, preferably called something else, that you can use in it's place. That might allow you to do what you want.

    Remember: Don't edit the core code use a small extra plugin instead.

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    As there has not been an update to this topic for a while, I can only assume that the issue has now been resolved and I am now marking it as such. If this is incorrect, please feel free to change the topic's status and/or post a followup.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic