Sha256: c8b11bdec734d68a672ec0f53cd5c58275eae7ca876ae1ccc41b7b89acfa5637

Contents?: true

Size: 1.08 KB

Versions: 151

Compression:

Stored size: 1.08 KB

Contents

<h3>All Finished!</h3>
<p>Thank you for your order! Your order has been submitted.</p>
<p>Please allow up to 48 hours for your order to be processed.  Orders are processed during normal business hours Monday through Friday.</p>

<% if @last_order.has_downloadable_items? %>
	<% sc = Caboose::StoreConfig.where(:site_id => @site.id).last %>
	<% instr = (sc && !sc.download_instructions.blank?) ? sc.download_instructions : "Your order contained downloadable items. Download your items with the links below:" %>
  <div><%== instr %></div>
  <ul id='downloads'>
    <% @last_order.line_items.each do |li| %>
      <% if li.variant.downloadable %>
        <li><a href='/my-account/orders/<%= @last_order.id %>/line-items/<%= li.id %>/download' target="_blank"><%= li.variant.product.title %></a></li>
      <% end %>
    <% end %>
  </ul>   
<% end %>

<p><a href="/">Continue Shopping</a></p>


<%= content_for :caboose_css do %>
<style type='text/css'>

p { margin-bottom: 10px; }

#downloads { margin: 0 0 10px 0; padding: 0; list-style: none; }
#downloads li { margin: 0; padding: 0; }

</style>
<% end %>

Version data entries

151 entries across 151 versions & 1 rubygems

Version Path
caboose-cms-0.5.217 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.216 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.215 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.214 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.213 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.212 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.211 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.210 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.209 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.208 app/views/caboose/checkout/thanks.html.erb
caboose-cms-0.5.207 app/views/caboose/checkout/thanks.html.erb