Skip to content

Instantly share code, notes, and snippets.

View chinel's full-sized avatar
🎯
Focusing

Nel Kwaz chinel

🎯
Focusing
  • Remote
View GitHub Profile
@cliffordp
cliffordp / functions.php
Last active July 16, 2021 00:06
Make WooCommerce cart Quantity input field non-editable (readonly) ONLY FOR Event Tickets Plus products
<?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() {