solidusio-contrib / solidus_tracking

Data tracking extension for your Solidus store.
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

config.variant_url_builder bug #33

Open jakemumu opened 3 years ago

jakemumu commented 3 years ago

Defaults as:

# A proc that accepts a variant and returns the URL of that variant's PDP.
  config.variant_url_builder = proc do |variant|
    Spree::Core::Engine.routes.url_helpers.edit_password_url(
      variant.product,
      protocol: 'https',
      host: Spree::Store.default.url,
    )
  end

note: Spree::Core::Engine.routes.url_helpers.edit_password_url