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

#   Creating donate item

##

- **[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")**
- [![sluiting's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4409-sluiting "View sluiting's Profile") Topic Author
- [ Offline](/forum/user/4409-sluiting)

Less More

- Posts: 21
- Thank you received: 1
-
-

14 years 5 months ago [\#49861](#49861) by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile")  *[Creating donate item](/forum/4-how-to/49861-creating-donate-item#49861 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")* was created by *[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")*

I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 5 months ago [\#49897](#49897) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#49897 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Hello sluiting,

Yes it's possible with this plugin, you'll have to :

- create a category named **donation**
- create a product named **donation** set the price to 0 and the category to **donation**

- go to "Hikashop -&gt; Display -&gt; Custom fields"
- create a new field
- set the "label" field to **amount**
- set the "table" field to **item**
- set the "Column name" field to **amount**
- set the "field type" to **texte**
- set the "default value" to 0
- add the donation category

- add the custom price plugin and enable it.

Hope this will help you a little ![:)](/media/kunena/emoticons/3.png ":)").

The following user(s) said Thank You: [sluiting](/forum/user/4409-sluiting "View sluiting's Profile"), [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5ODYxLWNyZWF0aW5nLWRvbmF0ZS1pdGVtP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

14 years 5 months ago [\#49930](#49930) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#49930 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Note that custom fields of the table "item" are only available in the Business edition.

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

- **[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")**
- [![sluiting's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4409-sluiting "View sluiting's Profile") Topic Author
- [ Offline](/forum/user/4409-sluiting)

Less More

- Posts: 21
- Thank you received: 1
-
-

14 years 5 months ago [\#49977](#49977) by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile")  Replied by *[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#49977 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

I have enabled it and set the values and yet it doesn't tally up the total. This is a screen grab of what it does after I add the amount.

The other screen grab is how it displays initially which is great except for that "free" text. How do I get rid of that?

Thanks so much for your help by the way.

- [ ![Capture.JPG](/forum/attachment/3836) ](/forum/attachment/3836 "Capture.JPG") [ ](/forum/attachment/3836?download=1 "Capture.JPG")
- [ ![Capture2.JPG](/forum/attachment/3837) ](/forum/attachment/3837 "Capture2.JPG") [ ](/forum/attachment/3837?download=1 "Capture2.JPG")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 5 months ago -  14 years 5 months ago [\#50001](#50001) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50001 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Hello,

1. To don't show the "Free" price at the product page you'll have to :

- go to "Hikashop -&gt; System -&gt; Configuration -&gt; Langage"
- edit the "English (United Kingdom)" langage file
- set the **FREE\_PRICE="Free"** to **FREE\_PRICE=""** and save

2. regarding the total price, can you tell me if you enabled the plugin ?

- go to "Extensions -&gt; Plug-in Manager"
- search the "HikaShopCustom Price plugin"
- and set the status to enable

3. if you are just "sending" donation product, you should :

- go to "Hikashop -&gt; system -&gt; configuration -&gt; display"
- set the "Display the quantity field on the product page" field to **No Display**

Hope this will help you.

Last edit: 14 years 5 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

- **[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")**
- [![sluiting's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4409-sluiting "View sluiting's Profile") Topic Author
- [ Offline](/forum/user/4409-sluiting)

Less More

- Posts: 21
- Thank you received: 1
-
-

14 years 5 months ago -  14 years 5 months ago [\#50175](#50175) by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile")  Replied by *[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50175 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Thanks for the quick response. I have enabled the plugin but I did that after I created the donation product. Should I delete the product and start over? I also made the category the name donations. Are the names category specific to the plugin? Should it be donation and donation item?

I assume once the plugin is enabled I don't do anything in HikaShop to also enable it in the admin system?

I'm probably making this more complicated than it needs to be.

Last edit: 14 years 5 months ago by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile").

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

- **[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")**
- [![sluiting's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4409-sluiting "View sluiting's Profile") Topic Author
- [ Offline](/forum/user/4409-sluiting)

Less More

- Posts: 21
- Thank you received: 1
-
-

14 years 5 months ago -  14 years 5 months ago [\#50184](#50184) by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile")  Replied by *[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50184 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

I've changed the category to Donation but see in the Categories section that I can assign this to a category and so the name shouldn't matter.
The plugin is adding the amount but when I go to checkout I see no Total Price and the Final Total is still zero.

I'm using Joomla 2.5. The plugin is enabled.

- [ ![Capture&#95;2012-05-14.JPG](/forum/attachment/3851) ](/forum/attachment/3851 "...2012-05-14.JPG") [ ](/forum/attachment/3851?download=1 "...2012-05-14.JPG")

Last edit: 14 years 5 months ago by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile"). Reason: Add screen grab

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

- **[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")**
- [![cb75ter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7364-cb75ter "View cb75ter's Profile")
- [ Offline](/forum/user/7364-cb75ter)

Less More

- Posts: 45
- Thank you received: 1
-
-

14 years 5 months ago [\#50255](#50255) by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")  Replied by *[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50255 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Hello,

Thank you for this plugin. For information, I'm in the same case as Sluiting, it doesn't work properly. The symptoms are the same.
I'd be interested also in some help. I can give a back end access if needed.

Regards

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

- **[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")**
- [![sluiting's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4409-sluiting "View sluiting's Profile") Topic Author
- [ Offline](/forum/user/4409-sluiting)

Less More

- Posts: 21
- Thank you received: 1
-
-

14 years 5 months ago [\#50305](#50305) by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile")  Replied by *[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50305 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

My assumption is that the store was updated to 2.5 but not the donation plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5ODYxLWNyZWF0aW5nLWRvbmF0ZS1pdGVtP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

14 years 5 months ago [\#50370](#50370) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50370 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Please do a screenshot of your custom field options screen. You must be missing something in it.

The following user(s) said Thank You: [sluiting](/forum/user/4409-sluiting "View sluiting's Profile"), [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")

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

- **[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")**
- [![cb75ter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7364-cb75ter "View cb75ter's Profile")
- [ Offline](/forum/user/7364-cb75ter)

Less More

- Posts: 45
- Thank you received: 1
-
-

14 years 5 months ago [\#50384](#50384) by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")  Replied by *[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50384 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Hello Nicolas,

Here is the screen shot.

Thank you for your assistance.

- [ ![screen&#95;custom&#95;field.jpg](/forum/attachment/3865) ](/forum/attachment/3865 "...stom&#95;field.jpg") [ ](/forum/attachment/3865?download=1 "...stom&#95;field.jpg")

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

- **[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")**
- [![cb75ter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7364-cb75ter "View cb75ter's Profile")
- [ Offline](/forum/user/7364-cb75ter)

Less More

- Posts: 45
- Thank you received: 1
-
-

14 years 5 months ago -  14 years 5 months ago [\#50438](#50438) by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")  Replied by *[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50438 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Hello,

We looked the php code of the plugin, and are suprised by it.
Indeed, there is a closing embrace "}" on line 4, so the two other functions are out the plugin (?).
Moreover, there is no call of Joomla event like "onAfter"...

Is it normal ?

Last edit: 14 years 5 months ago by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile").

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

- **[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")**
- [![sluiting's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4409-sluiting "View sluiting's Profile") Topic Author
- [ Offline](/forum/user/4409-sluiting)

Less More

- Posts: 21
- Thank you received: 1
-
-

14 years 5 months ago -  14 years 5 months ago [\#50442](#50442) by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile")  Replied by *[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")* on topic *[My Screengrabs of Donation Setup](/forum/4-how-to/49861-creating-donate-item#50442 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Here are my screen grabs of the setup. Please let me know if the configuration looks wrong. capture is the custom field screen and capture2 is the product setup.

- [ ![Capture&#95;2012-05-16.JPG](/forum/attachment/3866) ](/forum/attachment/3866 "...2012-05-16.JPG") [ ](/forum/attachment/3866?download=1 "...2012-05-16.JPG")
- [ ![Capture2&#95;2012-05-16.JPG](/forum/attachment/3867) ](/forum/attachment/3867 "...2012-05-16.JPG") [ ](/forum/attachment/3867?download=1 "...2012-05-16.JPG")

Last edit: 14 years 5 months ago by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile"). Reason: More details

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5ODYxLWNyZWF0aW5nLWRvbmF0ZS1pdGVtP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

14 years 5 months ago [\#50491](#50491) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: My Screengrabs of Donation Setup](/forum/4-how-to/49861-creating-donate-item#50491 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

It's normal that the code is done like that, don't worry ![:)](/media/kunena/emoticons/3.png ":)")

Your settings look fine. Could you double check that the plugin is enabled in the joomla plugins manager ?

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

- **[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")**
- [![cb75ter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7364-cb75ter "View cb75ter's Profile")
- [ Offline](/forum/user/7364-cb75ter)

Less More

- Posts: 45
- Thank you received: 1
-
-

14 years 5 months ago [\#50513](#50513) by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")  Replied by *[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50513 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Nicolas,

It seems to be published ![:)](/media/kunena/emoticons/3.png ":)")

- [ ![screen&#95;plugin&#95;published.jpg](/forum/attachment/3879) ](/forum/attachment/3879 "...&#95;published.jpg") [ ](/forum/attachment/3879?download=1 "...&#95;published.jpg")

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

- **[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")**
- [![sluiting's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4409-sluiting "View sluiting's Profile") Topic Author
- [ Offline](/forum/user/4409-sluiting)

Less More

- Posts: 21
- Thank you received: 1
-
-

14 years 5 months ago [\#50548](#50548) by [sluiting](/forum/user/4409-sluiting "View sluiting's Profile")  Replied by *[sluiting](/forum/user/4409-sluiting "View sluiting's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50548 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Mine is published also and not totaling the price. I hate to sound frustrated but could you please look at this plugin instead of assuming we haven't configured this?
Again, I'm using Joomla 2.5.

Thanks.

- [ ![Capture&#95;2012-05-17.JPG](/forum/attachment/3883) ](/forum/attachment/3883 "...2012-05-17.JPG") [ ](/forum/attachment/3883?download=1 "...2012-05-17.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5ODYxLWNyZWF0aW5nLWRvbmF0ZS1pdGVtP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

14 years 5 months ago [\#50592](#50592) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50592 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

From what I can see if you set a price of 0 in the product, it won't work.
You need to either set a price in it, or add the code: Code:

if(empty($product-&gt;prices)){ $price= null; $price-&gt;price_currency_id = hikashop_getCurrency(); $product-&gt;prices = array($price); }

after the line Code:

$currencyClass = hikashop_get('class.currency');

in the plugin file.

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

- **[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")**
- [![cb75ter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7364-cb75ter "View cb75ter's Profile")
- [ Offline](/forum/user/7364-cb75ter)

Less More

- Posts: 45
- Thank you received: 1
-
-

14 years 5 months ago [\#50644](#50644) by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")  Replied by *[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50644 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Hello,

I tried both solutions, adding a price to the product and adding the code to the plugin, but none of them work.
Nicolas, have you tried the plugin by yourself and does it work by your side ? Is it an "official" Hikashop Plugin ?

Thank you in advance for your answer.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5ODYxLWNyZWF0aW5nLWRvbmF0ZS1pdGVtP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

14 years 5 months ago [\#50717](#50717) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50717 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Yes, it works for me. I of course tried it and it works.
It's an official plugin.
I created a page on the demo website in order to show you:
[ demo.hikashop.com/index.php?option=com\_h...show&amp;cid=214&amp;lang=en](http://demo.hikashop.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=214&lang=en)

That page will be available within one or two hours after my post, when the demo website is reset.

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

- **[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")**
- [![cb75ter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7364-cb75ter "View cb75ter's Profile")
- [ Offline](/forum/user/7364-cb75ter)

Less More

- Posts: 45
- Thank you received: 1
-
-

14 years 5 months ago [\#50862](#50862) by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")  Replied by *[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")* on topic *[Re: Creating donate item](/forum/4-how-to/49861-creating-donate-item#50862 "I would like to use Hikashop to create a donate item where the client can put the amount into a form instead of having the item amount set. Is this possible?")*

Hello Nicolas,

Thanks for the demo. Knowing that it may work is important ![:)](/media/kunena/emoticons/3.png ":)")
The question now is "How ?" and I will investigate.

I'll be back in case of success.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5ODYxLWNyZWF0aW5nLWRvbmF0ZS1pdGVtP3RtcGw9bWFya2Rvd24=) 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.139 seconds

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

[](#top)
