简体   繁体   中英

woocommerce/wordpress set maximum cart total

I can't find any plugins that allow me to set rules I need to cart. I found plugins which allow to set rules that let you set max/min purchases (only calculates total of products) but doesn't take into account total price of products+fees+shipping (total cart). Anyone know any solutions?

Thank you.

As advised I can answer my own question.

First off my query was about setting maximum price allowed to a cart total, not just product total. eg.max Total products+shipping+fees=100

Here's the solution: I found a plugin called min "Min and Max Purchase for WooCommerce".If you set your fee (if you have that implemented) and shipping to static eg. $1 fee and $1 shipping all the time.

You can then set maximum total price of products to [desired maximum price to set - (static shipping cost+ static fee)= total max price to set for products]

From example on top deired maximum [$100 desired maximum total-($1 shipping+$1 fee)=$98 total max price to set for products]

This will only work for your eCommerce website IF your shipping cost are static and not affected by weight of products.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM