Skip to content

Instantly share code, notes, and snippets.

@sidharrell
sidharrell / gist:8464476
Created January 16, 2014 22:12
diff for apply coupon to cart once modification
--- a/includes/admin-files/optional_event_settings.php
+++ b/includes/admin-files/optional_event_settings.php
@@ -103,7 +103,13 @@ $values=array(
<?php _e('Allow discounts in the shopping cart?','event_espresso'); ?>
</label>
<?php echo select_input('allow_mer_discounts', $values, isset($org_options['allow_mer_discounts']) ? $org_options['allow_mer_discounts'] : ''); ?> <br />
- </li>
+ </li>
+ <li>
+ <label>