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

#   shipping price for multipack products

##

- **[markus.lehmann@mzone.at](/forum/user/62660-markus-lehmann-mzone-at "View markus.lehmann@mzone.at's Profile")**
- [![markus.lehmann@mzone.at's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/62660-markus-lehmann-mzone-at "View markus.lehmann@mzone.at's Profile") Topic Author
- [ Offline](/forum/user/62660-markus-lehmann-mzone-at)

Less More

- Posts: 1
- Thank you received: 0
-
-

4 years 6 months ago [\#342096](#342096) by [markus.lehmann@mzone.at](/forum/user/62660-markus-lehmann-mzone-at "View markus.lehmann@mzone.at's Profile")  *[shipping price for multipack products](/forum/28-shipping-methods/904500-shipping-price-for-multipack-products#342096 "-- HikaShop version -- : 4.5.1. -- Joomla version -- : 3.10.9 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : divers  we are running a shop for a winery. shipping will be done by DPD and costs €7,- for each box with 6 bottles even different sorts. Minimum amount of bottles are 6 and they can be selected separatly.. Is it possible to solve this requirement with a formula? Or are there any other possibilities? best regards Mike")* was created by *[markus.lehmann@mzone.at](/forum/user/62660-markus-lehmann-mzone-at "View markus.lehmann@mzone.at's Profile")*

-- HikaShop version -- : 4.5.1.
-- Joomla version -- : 3.10.9
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : divers

we are running a shop for a winery.
shipping will be done by DPD and costs €7,- for each box with 6 bottles even different sorts. Minimum amount of bottles are 6 and they can be selected separatly..
Is it possible to solve this requirement with a formula?
Or are there any other possibilities?
best regards Mike

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA0NTAwLXNoaXBwaW5nLXByaWNlLWZvci1tdWx0aXBhY2stcHJvZHVjdHM/dG1wbD1tYXJrZG93bg==) 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: 86593
- Thank you received: 14334
-
-

4 years 6 months ago [\#342097](#342097) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[shipping price for multipack products](/forum/28-shipping-methods/904500-shipping-price-for-multipack-products#342097 "-- HikaShop version -- : 4.5.1. -- Joomla version -- : 3.10.9 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : divers  we are running a shop for a winery. shipping will be done by DPD and costs €7,- for each box with 6 bottles even different sorts. Minimum amount of bottles are 6 and they can be selected separatly.. Is it possible to solve this requirement with a formula? Or are there any other possibilities? best regards Mike")*

Hi,

In the "formula" setting of your shipping method, you could write: Code:

floor({quantity}/6)*7

So that the shipping fee would be 7€ from 6 to 11 bottles and then 14€ from 12 to 17, etc.
And also enter 6 in the "minimum quantity" setting of your shipping method.

However, if what you want is to only allow purchases of 6, 12, 18, etc, then the formula setting won't help you.
Instead you need to create several manual shipping methods:
- one with a minimum quantity of 6 and a maximum quantity of 6 and a price of 7
- one with a minimum quantity of 12 and a maximum quantity of 12 and a price of 14
- one with a minimum quantity of 18 and a maximum quantity of 18 and a price of 21
...etc...
That way, the system will automatically filter the shipping methods on the checkout and only display the ones matching the current stock in the cart.
And when the quantity of the products in the cart is 5 or 11, no shipping method will be available and the user will get presented with an error message which you can potentially customize with a translation override to tell him to add a total quantity of bottles which is a multiple of 6.

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