Price not displaying correctly

Matthew H. shared this problem 8 months ago
Solved

Additional hour is not displaying correctly. Not sure where $350 is coming from

Comments (2)

photo
1

I am having our web developers look into this and will let you know what they advise.

Thank you

photo
2

Here is what our developers advised:


So the additional hour pricing is actually a calculated amount based on programmatically looking for a difference in pricing between two points. So what’s happening here is that it’s finding the two different prices listed first $899 & $1249 and subtracting them from each other which is where the $350 is coming from.


In order to get their desired behavior they just needed some code added before the end of the “on-ready” section that targets the specific html element that provides the price they wanted and update it’s text property to the value they want. That looks like this for this specific rental:

ebb375f175b78ef1b0c710a7e0eb3120

Leave a Comment
 
Attach a file