[Skip to main content](#vessel-content)

#   Download free product after ordering

##

- **[wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")**
- [![wirthconsulting's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-03.png)](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile") Topic Author
- [ Offline](/forum/user/3837-wirthconsulting)

Less More

- Posts: 29
- Thank you received: 2
-
-

14 years 10 months ago [\#32670](#32670) by [wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")  *[Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#32670 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")* was created by *[wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")*

Hi,

We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.

We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.

I reviewed this forum post [ www.hikashop.com/en/support/forum/2-gene...l-products.html#7400](http://www.hikashop.com/en/support/forum/2-general-talk-about-hikashop/5440-sales-of-digital-products.html#7400) which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.

The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.

After checking this file it already has the required line

> if($this-&gt;order\_status\_download\_ok \|\| bccomp($product-&gt;order\_product\_price,0,5)==0){

However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying "Order status does not permit download".

How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?

Thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

14 years 10 months ago [\#32694](#32694) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#32694 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Indeed that won't work because the status of the order is not changed to "confirmed".

Here is a plugin that you can use to confirm automatically free orders. That should solve your problem.

####  *This attachment is hidden for guests.
Please log in or register to see it.*

The following user(s) said Thank You: [wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")**
- [![wirthconsulting's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-03.png)](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile") Topic Author
- [ Offline](/forum/user/3837-wirthconsulting)

Less More

- Posts: 29
- Thank you received: 2
-
-

14 years 10 months ago [\#32755](#32755) by [wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")  Replied by *[wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#32755 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

You are a star - this is perfect - thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")**
- [![zebrafilm's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-02-01.png)](/forum/user/6308-zebrafilm "View zebrafilm's Profile")
- [ Offline](/forum/user/6308-zebrafilm)

Less More

- Posts: 187
- Thank you received: 10
-
-

14 years 6 months ago [\#45269](#45269) by [zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")  Replied by *[zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#45269 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Guys, pleas help me out.

The validate free.. is exactly what makes my testing a lot easier but I can't find the right way to use it....

I have installed it and it is enabled in the plugins but then?
Can't find any hint of it anywhere in HIKA.....

Do I need to set something or is it suppose to work 'invisible'?

In that case it is not working for me.

I was hoping I could setup a product, lets say E-book for 5 euro as download, give myself a coupon code of 100% discount and test the whole process.

Bastiaan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

14 years 6 months ago [\#45404](#45404) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#45404 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Indeed once installed and published it will work automatically by validating the orders when they are created with a price of 0.
If it doesn't work, either the plugin is not published or the order price is not 0.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")**
- [![zebrafilm's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-02-01.png)](/forum/user/6308-zebrafilm "View zebrafilm's Profile")
- [ Offline](/forum/user/6308-zebrafilm)

Less More

- Posts: 187
- Thank you received: 10
-
-

14 years 6 months ago [\#45429](#45429) by [zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")  Replied by *[zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#45429 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

I assume it is working because status is set to 'confirmed' but I installed the plugin because I was under the impression that changing the order status would also send out the email to my client with the download link. That does not happen.

Related: in the backend I have to specifically switch on the 'notify customer' to get that email out. Wish there was an option to set it to default 'on' and hopefully the plugin starts to send out emails than too.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

14 years 6 months ago [\#45437](#45437) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#45437 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

It's the order creation email which is sent at that time and it does not include the download links.
That will be available in next release of HikaShop.

The following user(s) said Thank You: [tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile"), [zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")**
- [![zebrafilm's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-02-01.png)](/forum/user/6308-zebrafilm "View zebrafilm's Profile")
- [ Offline](/forum/user/6308-zebrafilm)

Less More

- Posts: 187
- Thank you received: 10
-
-

14 years 6 months ago [\#45439](#45439) by [zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")  Replied by *[zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#45439 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Thats great news, love to make HIKAshop my standard component but download links and proper invoicing are high on the list ![:-)](/media/kunena/emoticons/9.png ":-)") and keeping me from using it at the moment.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")**
- [![tspielmann's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5280.jpg)](/forum/user/5280-tspielmann "View tspielmann's Profile")
- [ Offline](/forum/user/5280-tspielmann)

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 6 months ago [\#45559](#45559) by [tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")  Replied by *[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#45559 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Waiting impatiantly for this ! Do you have any idea about the timeframe?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

14 years 6 months ago [\#45691](#45691) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#45691 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Note that the download link in the confirmation email is already in HikaShop. And it should be what most of the users of HikaShop use.
The download link in the creation email is an edge case that will be in the next version to be released in a month or so.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")**
- [![tspielmann's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5280.jpg)](/forum/user/5280-tspielmann "View tspielmann's Profile")
- [ Offline](/forum/user/5280-tspielmann)

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 6 months ago [\#45703](#45703) by [tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")  Replied by *[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#45703 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Nicolas,

(bare with me, it's my first hika installation)
I have free products (electronic) which should be "purchased", so I have the customer details at the end.
after "buying" the product, the email is sent out immediately though the plugin you published.
The customer now is awaiting immediately a download link, but this is only sent in the following (manual) email. Am I in sync with what you wrote, or can i accomplish this already in the current version?
Many thanks,
Torsten

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

14 years 6 months ago [\#45873](#45873) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#45873 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

That plugin changes the status of the order from created to confirmed automatically if the order is free. Thus, you get two emails whent hat plugin is activated: one for the creation of the order and a second one for the confirmation of the order. It's that second email which has the links in it.
So yes, you should be able to accomplish what you want with the current version and that plugin already.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")**
- [![tspielmann's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5280.jpg)](/forum/user/5280-tspielmann "View tspielmann's Profile")
- [ Offline](/forum/user/5280-tspielmann)

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 6 months ago [\#46064](#46064) by [tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")  Replied by *[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#46064 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

hello,
can it be, that this plugin is no loger working since the last hikashop update? I recall it worked in a demo install earlier, but now i tried it on two installs without success with the most recent hika version.

I just installed hika on a new demo site, plugin is enabled, status is set to confirmed in the order automatically, but the confirmation email to the customer with the DL link is never sent? (only order creation email is sent to customer email)

Many thanks,
Torsten

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

14 years 6 months ago [\#46069](#46069) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#46069 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

What I wrote in my previous message is wrong.

That plugin only changes the status of the order while it is created. So there is no second email sent.
And since that first email doesn't contain any code to display the download links, it's normal that you get that result.
In next version of HikaShop, we'll change that creation email so that the links are added to the email if the order is confirmed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")**
- [![tspielmann's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5280.jpg)](/forum/user/5280-tspielmann "View tspielmann's Profile")
- [ Offline](/forum/user/5280-tspielmann)

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 6 months ago [\#46076](#46076) by [tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")  Replied by *[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#46076 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Hi Nicolas,

many thanks for your reply. Is there any workaround for the time being? I have to get the email-adresses of the downlaoders, so they can get inserted into acymailing for the newsletter...that's the purpose...any idea?

Thanks!
Torsten

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

14 years 6 months ago [\#46201](#46201) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#46201 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

You can add the code: Code:

$statusDownload = explode(',',$config-&gt;get('order_status_for_download','confirmed,shipped')); if(in_array($data-&gt;order_status,$statusDownload)){ if(!empty($item-&gt;files)){ global $Itemid; $url_itemid = ''; if(!empty($Itemid)){ $url_itemid='&amp;Itemid='.$Itemid; } echo '&lt;p&gt;'; foreach($item-&gt;files as $file){ $fileName = empty($file-&gt;file_name) ? $file-&gt;file_path : $file-&gt;file_name; echo '&lt;a href="'.hikashop_frontendLink('index.php?option=com_hikashop&amp;ctrl=order&amp;task=download&amp;file_id='.$file-&gt;file_id.'&amp;order_id='.$data-&gt;order_id.$url_itemid).'"&gt;'.$fileName.'&lt;/a&gt;&lt;br/&gt;'; } echo '&lt;/p&gt;'; } }

after the code: Code:

if(!empty($itemFields)){ foreach($itemFields as $field){ $namekey = $field-&gt;field_namekey; if(empty($item-&gt;$namekey)) continue; echo '&lt;p&gt;'.$fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$item-&gt;$namekey).'&lt;/p&gt;'; } }

in the order creation notification email that you can edit via the menu System-&gt;Emails (Business edition).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")**
- [![tspielmann's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5280.jpg)](/forum/user/5280-tspielmann "View tspielmann's Profile")
- [ Offline](/forum/user/5280-tspielmann)

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 6 months ago [\#47764](#47764) by [tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")  Replied by *[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#47764 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Hi Nicolas,

sadly this doesn't work.
Attached the modified file.

Regards!
Torsten

*This attachment is hidden for guests.
Please log in or register to see it.*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

14 years 6 months ago [\#47894](#47894) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#47894 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Could you try to also change the line:

$query = 'SELECT * FROM '.hikashop_table('file').' WHERE file_ref_id IN ('.implode(',',$ids).') AND file_type = \'product\' ORDER BY file_ref_id ASC, file_ordering ASC';

to:

$query = 'SELECT * FROM '.hikashop_table('file').' WHERE file_ref_id IN ('.implode(',',$ids).') AND file_type IN( \'product\',\'file\') ORDER BY file_ref_id ASC, file_ordering ASC';

in the file administrator/components/com_hikashop/class/cart.php ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")**
- [![tspielmann's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5280.jpg)](/forum/user/5280-tspielmann "View tspielmann's Profile")
- [ Offline](/forum/user/5280-tspielmann)

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 5 months ago [\#48713](#48713) by [tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")  Replied by *[tspielmann](/forum/user/5280-tspielmann "View tspielmann's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#48713 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Hi,

this is sadly still not working. The confirmation email still doesnt contain any link to the download.

regards,
torsten

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

14 years 5 months ago [\#48761](#48761) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Download free product after ordering](/forum/2-general-talk-about-hikashop/32670-download-free-product-after-ordering#48761 "Hi,  We have Hikashop 1.5.4 Business edition &amp; Joomla 1.7.3.  We have some free products and some paid products. We want customers to register (i.e. go through the check out process) for any type of product regardless of whether it is free or paid.  I reviewed this forum post   www.hikashop.com/en/support/forum/2-gene...l-products.html#7400  which noted that since version 1.4.4 it is possible to 'order' free products using the 'Display 'add to cart' button for free products' option in the Configuration. We have turned this option on.  The rest of the forum post says you need to update a line in the File: Show / View: Order in the frontend.  After checking this file it already has the required line  However when the order created email is received, you click on the link and view the order summary page. Then you try to click on the file download itself on the order summary page and an error appears saying &quot;Order status does not permit download&quot;.  How do I allow free products ($0.00) to be downloaded after the user has gone through checkout?  Thanks,")*

Strange, it works fine for us with that code.

How are configured your products ? Do you have options, charcteristics ?
Does it work with a simple product on your end ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzMyNjcwLWRvd25sb2FkLWZyZWUtcHJvZHVjdC1hZnRlci1vcmRlcmluZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.493 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
