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

#   Price changer Action Button

##

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

Less More

- Posts: 61
- Thank you received: 3
-
-

2 years 6 months ago [\#360480](#360480) by [demoisellegol](/forum/user/79354-demoisellegol "View demoisellegol's Profile")  *[Price changer Action Button](/forum/44-mass-actions/908066-price-changer-action-button#360480 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.1  Hi i'm trying to create an action button which adds the stable amount of $10 to selected products  for example i select 3 products with prices of $10 , $20 and $30 when I click this button i want the prices to be changed to $20, $30, $40  i created a mass action with this code but it didnt work : {price&#95;value} = {price&#95;value}+10")* was created by *[demoisellegol](/forum/user/79354-demoisellegol "View demoisellegol's Profile")*

-- HikaShop version -- : 5.0.4
-- Joomla version -- : 5.1.0
-- PHP version -- : 8.1

Hi
i'm trying to create an action button which adds the stable amount of $10 to selected products

for example i select 3 products with prices of $10 , $20 and $30
when I click this button i want the prices to be changed to $20, $30, $40

i created a mass action with this code but it didnt work :
{price_value} = {price_value}+10

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL21hc3MtYWN0aW9ucy85MDgwNjYtcHJpY2UtY2hhbmdlci1hY3Rpb24tYnV0dG9uP3RtcGw9bWFya2Rvd24=) 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: 86363
- Thank you received: 14297
-
-

2 years 6 months ago [\#360487](#360487) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price changer Action Button](/forum/44-mass-actions/908066-price-changer-action-button#360487 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.1  Hi i'm trying to create an action button which adds the stable amount of $10 to selected products  for example i select 3 products with prices of $10 , $20 and $30 when I click this button i want the prices to be changed to $20, $30, $40  i created a mass action with this code but it didnt work : {price&#95;value} = {price&#95;value}+10")*

Hi,

In your mass action, you need an action "update the values" on the "price_value" column.
Select the "operation" mode and enter the operation: Code:

{price.price_value}+10

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

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

Less More

- Posts: 61
- Thank you received: 3
-
-

2 years 6 months ago [\#360495](#360495) by [demoisellegol](/forum/user/79354-demoisellegol "View demoisellegol's Profile")  Replied by *[demoisellegol](/forum/user/79354-demoisellegol "View demoisellegol's Profile")* on topic *[Price changer Action Button](/forum/44-mass-actions/908066-price-changer-action-button#360495 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.1  Hi i'm trying to create an action button which adds the stable amount of $10 to selected products  for example i select 3 products with prices of $10 , $20 and $30 when I click this button i want the prices to be changed to $20, $30, $40  i created a mass action with this code but it didnt work : {price&#95;value} = {price&#95;value}+10")*

I did exactly what you said.
I get the error :
The table {price does not exist

I attached screenshots of my mass ation and the error

[ ![1.jpg](/forum/attachment/59144) ](/forum/attachment/59144 "1.jpg")

[ ![2.jpg](/forum/attachment/59145) ](/forum/attachment/59145 "2.jpg")

- [ ![1.jpg](/forum/attachment/59144) ](/forum/attachment/59144 "1.jpg") [ ](/forum/attachment/59144?download=1 "1.jpg")
- [ ![2.jpg](/forum/attachment/59145) ](/forum/attachment/59145 "2.jpg") [ ](/forum/attachment/59145?download=1 "2.jpg")

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

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

Less More

- Posts: 61
- Thank you received: 3
-
-

2 years 6 months ago [\#360500](#360500) by [demoisellegol](/forum/user/79354-demoisellegol "View demoisellegol's Profile")  Replied by *[demoisellegol](/forum/user/79354-demoisellegol "View demoisellegol's Profile")* on topic *[Price changer Action Button](/forum/44-mass-actions/908066-price-changer-action-button#360500 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.1  Hi i'm trying to create an action button which adds the stable amount of $10 to selected products  for example i select 3 products with prices of $10 , $20 and $30 when I click this button i want the prices to be changed to $20, $30, $40  i created a mass action with this code but it didnt work : {price&#95;value} = {price&#95;value}+10")*

I removed { } and problem is solved now. thank you alot.
the correct operation was :
price.price_value+10 instead of {price.price_value}+10

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL21hc3MtYWN0aW9ucy85MDgwNjYtcHJpY2UtY2hhbmdlci1hY3Rpb24tYnV0dG9uP3RtcGw9bWFya2Rvd24=) 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: 86363
- Thank you received: 14297
-
-

2 years 6 months ago [\#360522](#360522) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price changer Action Button](/forum/44-mass-actions/908066-price-changer-action-button#360522 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.1  Hi i'm trying to create an action button which adds the stable amount of $10 to selected products  for example i select 3 products with prices of $10 , $20 and $30 when I click this button i want the prices to be changed to $20, $30, $40  i created a mass action with this code but it didnt work : {price&#95;value} = {price&#95;value}+10")*

Hi,

Sorry. Indeed, the {} should not be added.
I mixed it up with email tags.

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

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

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