News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Add price value placeholder variable on E-Mail Configuration for Downloads.

Started by ibrahim, 10.06.2022 21:45:58

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ibrahim

Hello! Is there any possibility to add the price value placeholder variable on the Email layout from jDownloads - Options - E-Mails?

Available placeholder variables are
{file_list} {ip_address} {date_time} {user_name} {user_group}

I tried Layouts placeholder variables but didnt work
{price_title} {price_value}
  •  

ColinM

HI
Which email?  Think the Inquiry one would be appropriate
Colin
Colin M
  •  

ibrahim

Hi ColinM! See attached screenshot to show you where I would include the variable price field {price_value} in the admin sent emails where subject: Information about new download
  •  

ColinM

Ibrahim,
That email is sent everytime a Download is downloaded! Not just when a new Download is added.

Hoewever it would be an extra facility if an email was sent when a new Download was available. So could you please add it to suggestions.

In reality this would not get done until we have sorted jD4

Colin
Colin M
  •  

ibrahim

Hi, thanks for quick response! I was trying to have on emails that sent every time a Download is downloaded.
Interesting to see jDownloads on Joomla 4 soon.
  •  

ColinM

Hi
I have looked at the code in more detail. 
The Download could be multiple files downloaded when using a layout with check boxes.

This gives an email like below.  So adding in extra items would be challenging.
The Upload email is only for uploads from the front end.

You could also show the price in the layout

Colin
----------------------------------------
Download Notice.

The following files were downloaded:

    70-one-of-uploader-s    Size: 20.46 KB
    File with long Name and tags-A1234567890B1234567890C1234567890D1234567890    Size: 25.82 KB
    ReadMe    Size: 651.66 KB
    Sample_Valve Box_Order_Form    Size: 165.25 KB



Date and time: 2022-06-12
Name: jd-testin-uploader
Usergroup: Registered, uploaderUG
User IP-Adress: 79.66.131.24

Please do not respond directly to this email as it is automatically generated and you will not receive a reply.
Colin M
  •  

ibrahim

On my site it sends mails for each download file, not multiple files in one mail.

QuoteYou could also show the price in the layout
Didn't understand how to show it?
  •  

ColinM

Ibrahim
I appreciate you are only concerned with your site but we need to consider the wider audience! :)
Yes your layout may only show one download but other users might be using layouts that have multiple Downloads so that would make the coding and specification 'interesting' with a lot of specific code.

What is wrong with showing the price in the layout?

Colin
Colin M
  •  

ibrahim

QuoteWhat is wrong with showing the price in the layout?
I speak about showing the price on download email notifications. Anyway, it's not important as you said it's a lot of specific code.
I will wait for Joomla 4 and add my request for suggestions.

Thanks for help  :)
  •