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

#   Creating donate item

##

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

13 years 4 months ago [\#110778](#110778) 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 *[Creating donate item](/forum/4-how-to/49861-creating-donate-item?start=40#110778 "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?")*

Hi,

I think that the solution will be to do it by editing the "show_default" file through the "product" view of your front-end template, and changing these lines : Code:

&lt;span id="hikashop_product_price_main" class="hikashop_product_price_main"&gt; &lt;?php //LAYOUT listing_price if ($this-&gt;params-&gt;get('show_price')) { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;/span&gt;

by : Code:

&lt;span id="hikashop_product_price_main" class="hikashop_product_price_main"&gt; &lt;?php //LAYOUT listing_price if($this-&gt;element-&gt;product_id != YOUR_PRODUCT_ID){ if ($this-&gt;params-&gt;get('show_price')) { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } } ?&gt; &lt;/span&gt;

Note that you'll have to replace your **YOUR\_PRODUCT\_ID** to your donation product id, you'll be able to find it through your product listing screen through the "*Hikashop-&gt;Product*" page.

Hope this will help you a little.

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

- **[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")**
- [![aheng5's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6488.gif)](/forum/user/6488-aheng5 "View aheng5's Profile")
- [ Offline](/forum/user/6488-aheng5)

Less More

- Posts: 73
- Thank you received: 2
-
-

13 years 4 months ago [\#110781](#110781) by [aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")  Replied by *[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")* on topic *[Creating donate item](/forum/4-how-to/49861-creating-donate-item?start=40#110781 "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?")*

Hi, I don't see a "product ID" see my screen shot. Where am I going wrong? ![:(](/media/kunena/emoticons/22.png ":(")

thanks

- [ ![screenshot&#95;2013-06-25-2.jpg](/forum/attachment/10801) ](/forum/attachment/10801 "...13-06-25-2.jpg") [ ](/forum/attachment/10801?download=1 "...13-06-25-2.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5ODYxLWNyZWF0aW5nLWRvbmF0ZS1pdGVtP3N0YXJ0PTQwJnRtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

13 years 4 months ago [\#110785](#110785) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Creating donate item](/forum/4-how-to/49861-creating-donate-item?start=40#110785 "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?")*

Increase your resolution and you will see it. It is hidden because there isn't enough space on the screen to display the column.

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 2 months ago [\#122538](#122538) by [phuonker](/forum/user/12161-phuonker "View phuonker's Profile")  Replied by *[phuonker](/forum/user/12161-phuonker "View phuonker's Profile")* on topic *[Creating donate item](/forum/4-how-to/49861-creating-donate-item?start=40#122538 "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 found this entry, because I want to give a donation possibility to my shop. I'm fighting with similar problems as described in this threat.
Currently I have some products. I would like to add to each product the possibility to donate additionally. I was able to create the field, which also appears, but it does not count to the existing amounts. I was trying several things, like creating donation category and corresponding product, but I still got the same issues.
I also already enabled the plugin (Hikshop Donation....)
What needs to be done to have it displayed on each product and that the entered number is added to the final costs.
I'm using joomla 2.5 and latest Hika version.
Thank you very much
Peter

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5ODYxLWNyZWF0aW5nLWRvbmF0ZS1pdGVtP3N0YXJ0PTQwJnRtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

13 years 2 months ago [\#122561](#122561) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Creating donate item](/forum/4-how-to/49861-creating-donate-item?start=40#122561 "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?")*

Hi,

Can you do a screenshot of your custom field options screen so that we can see how you configured it ?

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 2 months ago -  13 years 1 month ago [\#123403](#123403) by [phuonker](/forum/user/12161-phuonker "View phuonker's Profile")  Replied by *[phuonker](/forum/user/12161-phuonker "View phuonker's Profile")* on topic *[Creating donate item](/forum/4-how-to/49861-creating-donate-item?start=40#123403 "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 my screenshot. I'm aware that no categories are defined. I once tried to use an existing category, but the field still did not count up.
thank you

If you like I could give you my PW for backend

Last edit: 13 years 1 month ago by [phuonker](/forum/user/12161-phuonker "View phuonker's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5ODYxLWNyZWF0aW5nLWRvbmF0ZS1pdGVtP3N0YXJ0PTQwJnRtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

13 years 1 month ago [\#125619](#125619) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Creating donate item](/forum/4-how-to/49861-creating-donate-item?start=40#125619 "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?")*

Hi,

The issue is the column name of your custom field.
As explained here [ 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) the column name needs to be "amount".

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

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