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

#   How to empty variants price through mass action?

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

10 years 10 months ago [\#226483](#226483) by [Herm](/forum/user/36950-herm "View Herm's Profile")  *[How to empty variants price through mass action?](/forum/44-mass-actions/881553-how-to-empty-variants-price-through-mass-action#226483 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again. Any suggestion how to do it? Actually I can just change the price but not empty it. I have the Business Edition of Hikashop Thanks &amp; regards Markus")* was created by *[Herm](/forum/user/36950-herm "View Herm's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8

Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again.
Any suggestion how to do it? Actually I can just change the price but not empty it.
I have the Business Edition of Hikashop
Thanks &amp; regards
Markus

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 10 months ago [\#226512](#226512) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to empty variants price through mass action?](/forum/44-mass-actions/881553-how-to-empty-variants-price-through-mass-action#226512 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again. Any suggestion how to do it? Actually I can just change the price but not empty it. I have the Business Edition of Hikashop Thanks &amp; regards Markus")*

Hi,

This is indeed a missing feature in the mass actions. We can only set a price value but not remove a price.
I add this on our todo list.

For now, you can use this MySQL request to remove the price entries of the variants: Code:

DELETE price FROM #__hikashop_price AS price JOIN #__hikashop_product AS product ON price.price_product_id = product.product_id WHERE product.product_type = 'variant'

Please do a backup before anything ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

10 years 10 months ago [\#226521](#226521) by [Herm](/forum/user/36950-herm "View Herm's Profile")  Replied by *[Herm](/forum/user/36950-herm "View Herm's Profile")* on topic *[How to empty variants price through mass action?](/forum/44-mass-actions/881553-how-to-empty-variants-price-through-mass-action#226521 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again. Any suggestion how to do it? Actually I can just change the price but not empty it. I have the Business Edition of Hikashop Thanks &amp; regards Markus")*

Thanks for the quick solution. Would be great to see it implemented soon. ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[river](/forum/user/9591-river "View river's Profile")**
- [![river's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9591.gif)](/forum/user/9591-river "View river's Profile")
- [ Offline](/forum/user/9591-river)

Less More

- Posts: 344
- Thank you received: 3
-
-

10 years 4 months ago [\#244317](#244317) by [river](/forum/user/9591-river "View river's Profile")  Replied by *[river](/forum/user/9591-river "View river's Profile")* on topic *[How to empty variants price through mass action?](/forum/44-mass-actions/881553-how-to-empty-variants-price-through-mass-action#244317 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again. Any suggestion how to do it? Actually I can just change the price but not empty it. I have the Business Edition of Hikashop Thanks &amp; regards Markus")*

Jooomla 3.5
Hikashop 2.6.3

After updating prices and adding tax with massaction I have som products with variants, and these variants now has the price 0

I need to remove the price 0 in these variants and make them blank.
The other products that have variants with different prices has to stay this way, and not be affected.

Is this possible with Mass action ?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 4 months ago [\#244320](#244320) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to empty variants price through mass action?](/forum/44-mass-actions/881553-how-to-empty-variants-price-through-mass-action#244320 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again. Any suggestion how to do it? Actually I can just change the price but not empty it. I have the Business Edition of Hikashop Thanks &amp; regards Markus")*

Hi,

You can potentially set a mass action like that: [ take.ms/8yCDV](http://take.ms/8yCDV)
That way the action will be applied only on variants with a price higher than 0.

As always, before doing any action please backup your database.

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

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

Less More

- Posts: 846
- Thank you received: 92
-
-

10 years 2 months ago [\#250612](#250612) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[How to empty variants price through mass action?](/forum/44-mass-actions/881553-how-to-empty-variants-price-through-mass-action#250612 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again. Any suggestion how to do it? Actually I can just change the price but not empty it. I have the Business Edition of Hikashop Thanks &amp; regards Markus")*

hi
what is the default SQL type and value of price for variant in SQL table ?
regard's

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODE1NTMtaG93LXRvLWVtcHR5LXZhcmlhbnRzLXByaWNlLXRocm91Z2gtbWFzcy1hY3Rpb24/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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#250656](#250656) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to empty variants price through mass action?](/forum/44-mass-actions/881553-how-to-empty-variants-price-through-mass-action#250656 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again. Any suggestion how to do it? Actually I can just change the price but not empty it. I have the Business Edition of Hikashop Thanks &amp; regards Markus")*

Hi,

We are not able to understand your question.

Regards,

---

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

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

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

Less More

- Posts: 846
- Thank you received: 92
-
-

10 years 1 month ago [\#251980](#251980) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[How to empty variants price through mass action?](/forum/44-mass-actions/881553-how-to-empty-variants-price-through-mass-action#251980 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again. Any suggestion how to do it? Actually I can just change the price but not empty it. I have the Business Edition of Hikashop Thanks &amp; regards Markus")*

i ll do a test myself and give feedback ! here another way to ask my question

set up

---

shoes product use 2 characteristics that have each 2 values
size -&gt; small big
color -&gt; red , blue
so i have 2*2=4 variants ( sub product ) attach to the main product

question

---

can we define for each variant a specific price
big red 100€
small red 50€
where this value price is store in sql database ! i want sql table name , column name and type name

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

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

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 1 month ago [\#252002](#252002) 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 empty variants price through mass action?](/forum/44-mass-actions/881553-how-to-empty-variants-price-through-mass-action#252002 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Hi, is there any way to empty the price of my variants. Due to an import error all my products have 0 in the variants pricefield. I need it totally empty so I will see the main price of each product again. Any suggestion how to do it? Actually I can just change the price but not empty it. I have the Business Edition of Hikashop Thanks &amp; regards Markus")*

Hi,

Yes, you can do that.
In the interface, under the "variants" tab of the product, you can edit each variant and enter a price for each.
All the products and variants prices are stored in the table hikashop_price in the column "price_value" which is a decimal.

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

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

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