LLMS_Product::is_purchasable()

Determine if the product is purchasable


Description Description

At least one gateway must be enabled and at least one access plan must exist. If the product is a course, additionally checks to ensure course enrollment is open and has capacity.


Return Return

(bool)


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.38.0 Use has_restrictions() to determine if the product has additional restrictions.
3.25.2 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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