LLMS_Coupon::has_main_discount()

Determine if the main (non-trial) price is discounted by this coupon


Return Return

(bool)


Top ↑

Source Source

File: includes/models/model.llms.coupon.php

	public function has_main_discount() {
		return ( $this->get( 'coupon_amount' ) > 0 );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.21.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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