- Posts: 14
- Thank you received: 1
Download posible after x days of completion
12 years 10 months ago #131593
by vlaspo
Download posible after x days of completion was created by vlaspo
-- url of the page with the problem -- :
www.air-learning.nl
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.2
-- PHP version -- : 5.3.10-1ubuntu3.8
I use Hikashop in combination with joomdle. In this everythink works fine and happy with the Hikashop as product.
In the current setup when a customer buy's his product he automatic enrol into the course. Seperate from that i is it also posible to download the course on PDF.
Now i want to create that the user can only download the course after a x days after completion of the purchase.
This is not something that is build in the standard configuration of Hikashop but my question is this simple to create?
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.2
-- PHP version -- : 5.3.10-1ubuntu3.8
I use Hikashop in combination with joomdle. In this everythink works fine and happy with the Hikashop as product.
In the current setup when a customer buy's his product he automatic enrol into the course. Seperate from that i is it also posible to download the course on PDF.
Now i want to create that the user can only download the course after a x days after completion of the purchase.
This is not something that is build in the standard configuration of Hikashop but my question is this simple to create?
Please Log in or Create an account to join the conversation.
12 years 10 months ago #131631
by nicolas
Replied by nicolas on topic Download posible after x days of completion
If you're a developer you can create a hikashop plugin and implement the onBeforeDownloadFile(&$filename, &$do, &$file) trigger to authorize or not the download of the file.
Please Log in or Create an account to join the conversation.
Time to create page: 0.152 seconds