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

#   Deposit scheme and returns added to existing order

##

- **[nuntius](/forum/user/29512-nuntius "View nuntius's Profile")**
- [![nuntius's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar29512.jpg)](/forum/user/29512-nuntius "View nuntius's Profile") Topic Author
- [ Offline](/forum/user/29512-nuntius)
- nuntius.nl

Less More

- Posts: 62
- Thank you received: 1
-
-
-
-

10 years 7 months ago [\#236523](#236523) by [nuntius](/forum/user/29512-nuntius "View nuntius's Profile")  *[Deposit scheme and returns added to existing order](/forum/35-orders-management/883837-deposit-scheme-and-returns-added-to-existing-order#236523 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : none  Hello,  Here in the Netherlands we have a deposit scheme for things such as crates for cheese, bottles for drinks or a pallet for a whole bulk of orders.  I have a webshop for a supplier who sells goods which uses such deposit-items and the deposit itself is calculated in the order price as separate items. The webshop also has many returning cliënts (it's actually a private webshop for a select group of cliënts). When an order is placed and the cliënt receives it's goods by transport it usually returns empty crates, bottles and pallets with the same transport back to the warehouse.  Now the webshop owner (my client) wants to manually add these returned deposit-items to the existing order so that these are deducted from the total invoice before sending the invoice. Ideally this would be done by adding the item to the invoice and making the numbers a negative, but as I understand it negative numbers are not allowed in the quantity of a product on the order. I can ofcourse customize that myself for it to work, but Is there a better way to handle this?  Thank you in advance and kind regards, Teeuwis Hillebrand")* was created by *[nuntius](/forum/user/29512-nuntius "View nuntius's Profile")*

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.4
-- Browser(s) name and version -- : Chrome latest
-- Error-message(debug-mod must be tuned on) -- : none

Hello,

Here in the Netherlands we have a deposit scheme for things such as crates for cheese, bottles for drinks or a pallet for a whole bulk of orders.

I have a webshop for a supplier who sells goods which uses such deposit-items and the deposit itself is calculated in the order price as separate items. The webshop also has many returning cliënts (it's actually a private webshop for a select group of cliënts). When an order is placed and the cliënt receives it's goods by transport it usually returns empty crates, bottles and pallets with the same transport back to the warehouse.

Now the webshop owner (my client) wants to manually add these returned deposit-items to the existing order so that these are deducted from the total invoice before sending the invoice.
Ideally this would be done by adding the item to the invoice and making the numbers a negative, but as I understand it negative numbers are not allowed in the quantity of a product on the order. I can ofcourse customize that myself for it to work, but Is there a better way to handle this?

Thank you in advance and kind regards,
Teeuwis Hillebrand

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

10 years 7 months ago [\#236533](#236533) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Deposit scheme and returns added to existing order](/forum/35-orders-management/883837-deposit-scheme-and-returns-added-to-existing-order#236533 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : none  Hello,  Here in the Netherlands we have a deposit scheme for things such as crates for cheese, bottles for drinks or a pallet for a whole bulk of orders.  I have a webshop for a supplier who sells goods which uses such deposit-items and the deposit itself is calculated in the order price as separate items. The webshop also has many returning cliënts (it's actually a private webshop for a select group of cliënts). When an order is placed and the cliënt receives it's goods by transport it usually returns empty crates, bottles and pallets with the same transport back to the warehouse.  Now the webshop owner (my client) wants to manually add these returned deposit-items to the existing order so that these are deducted from the total invoice before sending the invoice. Ideally this would be done by adding the item to the invoice and making the numbers a negative, but as I understand it negative numbers are not allowed in the quantity of a product on the order. I can ofcourse customize that myself for it to work, but Is there a better way to handle this?  Thank you in advance and kind regards, Teeuwis Hillebrand")*

Hi,

Why not have a positive quantity and a negative price for these products you manually add to the orders ?

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

- **[nuntius](/forum/user/29512-nuntius "View nuntius's Profile")**
- [![nuntius's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar29512.jpg)](/forum/user/29512-nuntius "View nuntius's Profile") Topic Author
- [ Offline](/forum/user/29512-nuntius)
- nuntius.nl

Less More

- Posts: 62
- Thank you received: 1
-
-
-
-

10 years 7 months ago [\#236840](#236840) by [nuntius](/forum/user/29512-nuntius "View nuntius's Profile")  Replied by *[nuntius](/forum/user/29512-nuntius "View nuntius's Profile")* on topic *[Deposit scheme and returns added to existing order](/forum/35-orders-management/883837-deposit-scheme-and-returns-added-to-existing-order#236840 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : none  Hello,  Here in the Netherlands we have a deposit scheme for things such as crates for cheese, bottles for drinks or a pallet for a whole bulk of orders.  I have a webshop for a supplier who sells goods which uses such deposit-items and the deposit itself is calculated in the order price as separate items. The webshop also has many returning cliënts (it's actually a private webshop for a select group of cliënts). When an order is placed and the cliënt receives it's goods by transport it usually returns empty crates, bottles and pallets with the same transport back to the warehouse.  Now the webshop owner (my client) wants to manually add these returned deposit-items to the existing order so that these are deducted from the total invoice before sending the invoice. Ideally this would be done by adding the item to the invoice and making the numbers a negative, but as I understand it negative numbers are not allowed in the quantity of a product on the order. I can ofcourse customize that myself for it to work, but Is there a better way to handle this?  Thank you in advance and kind regards, Teeuwis Hillebrand")*

Hi Nicolas,

That is the current solution I implemented and works OK for the invoice part. The downside however is that I am unable to monitor how much crates there are available in the warehouse with this construction. My wish is to have the negative quantity and the positive quantity in the order affecting the total quantity available for that product.

Or should I handle that differently?

Than you in advance for your feedback!

Kind regards,
Teeuwis Hillebrand

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

10 years 7 months ago [\#236843](#236843) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Deposit scheme and returns added to existing order](/forum/35-orders-management/883837-deposit-scheme-and-returns-added-to-existing-order#236843 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : none  Hello,  Here in the Netherlands we have a deposit scheme for things such as crates for cheese, bottles for drinks or a pallet for a whole bulk of orders.  I have a webshop for a supplier who sells goods which uses such deposit-items and the deposit itself is calculated in the order price as separate items. The webshop also has many returning cliënts (it's actually a private webshop for a select group of cliënts). When an order is placed and the cliënt receives it's goods by transport it usually returns empty crates, bottles and pallets with the same transport back to the warehouse.  Now the webshop owner (my client) wants to manually add these returned deposit-items to the existing order so that these are deducted from the total invoice before sending the invoice. Ideally this would be done by adding the item to the invoice and making the numbers a negative, but as I understand it negative numbers are not allowed in the quantity of a product on the order. I can ofcourse customize that myself for it to work, but Is there a better way to handle this?  Thank you in advance and kind regards, Teeuwis Hillebrand")*

Hi,

Well, negative quantity is not supposed to happen. So if you want to do it like that, it would require modifying the code I guess.
I don't see another solution for that.

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

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