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

#   Product price with a formula

##

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

Less More

- Posts: 47
- Thank you received: 3
-
-

2 years 2 months ago [\#362579](#362579) by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")  *[Product price with a formula](/forum/31-development/908489-product-price-with-a-formula#362579 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, I need to update some categories' product prices with one click(By update &quot;xgold&quot; value). I need to build a price with this option: I have a formula: Formula: Product Price = ((((xgold &#42; bpprice) + xgold) &#42; yprofit) + ((xgold &#42; bpprice) + xgold)) &#42; gweight Elements that need to get to calculate the price formula: &quot;xgold&quot; = This is the daily gold price(This field is just a constant value that can be change later) &quot;gweight&quot; = Product weight &quot;bpprice&quot; = Percentage of wages &quot;yprofit&quot; = Percentage of profit all of them are custom field.  I need to build a price for my products in selected category with mentioned formula, is it possible? Thanks in advance")* was created by *[diacotm](/forum/user/52238-diacotm "View diacotm's Profile")*

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 5.1.2
-- PHP version -- : 8.1.13
-- Browser(s) name and version -- : firefox

Hi,
I need to update some categories' product prices with one click(By update "xgold" value). I need to build a price with this option:
I have a formula:
Formula: Product Price = ((((xgold * bpprice) + xgold) * yprofit) + ((xgold * bpprice) + xgold)) * gweight
Elements that need to get to calculate the price formula:
"xgold" = This is the daily gold price(This field is just a constant value that can be change later)
"gweight" = Product weight
"bpprice" = Percentage of wages
"yprofit" = Percentage of profit
all of them are custom field.

I need to build a price for my products in selected category with mentioned formula, is it possible?
Thanks in advance

- [ ![price.png](/forum/attachment/59597) ](/forum/attachment/59597 "price.png") [ ](/forum/attachment/59597?download=1 "price.png")

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

2 years 2 months ago [\#362580](#362580) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product price with a formula](/forum/31-development/908489-product-price-with-a-formula#362580 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, I need to update some categories' product prices with one click(By update &quot;xgold&quot; value). I need to build a price with this option: I have a formula: Formula: Product Price = ((((xgold &#42; bpprice) + xgold) &#42; yprofit) + ((xgold &#42; bpprice) + xgold)) &#42; gweight Elements that need to get to calculate the price formula: &quot;xgold&quot; = This is the daily gold price(This field is just a constant value that can be change later) &quot;gweight&quot; = Product weight &quot;bpprice&quot; = Percentage of wages &quot;yprofit&quot; = Percentage of profit all of them are custom field.  I need to build a price for my products in selected category with mentioned formula, is it possible? Thanks in advance")*

Hi,

How about using the price calculation plugin ?
[ www.hikashop.com/marketplace/product/148...ce-calculations.html](https://www.hikashop.com/marketplace/product/148-price-calculations.html)
It is made specifically to override the price of the products based on a formula, which can use custom fields.

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

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

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

Less More

- Posts: 47
- Thank you received: 3
-
-

2 years 2 months ago [\#362612](#362612) by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")  Replied by *[diacotm](/forum/user/52238-diacotm "View diacotm's Profile")* on topic *[Product price with a formula](/forum/31-development/908489-product-price-with-a-formula#362612 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, I need to update some categories' product prices with one click(By update &quot;xgold&quot; value). I need to build a price with this option: I have a formula: Formula: Product Price = ((((xgold &#42; bpprice) + xgold) &#42; yprofit) + ((xgold &#42; bpprice) + xgold)) &#42; gweight Elements that need to get to calculate the price formula: &quot;xgold&quot; = This is the daily gold price(This field is just a constant value that can be change later) &quot;gweight&quot; = Product weight &quot;bpprice&quot; = Percentage of wages &quot;yprofit&quot; = Percentage of profit all of them are custom field.  I need to build a price for my products in selected category with mentioned formula, is it possible? Thanks in advance")*

Dear Nicolas,
Hi,
Hope you do great,
Thanks so much,
Unfortunately, I don't have enough money to purchase the plugin to test it.
Sorry.

Best regards

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

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