Hi @sameep,
Thanks for reaching out.
I have tried the Costs Estimation plugin with the same version as yours and it’s sending emails work okay without a problem.
The issue could be the mail system provider that you’re using. There could be a security issue that isn’t present before, which is now and it blocks email. And Costs Estimation plugin isn’t a subscription plugin or service, so your old customers shouldn’t get any recurring emails. Unless something in your site or mail service is collecting those data and sending them emails.
Wordpress only relies on the mail system provided by hosting, or by a plugin like SMTP. And Cost Estimation only uses the resources provided by Wordpress, hence, it has no control over the emails processed by your mail system. It only feeds the message to send, then your mail system process and send them.
And may I know to what version you have upgraded it? Because your current Costs Estimation plugin is up to date to the bundled version that we provided, then may I know what’s resolved?
As for the calculation, is it okay if you clone your site as staging and I’ll check there? So wouldn’t need to change your existing setup on your live site. Something is weird, the “type of tour” always return zero on my test.
And It shouldn’t be multipled by price
or you’ll really get wrong total.
Example,
“type of tour” = 40 (+ operation)
“how many people” = calculation by multiplication (+ operation), let’s say 5 people
Hence, 40 + ( 40 * 5 ) = 8,000
You see, every field has its own price that is added to the total price. When you already selected the “type of tour”, it’s already added to the total. Then that price is multiplied again by the number of people and the result is again added to the total price. It’s like total = total + 1
in coding, increment values.
The solution would be not adding the “type of tour”
Then just calculate it by multiplying “the type of tour” and “amount of people”, the product will then be added to the total price. Which means, you only need one field that has one price, and that one is the field where you apply the calculation.
This works on my installation [item-1103_value] * [item-1093_value]
, but the [item-1103_value]
“type of tour” always return zero on your site. And I like to check that further, and if possible please restore your site to when it still working so I could Identify what’s changed while we troubleshoot this on your staging. I’m not sure either if this was really working before as this seems data related, especially something wrong with the mailing process too.
Thanks!