Hi there.
I am using Marketplace App for courses.
There is a price showed for any course, but when I add it to the cart, and then go to final cart, the tax is added at that moment.
How could I make the first price showed for one course already inclued tax ?
Thanks for any help!
Just for context, are you using a template?
thank you @betteredbritain for your answer.
Indeed I used a template.
I mean, I’m shooting blind here because I don’t have any screenshots of your editor.
I think the easiest way to grasp this is with an example.
Say the base price of an item is $200 (base price meaning: price before tax).
Assume the tax rate is 15%. The price after tax is calculated using this formula:
Price after tax=Base priceĂ—(1+Tax rate)
So, in this case:
200Ă—1.15 = 230
If the tax rate were 35%, then:
200Ă—1.35 = 270
Now, applying this in your Bubble editor:
- Make sure your dynamic pricing value is set to number format.
- Add an asterisk (*) directly after the dynamic expression.
- Append (1 + tax rate value) to ensure the displayed price already includes tax.
Hope that makes sense.
1 Like
thanks a lot @betteredbritain for your help.
Actually I found an element called “Text RG - Cart’s List of” with Appearance = RG - Cart’s List of Carts:each item’s Subtotal:sum * 1.2:formatted as €1 028.58, so I think I should change the “1.2” (20% TAX).
But there is also “Expression - Total Shopping Cart” with the same kind of “value”…
Actually I didn’t build the website first, I was called to resume the whole thing…
I first believe there was a kind of “general variable” with the tax value changed just once for the while website…
I’m going to be real honest here @patlamenace I’m getting the impression this is a paid project and it appears to me you aren’t ready to charge for your Bubble services. If I were you, I would sign up for the Airdev bootcamp which would at least get you to intermediate developer level.
Otherwise, I’m happy to help you out because we all got to start somewhere.
In conclusion, to convert the taxed value to a non taxed value it would be "RG - Cart’s List of Carts:each item’s Subtotal:sum * 1:formatted as €1 028.58 (so simply remove the 0.2 decimal point) and to add tax to a non-taxed item simply add the 0.2 to the multiplier.
1 Like
Thanks a lot for your help, I will have a look to Airdev bootcamp, I didn’t know where to start.
1 Like
No problem, good luck and don’t be afraid to ask questions 
Here is the link to the bootcamp (note you’ll be required to sign up): https://build.airdev.co/bootcamp
1 Like