Sha256: be8bff97b81666ff80190d8dfcab827870ffcea8e601e63e872d64c293f78eec

Contents?: true

Size: 314 Bytes

Versions: 5

Compression:

Stored size: 314 Bytes

Contents

class ZonePricingHooks < Spree::ThemeSupport::HookListener

  # Add zone pricing tab to products admin area
  insert_after :admin_product_tabs, :partial => "admin/shared/zp_product_tab"

  # Add zone pricing to variant edit form
  insert_after :admin_variant_edit_form, :partial => 'admin/shared/zone_prices'

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_zone_pricing-0.1.5 zone_pricing_hooks.rb
spree_zone_pricing-0.1.4 lib/zone_pricing_hooks.rb
spree_zone_pricing-0.1.2 lib/zone_pricing_hooks.rb
spree_zone_pricing-0.1.1 zone_pricing_hooks.rb
spree_zone_pricing-0.1.0 zone_pricing_hooks.rb