WC_Coupon::set_minimum_amount( float $amount )

Set the minimum spend amount.

Description Description

Parameters Parameters


(Required) Minium amount.

Top ↑

Source Source

File: includes/class-wc-coupon.php

	public function set_minimum_amount( $amount ) {
		$this->set_prop( 'minimum_amount', wc_format_decimal( $amount ) );

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.