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

  1. Full Name
  2. Email
  3. Street
  4. Suburb and Postcode
  5. State and Country

Shipping

  1. Full Name
  2. Email
  3. Street
  4. Suburb and Postcode
  5. 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
  1. Type of Card Visa Master Card Diners Club AMEX
  2. Name on Card
  3. Card Number
  4. Verification Code
  5. Date on Card

Special Instructions

BODY eway_config = <<-CONFIG CONFIG