Skip to content

Always default Scope when implementing fi currency code via data_layer.xml #305

Description

@WouterSteen

When you implement for instance this feature:

https://github.com/yireo/Yireo_GoogleTagManager2/blob/master/etc/data_layer.xml#L6

The result is cached and not scoped within storeviews.

That is because data_layer is parsed as layout xml that there is storeconfig missing.

When you disable cache, except the layout cache, you can reproduce this like so:

  • set the currency code of store a to USD
  • set the currency code of store b to EUR
  • implement this currency code tag
  • visit store a: currency_code = USD
  • visit store b: currency_code = USD

Expected results:

  • visit store a: currency_code = USD
  • visit store b: currency_code = EUR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions