Closed (fixed)
Project:
Commerce Coupon (D7)
Version:
7.x-1.0-beta6
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2012 at 13:05 UTC
Updated:
28 Sep 2012 at 09:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
pcambraI think this is a duplicate of #1307420: Hide coupon pane in checkout if no coupons are active
Comment #2
msmithcti commentedI'm not sure #1307420: Hide coupon pane in checkout if no coupons are active is a direct duplicate. If I'm understanding that issue's description correctly, it's talking about hiding the pane if there aren't any coupons active on the whole site. This feature request is about hiding just the review pane if no coupons were applied to the order on a previous page. I've attached a patch that does what I'm describing.
Comment #3
freakalis commentedPatch in #2 does not work because function commerce_coupon_get_coupons_by_order does not exist anymore.
This patch work in beta6
Comment #4
freakalis commentedAttached wrong patch in #3, here is the correct one
Comment #5
pcambraThanks both, I've just committed this, had to rebase the patch to be applied from the module folder and not from the drupal root folder, also fixed an extra space.