Skip to content

Instantly share code, notes, and snippets.

@PluginRepublicSupport
Created October 26, 2023 15:54
Show Gist options
  • Save PluginRepublicSupport/6b84a78610dbd6354d8df77745e2e9fe to your computer and use it in GitHub Desktop.
Save PluginRepublicSupport/6b84a78610dbd6354d8df77745e2e9fe to your computer and use it in GitHub Desktop.
Edit child product quantity in cart
<?php
// Editable child quantity in cart when set to independent
add_filter('pewc_disable_child_quantities', '__return_false');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment