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

#   Product variants and tax ID and warehouses

##

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

Less More

- Posts: 30
- Thank you received: 1
-
-

8 years 7 months ago [\#291786](#291786) by [hackwar](/forum/user/35377-hackwar "View hackwar's Profile")  *[Product variants and tax ID and warehouses](/forum/26-product-category-display/894539-product-variants-and-tax-id-and-warehouses#291786 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7.0  Hi, my customer has a couply products with a special warehouse and product&#95;tax&#95;id and variants. (Specifically magazine subscriptions with options for national and international shipment, etc.) In the main product, the warehouse and tax&#95;id are correctly set, however when looking in the database, some of the variants have the product&#95;tax&#95;id and product&#95;warehouse&#95;id set, some don't.  When you add one of the products where those are not set to the cart and go to the checkout, it doesn't select the right/any shipment method and buying that cart subsequently fails. I tried saving the variants again and the main product, but that didn't change a thing. I then changed the data in the database directly and that worked.  Is this a bug? How can I prevent this in the future? Where does this come from? I'm a bit confused...  I'd like to make sure that my customer can create other products with variants without having me to go into the DB and fixing values....")* was created by *[hackwar](/forum/user/35377-hackwar "View hackwar's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7
-- PHP version -- : 7.0

Hi,
my customer has a couply products with a special warehouse and product_tax_id and variants. (Specifically magazine subscriptions with options for national and international shipment, etc.) In the main product, the warehouse and tax_id are correctly set, however when looking in the database, some of the variants have the product_tax_id and product_warehouse_id set, some don't.

When you add one of the products where those are not set to the cart and go to the checkout, it doesn't select the right/any shipment method and buying that cart subsequently fails. I tried saving the variants again and the main product, but that didn't change a thing. I then changed the data in the database directly and that worked.

Is this a bug? How can I prevent this in the future? Where does this come from? I'm a bit confused...

I'd like to make sure that my customer can create other products with variants without having me to go into the DB and fixing values....

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 years 7 months ago [\#291799](#291799) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product variants and tax ID and warehouses](/forum/26-product-category-display/894539-product-variants-and-tax-id-and-warehouses#291799 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7.0  Hi, my customer has a couply products with a special warehouse and product&#95;tax&#95;id and variants. (Specifically magazine subscriptions with options for national and international shipment, etc.) In the main product, the warehouse and tax&#95;id are correctly set, however when looking in the database, some of the variants have the product&#95;tax&#95;id and product&#95;warehouse&#95;id set, some don't.  When you add one of the products where those are not set to the cart and go to the checkout, it doesn't select the right/any shipment method and buying that cart subsequently fails. I tried saving the variants again and the main product, but that didn't change a thing. I then changed the data in the database directly and that worked.  Is this a bug? How can I prevent this in the future? Where does this come from? I'm a bit confused...  I'd like to make sure that my customer can create other products with variants without having me to go into the DB and fixing values....")*

Hi,

The tax category and warehouse are only supported for the main product.
It's not possible to set them for variants via the product edition interface in the backend.
So either it has been added in the database, or via a mass action or a CSV import.
So there should be nothing necessary to prevent that in the future besides yourself not changing them through a mass action, a CSV import or directly changing them in the database.

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

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