Determine if there was a discount applied to this order via either a sale or a coupon

Return Return


Top ↑

Source Source

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

	public function has_discount() {
		return ( $this->has_coupon() || $this->has_sale() );

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.