Product price with a formula

  • Posts: 43
  • Thank you received: 3
3 months 3 weeks ago #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 "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

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13386
  • MODERATOR
3 months 3 weeks ago #362580

Hi,

How about using the price calculation plugin ?
www.hikashop.com/marketplace/product/148...ce-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

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
3 months 3 weeks ago #362612

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 or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum