On the coupon redemption pane on the checkout page, once you've entered a coupon to redeem, it displays a little table of all coupons being applied to the order so far. This table ends up with a bunch of extra empty rows.

The problem is in commerce-coupon-redemption-form.html.twig, where the twig filter function is being used incorrectly (by default it will filter on array value, and the array key is passed as a second parameter).

Issue fork commerce-3320857

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Olarin created an issue. See original summary.

olarin’s picture

Status: Active » Needs review

Issue fork generated and merge request submitted to fix template.

  • jsacksick committed 43263e7 on 8.x-2.x authored by Olarin
    Issue #3320857: Extra rows in redeemed coupon table on checkout form
    
jsacksick’s picture

Status: Needs review » Fixed

Committed, thanks.

  • jsacksick committed b6d1c05 on 3.0.x authored by Olarin
    Issue #3320857: Extra rows in redeemed coupon table on checkout form
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.