This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Make WooCommerce cart Quantity input field non-editable (readonly) ONLY FOR Event Tickets Plus products | |
| * | |
| * By Matt B and Cliff P | |
| * | |
| * From https://gist.github.com/cliffordp/66bf05df61ee269c60ff20d6f39e2cab | |
| */ | |
| function cliff_etplus_woo_cart_quantity_readonly() { |