An App to calculate product price based upon profit

An App to calculate product price based upon profit

wkhasintha
New Member
6 0 0

Good day Everyone, first time here and I'm really new to shopify and require a help.

 

In shopify is it possible to calculate the final price of a product based on a formula of product price using a n app.

 

for an example if the product price is given as 5 dollars, we want to add 10% margin to it and calculate the final price of the product. else if the product price is 10 dollars we want to add a 20% margin to the price and show the final price to the user and so on. 

 

If you know an app that can do this please let me know. I'd really appreciate it.

Replies 7 (7)

Dotsquares
Shopify Partner
441 28 59

hi @wkhasintha 

Welcome to the Shopify community! 

Yes, what you're trying to do is definitely possible on Shopify using apps or custom pricing logic.

For your example—where the final price is calculated dynamically based on the product's original price and margin rules (e.g., 10% if $5, 20% if $10, etc.)—you can consider the following options:

 

1. Custom Pricing Apps
You might want to explore apps like:

Custom Price Calculator by ApiPPA

Dynamic Product Options by ITORIS

Advanced Product Options by Mageworx

These allow you to set formulas or custom rules for price calculations.

 

2. Shopify Scripts or Shopify Functions (for Shopify Plus)
If you're on Shopify Plus, you can use Shopify Scripts to implement conditional pricing logic like the one you described.

 

3. Custom App or Shopify App Extension
If your logic is very specific and changes frequently, you might consider building a small custom app or Shopify function that updates product prices based on your rules.

 

Dotsquares Ltd


Problem Solved? ✔ Accept and Like solution to help future merchants.


Shopify Partner Directory | Trustpilot | Portfolio
wkhasintha
New Member
6 0 0

hi @Dotsquares 

 

Thank you for the response. I tried the apps you 've mentioned and those didn't fit in with our requirement.

 

What we want is this. the workflow as below

 

1) Our team member creates a product in the shopify backend

2) He enters the default product price (that is the price without the product) and save the product.

3) The App should calculate the final price based on the profit criteria and update the final price.

 

the price calculation should happen when our team member finished creating the product.

 

Hope my requirement is clear

 

Best Regards

wkhasintha
New Member
6 0 0

Hi @msunvi here it is

 

£0-£5 100% 
£5.01-£20 60% 
£20.01-£50 40% 
£50.01-£100 42% 
£100.01-£300 30% 
£300.01-£700 22% 
£700.01-£1200 18% 

DLight001
Tourist
13 1 3

Hello @wkhasintha  I can understand what you mean now.  

 

Since the existing apps didn’t fit your workflow, your best option might be a custom-built Shopify app or automation that triggers after product creation and updates the price using your margin rules.

 

Something like this:

Team enters the base price

The app watches for new products

It applies your margin logic (e.g., 10% if $5, 20% if $10, etc.)

Then it automatically updates the product price field

 

You’d need a developer to set that up using Shopify Admin API or Shopify Flow (if available on your plan). Not too complex to build, but definitely very specific to your store’s process.

 

Happy to help outline the logic if you're moving in that direction!

wkhasintha
New Member
6 0 0

Hi @DLight001 Thank you for the response. Indeed seems like we need to build a custom app for this. 

DLight001
Tourist
13 1 3

Hello @wkhasintha  you're right, building  a custom app seems like the cleanest solution here given your workflow.


I think it's a smart move, especially since none of the existing apps fully handle the "post-save price calculation" based on custom margin logic.


However: 
   Do you already have a plan for how you'll develop the app  or have you come across any app that performs something similar? Would be great to learn what you’ve looked into so far.


If you’re still figuring it out, I’d be happy to help you outline the approach or guide you a little toward getting the app in place.

DLight001
Tourist
13 1 3

Hello @wkhasintha  you're right, building  a custom app seems like the cleanest solution here given your workflow. I think it's a smart move, especially since none of the existing apps fully handle the "post-save price calculation" based on custom margin logic.


However: 
   Do you already have a plan for how you'll develop the app  or have you come across any app that performs something similar? Would be great to learn what you’ve looked into so far.


If you’re still figuring it out, I’d be happy to help you outline the approach or guide you a little toward getting the app in place.