%
p = @product
v = @variant
%>
<%= render :partial => 'caboose/products/admin_header' %>
General Options
<% if p.option1 && p.option1.strip.length > 0 %><% end %>
<% if p.option2 && p.option2.strip.length > 0 %><% end %>
<% if p.option3 && p.option3.strip.length > 0 %><% end %>
Inventory
Dimensions
Sale
Flat Rate Shipping
Downloadable Options
Bundling
Subscription
def custom_prorate_function() {
# Returns the amount that should be prorated for the first invoice for a subscription.
# Note: self represents the subscription object.
}