Sha256: 9b7e2d5c1eaefef17e0366fc15bbb1135e31c47eb41473e1bb883a908b0ee749

Contents?: true

Size: 695 Bytes

Versions: 10

Compression:

Stored size: 695 Bytes

Contents

<div id="product-price">
  <h6 class="product-section-title"><%= t(:price) %></h6>
  <div><span class="price selling" itemprop="price"><%= number_to_currency getCountryPrice @product %></span></div>
</div>

<div class="add-to-cart">
  <% if @product.has_stock? || Spree::Config[:allow_backorders] %>      
    <%= number_field_tag (@product.has_variants? ? :quantity : "variants[#{@product.master.id}]"),
      1, :class => 'title', :in => 1..@product.on_hand %>
    <%= button_tag :class => 'large primary', :id => 'add-to-cart-button', :type => :submit do %>
      <%= t(:add_to_cart) %>
    <% end %>
  <% else %>
    <%= content_tag('strong', t(:out_of_stock)) %>
  <% end %>
</div>

</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_zoned-0.5.38 app/views/spree/zoned/_product_price.html.erb
spree_zoned-0.5.37 app/views/spree/zoned/_product_price.html.erb
spree_zoned-0.5.36 app/views/spree/zoned/_product_price.html.erb
spree_zoned-0.5.35 app/views/spree/zoned/_product_price.html.erb
spree_zoned-0.5.34 app/views/spree/zoned/_product_price.html.erb
spree_zoned-0.5.33 app/views/spree/zoned/_product_price.html.erb
spree_zoned-0.5.32 app/views/spree/zoned/_product_price.html.erb
spree_zoned-0.5.31 app/views/spree/zoned/_product_price.html.erb
spree_zoned-0.5.30 app/views/spree/zoned/_product_price.html.erb
spree_zoned-0.5.29 app/views/spree/zoned/_product_price.html.erb