<% sc = @store_config %>

Edit Store

Payment Processor


Fulfillment Contacts


Dimension Units


Tax

If calculating tax automatically, a TaxCloud (taxcloud.net) account is required. Otherwise, a custom tax function is required.

Custom Tax Function

def custom_tax_function(order) {

# return 0.00
}


Order Packages

If calculating order packages automatically, all shippable variants must have dimensions and weights populated. Otherwise, a custom order packages function is required.

Custom Order Packages Function

def custom_order_packages_function(order) {

# This function does not return anything, but creates the Caboose::OrderPackage objects for the given order
}


Shipping

If calculating shipping rates automatically, all shippable variants must have dimensions and weights populated. Otherwise, a custom shipping rates function is required.

Custom Shipping Rates Function

def custom_shipping_rates_function(order) {

# Returns an empty array by default.
# Return an array of order packages and their rates
# return [{
#   :order_package => Caboose::OrderPackage.new,
#   :rates => [{
#     :shipping_method => Caboose::ShippingMethod.new,
#     :total_price => 3.50
#   }]
# }]
}

Shipping Origin

Shipping Carriers


Other

<% content_for :caboose_js do %> <%= javascript_include_tag "caboose/model/all" %> <% end %>