Sha256: e158abbbd62b49015ec93f8c02b86572ed6080dfe4aaef57cd75c9ee971a3db7

Contents?: true

Size: 449 Bytes

Versions: 2

Compression:

Stored size: 449 Bytes

Contents

spree_version = Gem.loaded_specs['spree_core'].version
unless spree_version >= Gem::Version.create('3.4.0') && spree_version < Gem::Version.create('3.5.0')
  Deface::Override.new(
    virtual_path: 'spree/products/show',
    name: 'add_product_viewed_to_products_show',
    insert_before: "[data-hook='product_show']",
    partial: 'spree/shared/trackers/segment/product_viewed.js',
    original: '5426c263ccfe477b270b55024abebc77cf951c91' 
  )
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_analytics_trackers-1.1.0 app/overrides/add_product_viewed_to_products_show.rb
spree_analytics_trackers-1.0.1 app/overrides/add_product_viewed_to_products_show.rb