downloadlink in email for digital products
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
downloadlink in email for digital products
Hi,
I am a bit stuck with below two points regarding the downloadlink for digital products. Hopefully you can guide me in the right direction again.
Question 1: I have multiple testsites on my local Xampp installation. This includes an Aimeos webshop with hostname "localaimeos".. When a customer orders a digital product, an email is sent with the download link.
- In the email the download link is always prefixed with "localhost":
http://localhost/localaimeos/profile/download/24
- In the order confirmation webpage this is not the case, there is shows correctly:
http://localaimeos/profile/download/23
How can I change the downloadlink shown in the email, to show the same link as in the confirmation page?
Question 2: Is it possible to have the email downloadlink to work without logging in? In my current Woocommerce shop the customer can just click on the link without being required to log in. I like because this way they are not required to create a password etc..
installed versions:
Laravel: 7.28.3
Aimeos: 2020.07
PHP: 7.2.29
Thanks!
I am a bit stuck with below two points regarding the downloadlink for digital products. Hopefully you can guide me in the right direction again.
Question 1: I have multiple testsites on my local Xampp installation. This includes an Aimeos webshop with hostname "localaimeos".. When a customer orders a digital product, an email is sent with the download link.
- In the email the download link is always prefixed with "localhost":
http://localhost/localaimeos/profile/download/24
- In the order confirmation webpage this is not the case, there is shows correctly:
http://localaimeos/profile/download/23
How can I change the downloadlink shown in the email, to show the same link as in the confirmation page?
Question 2: Is it possible to have the email downloadlink to work without logging in? In my current Woocommerce shop the customer can just click on the link without being required to log in. I like because this way they are not required to create a password etc..
installed versions:
Laravel: 7.28.3
Aimeos: 2020.07
PHP: 7.2.29
Thanks!
System info:
Running Aimeos Laravel: 2022.10
Laravel Framework 9.52
Almalinux
PHP 8.1
Re: downloadlink in email for digital products
You have to change the APP_URL setting in your .env file.IOU42 wrote: 30 Sep 2020, 10:03 Question 1: I have multiple testsites on my local Xampp installation. This includes an Aimeos webshop with hostname "localaimeos".. When a customer orders a digital product, an email is sent with the download link.
- In the email the download link is always prefixed with "localhost":
http://localhost/localaimeos/profile/download/24
- In the order confirmation webpage this is not the case, there is shows correctly:
http://localaimeos/profile/download/23
How can I change the downloadlink shown in the email, to show the same link as in the confirmation page?
At the moment this isn't possible without customization.IOU42 wrote: 30 Sep 2020, 10:03 Question 2: Is it possible to have the email downloadlink to work without logging in? In my current Woocommerce shop the customer can just click on the link without being required to log in. I like because this way they are not required to create a password etc..
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
Re: downloadlink in email for digital products
Thanks, but that does not work somehow. In ENV file APP_URL was already set at "localaimeos", but in the email localhost is prefixed to the downloadlink, resulting in "http://localhost/localaimeos/".You have to change the APP_URL setting in your .env file.
installed versions:
Laravel: 7.28.3
Aimeos: 2020.07
PHP: 7.2.29
System info:
Running Aimeos Laravel: 2022.10
Laravel Framework 9.52
Almalinux
PHP 8.1
Re: downloadlink in email for digital products
Make sure, your .env file contains:
Code: Select all
APP_URL=http://localaimeos/Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
Re: downloadlink in email for digital products
Thanks you very much. Problem solved.
System info:
Running Aimeos Laravel: 2022.10
Laravel Framework 9.52
Almalinux
PHP 8.1