Total : 0.00 €

Before contacting us, please make sure to check our F.A.Q

Please, login or register to our website in order to be able to post a presale question in the forum.

× WooPrice Calculator PRO

[SOLVED]Restricting products that equal zero

More
6 months 3 weeks ago #1341 by Enrico
Enrico replied the topic: [SOLVED]Restricting products that equal zero
Hi Ken,

I'm glad you solved! If you have some free time would like to leave us a review here?

wordpress.org/plugins/woo-price-calculator/#reviews

Have a good day

Kind Regards,
Enrico
AT235

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #1339 by Ken
Ken replied the topic: [SOLVED]Restricting products that equal zero
That pointed me in the right direction. Thanks Enrico!

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #1329 by Enrico
Enrico replied the topic: [SOLVED]Restricting products that equal zero
Hi Ken,

I think this article is just for you: altoswebsolutions.com/blog/how-to-check-...ce-add-to-cart-price

It explain how to check the product price. If the product price is 0, it shows an error message, otherwise the product will be added to your cart.

You need to follow the instructions how to install it in your functions.php file.

Kind Regards,
Enrico
AT235

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #1319 by Ken
Ken created the topic: [SOLVED]Restricting products that equal zero
A similar question was asked about 6.5 months ago but a solution was never posted: altoswebsolutions.com/forum/woo-price-ca...t-zero-price-product

I use date fields to calculate the product price based on the difference in days between the two dates. It's currently possible to put the same date in twice and get a cost of 0. What is the best way to keep that from happening? I've tried returning a string in my excel file if the difference in days equal zero but to no avail.

Thanks!

Please Log in or Create an account to join the conversation.

Moderators: david
Time to create page: 0.577 seconds

Cart

Total : 0.00 €