Hello

anyone can help as i want to add another delivery charge field after each km with new condition after reach xertain km

Like let saya total delivery distance is 25 km;
new price will be: 2 usd (for 1st 2 km) + 12 usd (for next 12 km) + 11 usd (for balance after exceed 15 km which remaining 11 km)

total will be : 25 usd

anyone can help and guide?

sir @Saurabh this changes only at backend right? no need on rider or user? and at which file?

thanks

    24 days later

    Saurabh can u share at which file name/line at frontend need to modify sir?

    tq

      Saurabh no worries sir, just share once everything cool down.

      Thanks again

      sir @Saurabh , i have found the dynamic delivery charges code part frontend (payment list and billdetails index.js)

      can u share some idea of calculation if i want to add another tier with condition for 3rd tier dynamic delivery fees as currently only have base delivery/charge and extra distance/charge

      i'm trying few logic but it is very tricky on the mathematics.. haha

      hope u can share some idea as i knew others backend part to modify too and add new field in sql table, just need the formula, then eveyrthing will be good for me to explore.

      Tq

        surya90 the formula should be simple for your developer and the code there is self explanatory. Sorry cannot help with custom logic as I will need to first understand everything that you are trying to achieve. (Very limited on time for this help, sorry)

          Write a Reply...