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

#   How to update variant products price in mass action?

##

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

Less More

- Posts: 145
- Thank you received: 6
-
-

1 year 9 months ago [\#365223](#365223) by [levelup](/forum/user/61801-levelup "View levelup's Profile")  *[How to update variant products price in mass action?](/forum/44-mass-actions/909024-how-to-update-variant-products-price-in-mass-action#365223 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.3  Hi I intended to update product prices using mass action. The products have variants. The main product's price was updated, but the prices of the variant products did not change.")* was created by *[levelup](/forum/user/61801-levelup "View levelup's Profile")*

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.1.3

Hi
I intended to update product prices using mass action. The products have variants. The main product's price was updated, but the prices of the variant products did not change.
[ ![hikashopupdatevariantproductspriceinmassaction.jpeg](/forum/attachment/60135) ](/forum/attachment/60135 "...assaction.jpeg")

---

Life is the unique stage of our art. Everyone sings their own song and leaves the stage. The stage is always permanent. Blessed is that song that people remember.

- [ ![hikashopupdatevariantproductspriceinmassaction.jpeg](/forum/attachment/60135) ](/forum/attachment/60135 "...assaction.jpeg") [ ](/forum/attachment/60135?download=1 "...assaction.jpeg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDkwMjQtaG93LXRvLXVwZGF0ZS12YXJpYW50LXByb2R1Y3RzLXByaWNlLWluLW1hc3MtYWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86324
- Thank you received: 14286
-
-

1 year 9 months ago [\#365224](#365224) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to update variant products price in mass action?](/forum/44-mass-actions/909024-how-to-update-variant-products-price-in-mass-action#365224 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.3  Hi I intended to update product prices using mass action. The products have variants. The main product's price was updated, but the prices of the variant products did not change.")*

Hi,

A variant doesn't have a category column linked to it. Only the main product is linked to categories.
So, the problem is not the action, which, by itself, works as well on products as on variants.
The problem here is the filter, which automatically discard all the variants.
You would have to use a filter on the product_parent_id column where you could enter the id of the main product. That would automatically filter the entries to only keep the variants of that product.

The following user(s) said Thank You: [levelup](/forum/user/61801-levelup "View levelup's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDkwMjQtaG93LXRvLXVwZGF0ZS12YXJpYW50LXByb2R1Y3RzLXByaWNlLWluLW1hc3MtYWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 145
- Thank you received: 6
-
-

1 year 9 months ago [\#365227](#365227) by [levelup](/forum/user/61801-levelup "View levelup's Profile")  Replied by *[levelup](/forum/user/61801-levelup "View levelup's Profile")* on topic *[How to update variant products price in mass action?](/forum/44-mass-actions/909024-how-to-update-variant-products-price-in-mass-action#365227 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.3  Hi I intended to update product prices using mass action. The products have variants. The main product's price was updated, but the prices of the variant products did not change.")*

Thank you for your response.
Is it possible to enter multiple values for product_parent_id so that the prices of variant products for several main products are updated?

---

Life is the unique stage of our art. Everyone sings their own song and leaves the stage. The stage is always permanent. Blessed is that song that people remember.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDkwMjQtaG93LXRvLXVwZGF0ZS12YXJpYW50LXByb2R1Y3RzLXByaWNlLWluLW1hc3MtYWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86324
- Thank you received: 14286
-
-

1 year 9 months ago [\#365228](#365228) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to update variant products price in mass action?](/forum/44-mass-actions/909024-how-to-update-variant-products-price-in-mass-action#365228 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.3  Hi I intended to update product prices using mass action. The products have variants. The main product's price was updated, but the prices of the variant products did not change.")*

Hi,

Yes. You would have to change the operator from "=" to "regex" and then you could use a regex in the input field, like: Code:

(123&#124;456&#124;789)

where 123, 456 and 789 are three product ids. And you can add as many ids as you want in the regex.

The following user(s) said Thank You: [levelup](/forum/user/61801-levelup "View levelup's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDkwMjQtaG93LXRvLXVwZGF0ZS12YXJpYW50LXByb2R1Y3RzLXByaWNlLWluLW1hc3MtYWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.113 seconds

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