Sha256: 107fd603da994a590f91b23cb91288b0f33ca085c5db9bbac3d932f564ca7ff3

Contents?: true

Size: 1.22 KB

Versions: 6

Compression:

Stored size: 1.22 KB

Contents

<div class="row" style="min-height: 64px">
    <div class="col-md-9">
        <%= raw ecommerce_draw_breadcrumb %>
    </div>

    <div class="col-md-3">
        <div class="well shopping_cart_box">
            <% @cart ||= e_current_cart %>
            <h4><%= t('.shopping_cart', default: 'Shopping Cart') %></h4>
            <p><%= t('.total_items', default: '(%{qty}) items', qty: @cart.items_total) %>, <%= t('.total', default: 'Total') %>: <%= @cart.the_total_amount %></p>
            <span>
                <a href="<%= cama_ecommerce_post_type.the_url %>" class="btn btn-default btn-xs"><%= t('.products_list', default: 'Products list') %></a>
                <% if (@cart.items_total > 0) %>
                    <a href="<%= plugins_ecommerce_checkout_cart_path %>" class="btn btn-warning btn-xs"><%= t('.purchase', default: 'Purchase') %></a>
                <% end %>
                <a href="<%= plugins_ecommerce_orders_path %>" class="btn btn-success btn-xs"><%= t('.my_orders', default: 'My Orders') %></a>
            </span>
        </div>
    </div>
</div>
<div class="clearfix">
    <%= render partial: "/camaleon_cms/flash_messages.html.erb", locals:{ flash: (flash[:cama_ecommerce] || {}).with_indifferent_access} %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
camaleon_ecommerce-2.0.4 app/views/post_types/commerce/_cart_widget.html.erb
camaleon_ecommerce-2.0.3 app/views/post_types/commerce/_cart_widget.html.erb
camaleon_ecommerce-2.0.2 app/views/post_types/commerce/_cart_widget.html.erb
camaleon_ecommerce-2.0.1 app/views/post_types/commerce/_cart_widget.html.erb
camaleon_ecommerce-2.0.0 app/views/post_types/commerce/_cart_widget.html.erb
camaleon_ecommerce-1.2.1 app/views/plugins/ecommerce/partials/_cart_widget.html.erb