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

Coupon & Cart Discounts should be listed in the Cart Table and Summary Step Table #23

Open
nimeso opened this issue Jun 15, 2014 · 0 comments

Comments

@nimeso
Copy link

nimeso commented Jun 15, 2014

Do we have something like
<% loop Discounts %> or should it be part of <% loop Modifiers %> ???

eg:

<% with Cart %>
    <table class="table">
        <tfoot>
            <% loop Modifiers %>
                <% if ShowInTable %>
            <tr class="modifierRow $EvenOdd $FirstLast $Classes">
                <td colspan="3">$TableTitle</td>
                <td>$TableValue.Nice</td>
            </tr>
                <% end_if %>
            <% end_loop %>
            <% loop Discounts %> <!-- ?????? -->
                <% if ShowInTable %>
            <tr class="modifierRow $EvenOdd $FirstLast $Classes">
                <td colspan="3">$TableTitle</td>
                <td>$TableValue.Nice</td>
            </tr>
                <% end_if %>
            <% end_loop %>
            <tr>
                <th colspan="3">Grand Total</th>
                <td>$Total.Nice $Currency</td>
            </tr>
        </tfoot>
    </table>
<% end_with %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant