Skip to content

Commit

Permalink
Added code to show the discount box only if there is discount enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
rasseljandavid committed Jul 26, 2011
1 parent bb399d2 commit 6438fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/modules/ecommerce/views/cart/show.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ YAHOO.util.Event.onDOMReady(function(){
<td style="text-align:right;">{$order->grand_total|number_format:2}
</td>
</tr>
{if !isset($discounts[0])}
{if !isset($noactivediscounts)}
<tr class="{cycle values="odd, even"}">
<td colspan="3">
<div class="input-code">
<div class="input-code">
{form action="addDiscountToCart"}
{control type="text" name="coupon_code" label="Enter a Discount Code"}
{control type="buttongroup" submit="Apply Code"}
Expand Down

0 comments on commit 6438fbc

Please sign in to comment.