Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHECKOUT-1671 Use different id for gift cert in cart page #1044

Merged
merged 1 commit into from
Jul 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Draft
- Move some hard-coded validation messages to language file [#1040](https://github.com/bigcommerce/cornerstone/pull/1040)
- Use different id for gift cert in cart page [#1044](https://github.com/bigcommerce/cornerstone/pull/1044)

## 1.9.0 (2017-07-18)
- Product Images were obscuring product details on smaller viewports [#1019](https://github.com/bigcommerce/cornerstone/pull/1019)
Expand Down
4 changes: 2 additions & 2 deletions templates/components/cart/gift-certificate-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

<div class="cart-form gift-certificate-code" style="display: none;">
<form class="form form--hiddenLabels cart-gift-certificate-form" method="post" action="{{urls.cart}}">
<label class="form-label" for="couponcode">{{lang 'cart.gift_certificates.cert_code'}}</label>
<input class="form-input" data-error="{{lang 'cart.gift_certificates.empty_error'}}" id="couponcode" type="text" name="certcode" value="" placeholder="{{lang 'cart.gift_certificates.add_cert_code'}}">
<label class="form-label" for="certcode">{{lang 'cart.gift_certificates.cert_code'}}</label>
<input class="form-input" data-error="{{lang 'cart.gift_certificates.empty_error'}}" id="certcode" type="text" name="certcode" value="" placeholder="{{lang 'cart.gift_certificates.add_cert_code'}}">
<input class="button button--primary button--small" type="submit" value="{{lang 'cart.coupons.button'}}">
<input type="hidden" name="action" value="applycoupon">
</form>
Expand Down