- Posts: 64
- Thank you received: 3
link to product in notification emails fails
- seitenspieler
-
Topic Author
- Offline
Less
More
7 years 6 months ago #305166
by seitenspieler
link to product in notification emails fails was created by seitenspieler
-- url of the page with the problem -- :
picton.place
-- HikaShop version -- : 4.0.3
-- HikaAuction version -- : 3.0.0
-- Joomla version -- : 3.9.4
Hi there,
I have created a product for the auction and made a few test bids. The product has an authorized URL. Everything works very well, but the link to the product in the confirmation email leads to my 404 page.
Here are the settings and some other screenshots:
You see the URL here.
The link in the email is:
www.picton.place/index.php?option=com_hi...B%5D=324&Itemid=1025
leads to:
Beside that: When auction is finished, there is a link to checkout in the confirmation email. It works well, when the user is logged in, but it is not in his/her cart. Is it possible to put the auction-product in the winner's cart ? The reason, why i'd liked that is: When a user is not logged in, he is redirected to my login-page and he don't come back to the checkout page unless he click the link in the email again.
greetings
Peter
-- HikaShop version -- : 4.0.3
-- HikaAuction version -- : 3.0.0
-- Joomla version -- : 3.9.4
Hi there,
I have created a product for the auction and made a few test bids. The product has an authorized URL. Everything works very well, but the link to the product in the confirmation email leads to my 404 page.
Here are the settings and some other screenshots:
You see the URL here.
The link in the email is:
www.picton.place/index.php?option=com_hi...B%5D=324&Itemid=1025
leads to:
Beside that: When auction is finished, there is a link to checkout in the confirmation email. It works well, when the user is logged in, but it is not in his/her cart. Is it possible to put the auction-product in the winner's cart ? The reason, why i'd liked that is: When a user is not logged in, he is redirected to my login-page and he don't come back to the checkout page unless he click the link in the email again.
greetings
Peter
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
7 years 6 months ago #305180
by Mohamed Thelji
Replied by Mohamed Thelji on topic link to product in notification emails fails
Hello Peter,
Thank you for your feedback, we'll reproduce it on our end and improve it as soon as possible !
Kind regards,
Mohamed Thelji.
Thank you for your feedback, we'll reproduce it on our end and improve it as soon as possible !
Kind regards,
Mohamed Thelji.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
7 years 6 months ago #305281
by Mohamed Thelji
Replied by Mohamed Thelji on topic link to product in notification emails fails
Hello,
We just added a patch through the last HikaAuction version, can you download it through our website, install it and test it again ? Thank you.
Kind regards,
Mohamed Thelji.
We just added a patch through the last HikaAuction version, can you download it through our website, install it and test it again ? Thank you.
Kind regards,
Mohamed Thelji.
The following user(s) said Thank You: seitenspieler
Please Log in or Create an account to join the conversation.
- seitenspieler
-
Topic Author
- Offline
Less
More
- Posts: 64
- Thank you received: 3
7 years 6 months ago #305356
by seitenspieler
Replied by seitenspieler on topic link to product in notification emails fails
Thanks Mohamed,
great job, works perfect!
a 2nd ask: Is there an easy way to change the username into the real name (in the first line of message)?
great job, works perfect!
a 2nd ask: Is there an easy way to change the username into the real name (in the first line of message)?
Please Log in or Create an account to join the conversation.
7 years 6 months ago #305451
by nicolas
Replied by nicolas on topic link to product in notification emails fails
Hi,
If you edit the email via the menu System>Emails of HikaShop, you can see in the preload section of the email the code:
'HI_USER' => JText::sprintf('HI_CUSTOMER',@$data->user->username),
So you can potentially change that code to use other fields of the customer account.
For example, instead of "username" you can use "name" which is the name of the Joomla user account.
However, if you want to use the firstname and the lastname of the customer in his default billing address, that's more complex as you need to first load the address data from the database with a MySQL query before you can use it. It would require a bit of coding.
If you edit the email via the menu System>Emails of HikaShop, you can see in the preload section of the email the code:
'HI_USER' => JText::sprintf('HI_CUSTOMER',@$data->user->username),
So you can potentially change that code to use other fields of the customer account.
For example, instead of "username" you can use "name" which is the name of the Joomla user account.
However, if you want to use the firstname and the lastname of the customer in his default billing address, that's more complex as you need to first load the address data from the database with a MySQL query before you can use it. It would require a bit of coding.
The following user(s) said Thank You: seitenspieler
Please Log in or Create an account to join the conversation.
- seitenspieler
-
Topic Author
- Offline
Less
More
- Posts: 64
- Thank you received: 3
7 years 6 months ago #305524
by seitenspieler
Replied by seitenspieler on topic link to product in notification emails fails
Hi Nicolas,
i made the modification in the preload section and it works perfect for me
Thanks for your support.
Peter
i made the modification in the preload section and it works perfect for me
Thanks for your support.
Peter
Please Log in or Create an account to join the conversation.
Moderators: Mohamed Thelji
Time to create page: 0.217 seconds