Sha256: 82f1a1054e1a91c4ab034296f43e159a73ad12d773870443111f0c30be2cb0b8

Contents?: true

Size: 1.6 KB

Versions: 30

Compression:

Stored size: 1.6 KB

Contents

{{#if isNew}}
  <td class="line-item-select-variant" colspan="2">
    <input type="hidden" name="variant_id" class="js-select-variant select-variant fullwidth">
  </td>
{{else}}
  <td class="line-item-image">
    {{> _image image=line_item.variant.images.[0] size="mini" }}
  </td>
  <td class="line-item-name">
    {{ line_item.variant.name }}<br>
    {{#if line_item.variant.options_text }}
      {{ line_item.variant.options_text }}<br>
    {{/if}}
    <strong>{{ t "sku" }}:</strong> {{ line_item.variant.sku }}
  </td>
{{/if}}
<td class="line-item-price">
  {{ line_item.single_display_amount }}
</td>
{{#if editing}}
  <td class="line-item-qty-edit">
    <form>
      <input type="number" name="quantity" value="{{ line_item.quantity }}" min="1" class="line_item_quantity" size="5">
    </form>
  </td>
{{else}}
  <td class="line-item-qty-show">
    {{ line_item.quantity }}
  </td>
{{/if}}
<td class="line-item-total">
  {{ line_item.display_amount }}
</td>
<td class="cart-line-item-delete actions" data-hook="cart_line_item_delete">
  {{#if editing}}
    <button class="save-line-item fa fa-ok no-text with-tip" data-action="save" title="{{ t "actions.save" }}"></button>
    {{#unless noCancel}}
      <button class="cancel-line-item fa fa-cancel no-text with-tip" data-action="cancel" title="{{ t "actions.cancel" }}"></button>
    {{/unless}}
  {{else}}
    <button class="edit-line-item fa fa-edit no-text with-tip" data-action="edit" title="{{ t "actions.edit" }}"></button>
    <button class="delete-line-item fa fa-trash no-text with-tip" data-action="remove" title="{{ t "actions.delete" }}"></button>
  {{/if}}
</td>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
solidus_backend-4.4.1 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.4.0 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.3.4 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.2.4 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.1.5 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.3.3 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.3.2 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.1.4 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.3.1 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.3.0 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.2.3 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.1.3 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.0.4 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-3.4.6 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.0.3 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.1.2 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.2.2 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-3.4.5 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.2.1 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-4.2.0 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs