puts "Seed Shop Forms"; # Add Cart Item Form.create({ :title => 'CartAddProduct', :action => '/shop/cart', # Redirects to the cart listing :body => <<-BODY BODY }) Form.create({ :title => 'CartAddProductVariant', :action => '/shop/cart', # Redirects to the cart listing :body => <<-BODY BODY }) # Update Cart Item Form.create({ :title => 'CartUpdateItem', :action => '', :body => <<-BODY BODY }) # Checkout Addresses addresses_body = <<-BODY Billing Full Name Email Street Suburb and Postcode State and Country Shipping Full Name Email Street Suburb and Postcode State and Country BODY addresses_config = <<-CONFIG checkout: address: billing: true shipping: true CONFIG Forms.create({ :title => 'CheckoutAddresses', :redirect_to => '/shop', :body => addresses_body, :config => addresses_config }) eway_body = <<-BODY Type of Card Visa Master Card Diners Club AMEX Name on Card Card Number Verification Code Date on Card