link to product in notification emails fails

  • Posts: 64
  • Thank you received: 3
  • Hikashop Business
5 years 4 weeks ago #305166

-- 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

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
5 years 4 weeks ago #305180

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.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
5 years 3 weeks ago #305281

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.

The following user(s) said Thank You: seitenspieler

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
  • Hikashop Business
5 years 3 weeks ago #305356

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)?

Please Log in or Create an account to join the conversation.

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
5 years 3 weeks ago #305451

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.

The following user(s) said Thank You: seitenspieler

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
  • Hikashop Business
5 years 2 weeks ago #305524

Hi Nicolas,

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.070 seconds
Powered by Kunena Forum