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

#   \[SOLVED\]Shipping calculation problem with variants

##

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago -  12 years 1 month ago [\#163570](#163570) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  *[\[SOLVED\]Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#163570 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")* was created by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")*

-- url of the page with the problem -- : CarterRabbitBlanks.com
-- HikaShop version -- : HikaShop Business: 2.3.1
-- Joomla version -- : Joomla! 2.5.22 Stable
-- PHP version -- :5.3.28
-- Browser(s) name and version -- : Firefox 29.0.1
-- Error-message(debug-mod must be tuned on) -- : No Error message

As there is no 'New Feature Request' forum, I would like to make it here.

I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.

This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.

Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.

Last edit: 12 years 1 month ago by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile").

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

12 years 3 months ago [\#163606](#163606) 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 *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#163606 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hello,
Firstly, can you show me through some screenshots how did you configured the shipping method that is supposed to be shown through the checkout workflow (even its restriction options), and how did you configured the products and variants that are on the cart through the checkout workflow ?

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago [\#163708](#163708) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#163708 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Mohamed,

Here are screenshots with brief description for one product "Irregular Cut Bib Collared Dress" size "6Y".

**SHIPPING LIST:**

[ ![1253](http://webbering.com/images/troubleshooting/hikashop-shipping-list.jpg) ](http://webbering.com/images/troubleshooting/hikashop-shipping-list.jpg "1253")

**SHIPPING RECORD THAT IS USED IN THESE EXAMPLES:**

[ ![553](http://webbering.com/images/troubleshooting/hikashop-shipping-record-used.jpg) ](http://webbering.com/images/troubleshooting/hikashop-shipping-record-used.jpg "553")

**MAIN PRODUCT RECORD:**

[ ![900](http://webbering.com/images/troubleshooting/hikashop-main-product-settings-6Y.jpg) ](http://webbering.com/images/troubleshooting/hikashop-main-product-settings-6Y.jpg "900")

**VARIANT RECORD WITHOUT WAREHOUSE SETTING:**

[ ![408](http://webbering.com/images/troubleshooting/hikashop-6Y-without-warehouse-added.jpg) ](http://webbering.com/images/troubleshooting/hikashop-6Y-without-warehouse-added.jpg "408")

**CHECKOUT WITHOUT WAREHOUSE SETTING:**

[ ![789](http://webbering.com/images/troubleshooting/hikashop-6Y-checkout-without-warehouse..jpg) ](http://webbering.com/images/troubleshooting/hikashop-6Y-checkout-without-warehouse..jpg "789")

**VARIANT RECORD WITH WAREHOUSE SETTING:**

[ ![408](http://webbering.com/images/troubleshooting/hikashop-6Y-with-warehouse-added.jpg) ](http://webbering.com/images/troubleshooting/hikashop-6Y-with-warehouse-added.jpg "408")

**CHECKOUT WITH WAREHOUSE SETTING:**

[ ![789](http://webbering.com/images/troubleshooting/hikashop-6Y-checkout-with-warehouse.jpg) ](http://webbering.com/images/troubleshooting/hikashop-6Y-checkout-with-warehouse.jpg "789")

What this shows is that if you are using 'warehouse' settings for different shipping methods and the variant record does not have the warehouse setting, it will not find a shipping charge even though the 'warehouse' is indicated in the main product record. If you set the 'warehouse' setting in the variant record, it charges shipping.

My point is that if a variant does not have a setting for any field in the variant record that has the same setting in the main product record, then HikaShop should see what the 'default' setting is in the main product record and use that to make it's calculations. Now my gut tells me that most of these are probably being done but, from testing, it is not working for 'Warehouse'.

I hope this gives you an indication of what is happening and you can fix this problem.

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

12 years 3 months ago [\#163793](#163793) 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 *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#163793 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hello,
Can you unset the "weight"/"Warehouse" options of your variants and try it again ? In your case, your shipping methods are using your variant dimensions which are 1 lb - 0x0x0m.

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago -  12 years 3 months ago [\#163859](#163859) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#163859 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Mohamed,

**Variant without warehouse or weight**

[ ![381](http://webbering.com/images/troubleshooting/hikashop-6Y-without-warehouse-or-weight.jpg) ](http://webbering.com/images/troubleshooting/hikashop-6Y-without-warehouse-or-weight.jpg "381")

**Checkout without warehouse or weight settings**

[ ![786](http://webbering.com/images/troubleshooting/hikashop-6Y-checkout-without-warehouse-or-weight..jpg) ](http://webbering.com/images/troubleshooting/hikashop-6Y-checkout-without-warehouse-or-weight..jpg "786")

**Reset variant back to warehouse but without weight**

[ ![394](http://webbering.com/images/troubleshooting/hikashop-6Y-with-warehouse-and-without-weight.jpg) ](http://webbering.com/images/troubleshooting/hikashop-6Y-with-warehouse-and-without-weight.jpg "394")

**Checkout with warehouse but without weight**

[ ![783](http://webbering.com/images/troubleshooting/hikashop-6Y-checkout-with-warehouse-and-without-weight..jpg) ](http://webbering.com/images/troubleshooting/hikashop-6Y-checkout-with-warehouse-and-without-weight..jpg "783")

The main product page still has 'Price' warehouse and weight set to 1 lb.

Last edit: 12 years 3 months ago by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#163863](#163863) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#163863 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hi,

Thanks for the details.
Can you please update (manually) your HikaShop to the latest version ? (2.3.2)
[ www.hikashop.com/support/support/documen...ashop-changelog.html](http://www.hikashop.com/support/support/documentation/56-hikashop-changelog.html)

We fixed some things in the shipping/warehouse system like

> The warehouse selection of the main product is not passed automatically to the variants if the no warehouse is selected in the variants

It could be the same problem than yours.
If not, don't hesitate to tell us and we will see to reproduce it in our local websites.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago [\#163899](#163899) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#163899 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Jerome,

I updated to version 2.3.2. I won't post the screenshots as it's identical to the ones above with the except of the drop-down on the variants for 'virtual' goods and 'shippable' goods. It made no difference. When the warehouse is not set in the variant, we get no shipping method found on checkout for that item. When we go back and set it to a warehouse, then shipping is calculated properly.

Any other suggestions?

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

12 years 3 months ago [\#163900](#163900) 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 *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#163900 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hello,
I just tested it and it worked fine for me, can you give me a temporary access to your back-end through a private message, so that I can directly test it through your website ?
Thanks.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago -  12 years 3 months ago [\#164028](#164028) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164028 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hi,

I reproduced your problem.
Can you please edit the file "administrator/components/com_hikashop/classes/shipping.php" and replace Code:

$shipping_groups[0] = $warehouse; if(!empty($order-&gt;products)){ foreach($order-&gt;products as &amp;$product) { if(@$product-&gt;cart_product_quantity &lt;= 0) continue;

By Code:

$shipping_groups[0] = $warehouse; if(!empty($order-&gt;products)){ foreach($order-&gt;products as &amp;$product) { if(@$product-&gt;cart_product_quantity &lt;= 0) continue; if(empty($product-&gt;product_warehouse_id) &amp;&amp; !empty($product-&gt;cart_product_parent_id)) { foreach($order-&gt;products as $l =&gt; $elem){ if($elem-&gt;cart_product_id == $product-&gt;cart_product_parent_id) { $product-&gt;product_warehouse_id = $elem-&gt;product_warehouse_id; break; } } }

It should fix your problem.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 12 years 3 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: code fix

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago [\#164040](#164040) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164040 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Jerome,

Will this change be implemented into the next version of HikaShop Business?

Although I try NOT to do it, I don't mind making changes to core files but only if those changes are going to be included in future updates. I'm not going to keep track of changes I make so I can continually edit future versions of 3rd party applications.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#164041](#164041) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164041 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hi,

If you validate my patch, it will be included in the next build of HikaShop.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago [\#164049](#164049) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164049 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Jerome,

OK, so how do I validate your patch? I've never been told that from support.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#164051](#164051) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164051 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hi,

First, you need to edit the file and apply the modification.
For sure, the best is to make a copy of the file in order to restore it, if necessary.

To validate the patch, you just have to test it and confirm that it solve your problem.
If so, I will commit the patch into HikaShop for the next builds.

Even if I am a moderator here, I am not really in the HikaShop support team but I am in the HikaShop core team.
The problem you have is a bug for me, so the patch must be and will be available for everyone.
HikaShop has been made to allow user to override view and customize the display ; so when we ask someone to edit a core file, our goal is to include this modification in the HikaShop core. Otherwise we use plugins or overrides.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago [\#164055](#164055) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164055 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Jerome,

I'll do this tomorrow, thoroughly test, get screenshots and report back here. Have a great day!

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago [\#164221](#164221) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164221 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Jerome,

I made the changes to the shipping.php file, removed the warehouse setting from one of the variants, saved and did a test purchase with that variant. I got 'No shipping method found'. I restored the warehouse setting for the variant record back to 'Price Warehouse', did a test purchased and the shipping calculated properly.

Your fix did not work. I have attached the edited shipping.php file.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#164254](#164254) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164254 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hi,

So I will require a FTP access in order to add some debug traces and fix the problem directly in your website.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#164574](#164574) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164574 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hi,

The problem is now fix in your website.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago [\#164587](#164587) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164587 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Jerome,

I did a test and it does appear you have fixed the problem. Now can you explain exactly what you did and if any future updates of HikaShop Business will overwrite the changes you made?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#164629](#164629) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164629 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Hi,

I use the code that I provide you in the previous post.
There were a typo problem when I submit the post but I fixed it just after.
So the code now in the post 164028 is now good.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

12 years 3 months ago [\#164652](#164652) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Shipping calculation problem with variants](/forum/28-shipping-methods/869617-solved-shipping-calculation-problem-with-variants#164652 "-- url of the page with the problem -- : CarterRabbitBlanks.com -- HikaShop version -- : HikaShop Business: 2.3.1 -- Joomla version -- : Joomla! 2.5.22 Stable -- PHP version -- :5.3.28 -- Browser(s) name and version -- : Firefox 29.0.1 -- Error-message(debug-mod must be tuned on) -- : No Error message  As there is no 'New Feature Request' forum, I would like to make it here.  I just found out that if you add a 'Quantity' to a variant for inventory control, the Main Product Record shipping settings are disregarded and you get a 'No Shipping Method Found' error message. I have tested this and it is how it works. I set the 'Warehouse' and weight on the variant records and, viola, we got a proper shipping charge.  This is problematic due to the work involved with variants. Logic would dictate that if you have added a quantity to a variant and there is 'no' shipping information entered on the variant, that the order process should use the 'main product' shipping information to determine shipping. Let's say you have 10 sizes, 5 colors and 4 textures on a dress. You want to keep inventory control on each variant. Fine! However, all of the dresses are coming from a single Warehouse or has a single shipping method. If you set it up in the main product record, it is disregarded now that a 'quantity' has been added to each variant. Now you have to updated 200 variants (10x5x4) to add the 'same' shipping information that is in the 'main product' record to each individual variant. This is 'unacceptable' as it creates a lot of unnecessary work to maintain shipping.  Now if the 'main product' shipping is suppose to be used, why didn't it work on my clients site and I did test it multiple times. If you have to put the shipping info on each individual variant when a quantity is added, please add this to your 'to-do' list to use the 'main product' shipping information if 'no' shipping information is marked in a variant.")*

Will these changes be in upcoming releases of Business HikaShop or will future updates of Business HikaShop overwrite the changes you made?

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

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

[](#top)
