Show download links in account history?
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!
-
- Posts: 4
- Joined: 14 Aug 2018, 15:09
Show download links in account history?
Hi, I'm trying to get the download links for products on account history, I made all the checkout process but not get it, I read that the links are store in mshop_order_base_service_attr with type download, but there is nothing about it.
Any help?
thanks
Any help?
thanks
Re: Show download links in account history?
Only the file you add in the "Download" sub-panel of the product detail view will be added to the order and can be downloaded after a successfull order:
https://aimeos.org/docs/User_Manual/Adm ... s#Download
https://aimeos.org/docs/User_Manual/Adm ... s#Download
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 4
- Joined: 14 Aug 2018, 15:09
Re: Show download links in account history?
Hi, Yes I added a pdf file to the Download tab, and make all the checkout process, the order is received but the download link is still missing, even running the cronjob "order/email/payment" I got the confirmation email but without Download link.
Any idea ?
Thanks
Any idea ?
Thanks
Re: Show download links in account history?
The payment status of the order must be "received" for the download link to be shown
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 4
- Joined: 14 Aug 2018, 15:09
Re: Show download links in account history?
Yes, the payment status is already "received", but the download link is still missing.
Can you tell me where is this validation set??
Can you tell me where is this validation set??
Re: Show download links in account history?
Here are the links to the code where the checks happen:
- https://github.com/aimeos/ai-client-htm ... se.php#L78
- https://github.com/aimeos/ai-client-htm ... d.php#L170
- https://github.com/aimeos/ai-client-htm ... d.php#L272
- https://github.com/aimeos/ai-client-htm ... se.php#L78
- https://github.com/aimeos/ai-client-htm ... d.php#L170
- https://github.com/aimeos/ai-client-htm ... d.php#L272
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 4
- Joined: 14 Aug 2018, 15:09
Re: Show download links in account history?
The download should be in the mshop_order_base_service_attr table, right?? when is added to this table that record??
Re: Show download links in account history?
The link will be in mshop_order_base_product_attr and is added when the basket is stored (after the summary page).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star