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

#   Product variant price

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 5 months ago [\#272327](#272327) by [jaystore](/forum/user/31616-jaystore "View jaystore's Profile")  *[Product variant price](/forum/4-how-to/890804-product-variant-price#272327 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.1  We have a product with 3 characterisrtics and generates 112 variants, we updated prices for all of them. Now we added a characteristic with 3 options and variants increased to 336, to update 224 variat prices is crazy, I looked ad DB tables and found how to select variants &quot;SELECT &#42; FROM &#96;jay&#95;hikashop&#95;product&#96; WHERE product&#95;parent&#95;id = 759&quot; but I don't know how to set prices using and UPDATE statement because I can't find where the prices are stored.  However the handling of variants is really time consuming every time we add something, it should be done in a diffenet way.")* was created by *[jaystore](/forum/user/31616-jaystore "View jaystore's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.1

We have a product with 3 characterisrtics and generates 112 variants, we updated prices for all of them.
Now we added a characteristic with 3 options and variants increased to 336, to update 224 variat prices is crazy, I looked ad DB tables and found how to select variants
"SELECT * FROM &#96;jay_hikashop_product&#96; WHERE product_parent_id = 759"
but I don't know how to set prices using and UPDATE statement because I can't find where the prices are stored.

However the handling of variants is really time consuming every time we add something, it should be done in a diffenet way.

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 5 months ago [\#272329](#272329) by [jaystore](/forum/user/31616-jaystore "View jaystore's Profile")  Replied by *[jaystore](/forum/user/31616-jaystore "View jaystore's Profile")* on topic *[Product variant price](/forum/4-how-to/890804-product-variant-price#272329 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.1  We have a product with 3 characterisrtics and generates 112 variants, we updated prices for all of them. Now we added a characteristic with 3 options and variants increased to 336, to update 224 variat prices is crazy, I looked ad DB tables and found how to select variants &quot;SELECT &#42; FROM &#96;jay&#95;hikashop&#95;product&#96; WHERE product&#95;parent&#95;id = 759&quot; but I don't know how to set prices using and UPDATE statement because I can't find where the prices are stored.  However the handling of variants is really time consuming every time we add something, it should be done in a diffenet way.")*

Now is even worst.
I removed the new characteristic and variants went back to 112.
I tried again to add the characteristic made of 3 values, but the variant remain 112 and the new field in product page has only 1 value in the dropdpwn list equal to default value.
hikashoperr4 the characteristics
hikashoperr2 the product with the new characteristic
hikashoperr1 the 112 variants, should be 336
hikashoperr3 the product page with only 1 value in the characteristic "DYNABAR V9 size"

- [ ![hikashoperr1.jpg](/forum/attachment/38772) ](/forum/attachment/38772 "hikashoperr1.jpg") [ ](/forum/attachment/38772?download=1 "hikashoperr1.jpg")
- [ ![hikashoperr2.jpg](/forum/attachment/38773) ](/forum/attachment/38773 "hikashoperr2.jpg") [ ](/forum/attachment/38773?download=1 "hikashoperr2.jpg")
- [ ![hikashoperr4.jpg](/forum/attachment/38774) ](/forum/attachment/38774 "hikashoperr4.jpg") [ ](/forum/attachment/38774?download=1 "hikashoperr4.jpg")
- [ ![hikashoperr3.jpg](/forum/attachment/38775) ](/forum/attachment/38775 "hikashoperr3.jpg") [ ](/forum/attachment/38775?download=1 "hikashoperr3.jpg")
- [ ![hikashoperr4&#95;2017-06-20.jpg](/forum/attachment/38776) ](/forum/attachment/38776 "...2017-06-20.jpg") [ ](/forum/attachment/38776?download=1 "...2017-06-20.jpg")
- [ ![hikashoperr2&#95;2017-06-20.jpg](/forum/attachment/38777) ](/forum/attachment/38777 "...2017-06-20.jpg") [ ](/forum/attachment/38777?download=1 "...2017-06-20.jpg")
- [ ![hikashoperr1&#95;2017-06-20.jpg](/forum/attachment/38778) ](/forum/attachment/38778 "...2017-06-20.jpg") [ ](/forum/attachment/38778?download=1 "...2017-06-20.jpg")
- [ ![hikashoperr3&#95;2017-06-20.jpg](/forum/attachment/38779) ](/forum/attachment/38779 "...2017-06-20.jpg") [ ](/forum/attachment/38779?download=1 "...2017-06-20.jpg")

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

Less More

- Posts: 86583
- Thank you received: 14324
-
-

9 years 5 months ago [\#272337](#272337) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product variant price](/forum/4-how-to/890804-product-variant-price#272337 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.1  We have a product with 3 characterisrtics and generates 112 variants, we updated prices for all of them. Now we added a characteristic with 3 options and variants increased to 336, to update 224 variat prices is crazy, I looked ad DB tables and found how to select variants &quot;SELECT &#42; FROM &#96;jay&#95;hikashop&#95;product&#96; WHERE product&#95;parent&#95;id = 759&quot; but I don't know how to set prices using and UPDATE statement because I can't find where the prices are stored.  However the handling of variants is really time consuming every time we add something, it should be done in a diffenet way.")*

Hi,

In your screenshot, you have the same price for all the variants.
If the price doesn't change, then you should only set it in the main product and not in the variants. That way, you can only modify the price in the main product so that it affect all the variants without prices.
Also, if the price doesn't change and the quantity either (it's unlimited for the variants), then why use characteristics at all ?
Why not use custom item fields or options ? You can also have selection dropdowns on the product page with them.
That way, you don't have to manage all the variants.
[ www.hikashop.com/support/documentation/i...ct-form.html#options](https://www.hikashop.com/support/documentation/integrated-documentation/19-hikashop-product-form.html#options)
[ www.hikashop.com/support/documentation/4...shop-field-form.html](https://www.hikashop.com/support/documentation/42-hikashop-field-form.html)

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 5 months ago [\#272395](#272395) by [jaystore](/forum/user/31616-jaystore "View jaystore's Profile")  Replied by *[jaystore](/forum/user/31616-jaystore "View jaystore's Profile")* on topic *[Product variant price](/forum/4-how-to/890804-product-variant-price#272395 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.1  We have a product with 3 characterisrtics and generates 112 variants, we updated prices for all of them. Now we added a characteristic with 3 options and variants increased to 336, to update 224 variat prices is crazy, I looked ad DB tables and found how to select variants &quot;SELECT &#42; FROM &#96;jay&#95;hikashop&#95;product&#96; WHERE product&#95;parent&#95;id = 759&quot; but I don't know how to set prices using and UPDATE statement because I can't find where the prices are stored.  However the handling of variants is really time consuming every time we add something, it should be done in a diffenet way.")*

As far as I understand Options are connected to products and for example the size is a characteristic and you could set different price for each size. Then we add 20 different colours and we have again different price for each, I have to update tons of records. Other eCommerce systems use a more simple approach,,,

I used this SQL statment who updates the price table by identifying products variants using some product fields, but it was hard.

UPDATE &#96;jay_hikashop_price&#96; SET &#96;price_value&#96; = '262.29508'
where &#96;price_product_id&#96; IN
(SELECT product_id
FROM &#96;jay_hikashop_product&#96;
WHERE product_parent_id = 759
and product_id &gt;= 1456
and product_code like "%_139")

Thanks and I hope this can help to improve.HikaShop

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

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