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

#   Accepting Deposits in Hika

##

- **[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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

10 years 9 months ago [\#227967](#227967) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Accepting Deposits in Hika](/forum/4-how-to/54304-accepting-deposits-in-hika?start=40#227967 "Hello, I am new to Hika moving from Virtuemart. But can someone please let me know if Hika can be configured to accept a deposit for a product. E.g. items that require a deposit to begin the manufacturing process.  Also, how do I enter free text in an order, such as special instructions as part of the options.  Finally, how do i change the size of the thumbnail in the checkout?  Thanks, WEndel.")*

All the deposit plugin does is that it changes the price of the product in the cart in order to take into account the deposit custom field.
If you want to change the display of the unit price like in your screenshot, you indeed need to edit the cart.php file and add custom code to do the calculations and display yourself.
But in a previous message of yours, I see that you just added a unit price display, without doing any calculation. So it will just display the unit price again.
You need to add something like that before: Code:

$this-&gt;row-&gt;prices[0]-&gt;unit_price-&gt;price_value = $this-&gt;row-&gt;prices[0]-&gt;unit_price-&gt;price_value*$this-&gt;row-&gt;deposit/100; $this-&gt;row-&gt;prices[0]-&gt;unit_price-&gt;price_value_with_tax = $this-&gt;row-&gt;prices[0]-&gt;unit_price-&gt;price_value_with_tax*$this-&gt;row-&gt;deposit/100;

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

- **[liontv](/forum/user/40184-liontv "View liontv's Profile")**
- [![liontv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/splatter_hand.png)](/forum/user/40184-liontv "View liontv's Profile")
- [ Offline](/forum/user/40184-liontv)

Less More

- Posts: 25
- Thank you received: 1
-
-
-

10 years 9 months ago -  10 years 9 months ago [\#228130](#228130) by [liontv](/forum/user/40184-liontv "View liontv's Profile")  Replied by *[liontv](/forum/user/40184-liontv "View liontv's Profile")* on topic *[Accepting Deposits in Hika](/forum/4-how-to/54304-accepting-deposits-in-hika?start=40#228130 "Hello, I am new to Hika moving from Virtuemart. But can someone please let me know if Hika can be configured to accept a deposit for a product. E.g. items that require a deposit to begin the manufacturing process.  Also, how do I enter free text in an order, such as special instructions as part of the options.  Finally, how do i change the size of the thumbnail in the checkout?  Thanks, WEndel.")*

I am trying to follow in his footsteps, still works but now displays an error.

So just missing the original price and pending payment .

[ capture ](http://www.awesomescreenshot.com/image/950963/b8d62b920a8c7391ba9f06caebae5f1e)

the second product in the cart. It does not work directly.
[ capture](http://www.awesomescreenshot.com/image/951156/3f6516d16bb40091586a93cd6314172e)Code:

&lt;?php $this-&gt;row-&gt;prices[0]-&gt;unit_price-&gt;price_value = $this-&gt;row-&gt;prices[0]-&gt;unit_price-&gt;price_value*$this-&gt;row-&gt;deposit/100; $this-&gt;row-&gt;prices[0]-&gt;unit_price-&gt;price_value_with_tax = $this-&gt;row-&gt;prices[0]-&gt;unit_price-&gt;price_value_with_tax*$this-&gt;row-&gt;deposit/100; ?&gt; &lt;?php if($this-&gt;element-&gt;deposit) echo ''.number_format((float)$this-&gt;row-&gt;deposit, 0, '.', '').'%'; $this-&gt;row =&amp; $row; $this-&gt;unit = true; echo $this-&gt;loadTemplate(); ?&gt;

Please just this point that I have left to finish my project.
Sure it is easy to implement the warehouse.

I am a beginner in php could you expand on the explanation.
I would be very grateful and would give me a lot of confidence hikashop to continue implementing it in my projects

Last edit: 10 years 9 months ago by [liontv](/forum/user/40184-liontv "View liontv's Profile").

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

10 years 8 months ago [\#233376](#233376) 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 *[Accepting Deposits in Hika](/forum/4-how-to/54304-accepting-deposits-in-hika?start=40#233376 "Hello, I am new to Hika moving from Virtuemart. But can someone please let me know if Hika can be configured to accept a deposit for a product. E.g. items that require a deposit to begin the manufacturing process.  Also, how do I enter free text in an order, such as special instructions as part of the options.  Finally, how do i change the size of the thumbnail in the checkout?  Thanks, WEndel.")*

Hello,

We are sorry but we can't provide that kind of code customization through our support, so if you need the help of a professional developer you can check our partners section : [ www.hikashop.com/home/our-partners.html](http://www.hikashop.com/home/our-partners.html)
Or our commercial jobs section : [ www.hikashop.com/forum/9-commercial-jobs.html](http://www.hikashop.com/forum/9-commercial-jobs.html)

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

9 years 11 months ago [\#256291](#256291) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[Accepting Deposits in Hika](/forum/4-how-to/54304-accepting-deposits-in-hika?start=40#256291 "Hello, I am new to Hika moving from Virtuemart. But can someone please let me know if Hika can be configured to accept a deposit for a product. E.g. items that require a deposit to begin the manufacturing process.  Also, how do I enter free text in an order, such as special instructions as part of the options.  Finally, how do i change the size of the thumbnail in the checkout?  Thanks, WEndel.")*

Hi, I am really enthousiastic about hikashop. And working hard to try and fit it on our business.

We sell outdoor-courses. And I am trying to figure out the payments.

On paper our customers have the choice to either pay the whole amount at once, or 10% right away and the rest a couple of weeks prior to the course.
I have installed the deposits plugin and that works. But that means that for the specific course always the deposits must be payed.

I want the customer to have the same choice we used on paper. Can this easily be done? If so, what is the way to go?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU0MzA0LWFjY2VwdGluZy1kZXBvc2l0cy1pbi1oaWthP3N0YXJ0PTQwJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

9 years 11 months ago -  9 years 11 months ago [\#256305](#256305) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Accepting Deposits in Hika](/forum/4-how-to/54304-accepting-deposits-in-hika?start=40#256305 "Hello, I am new to Hika moving from Virtuemart. But can someone please let me know if Hika can be configured to accept a deposit for a product. E.g. items that require a deposit to begin the manufacturing process.  Also, how do I enter free text in an order, such as special instructions as part of the options.  Finally, how do i change the size of the thumbnail in the checkout?  Thanks, WEndel.")*

Hi,

What you could do is to have a second payment method for the deposit and then add such code at the beginning of the deposit plugin: Code:

&lt;?php $app = JFactory::getApplication(); if($app-&gt;getUserState('com_hikashop.payment_id') != XXX) return; ?&gt;

where XXX is the id of the payment method for the deposit.
That way, the deposit plugin will only apply it's deposit amount when that payment method with the id XXX is selected.

Last edit: 9 years 11 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

9 years 5 months ago [\#271884](#271884) by [jross](/forum/user/12187-jross "View jross's Profile")  Replied by *[jross](/forum/user/12187-jross "View jross's Profile")* on topic *[Re: Accepting Deposits in Hika](/forum/4-how-to/54304-accepting-deposits-in-hika?start=40#271884 "Hello, I am new to Hika moving from Virtuemart. But can someone please let me know if Hika can be configured to accept a deposit for a product. E.g. items that require a deposit to begin the manufacturing process.  Also, how do I enter free text in an order, such as special instructions as part of the options.  Finally, how do i change the size of the thumbnail in the checkout?  Thanks, WEndel.")*

Hi, I am also trying to create a deposit function and I have been following the post above. I've downloaded the deposit plugin and assume I install it through the Joomla Extensions/Manage/Install function??
When I do this, I get an error saying....

Warning
JInstaller: :Install: Can't find Joomla XML setup file.
Error
Unable to find install package

Are plugins installed via Hikashop perhaps? I can't see where even when I go into System/Plugins/New.

Can you help please?
Thanks, JR

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

9 years 5 months ago [\#271889](#271889) by [jross](/forum/user/12187-jross "View jross's Profile")  Replied by *[jross](/forum/user/12187-jross "View jross's Profile")* on topic *[Re: Accepting Deposits in Hika](/forum/4-how-to/54304-accepting-deposits-in-hika?start=40#271889 "Hello, I am new to Hika moving from Virtuemart. But can someone please let me know if Hika can be configured to accept a deposit for a product. E.g. items that require a deposit to begin the manufacturing process.  Also, how do I enter free text in an order, such as special instructions as part of the options.  Finally, how do i change the size of the thumbnail in the checkout?  Thanks, WEndel.")*

Hi, I found an updated deposit plugin which installed without a problem
Thanks, JR

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

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