Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

item variant using the wrong key? #377

Open
paolobln opened this issue Nov 15, 2024 · 0 comments
Open

item variant using the wrong key? #377

paolobln opened this issue Nov 15, 2024 · 0 comments

Comments

@paolobln
Copy link

paolobln commented Nov 15, 2024

Hi, we are using GTM4WP v. 1.20.2 and in the view_item event, the variant key seems to be using the wrong naming convention, as it should be item_variant.

The key cartContent.items[n].item_variant seems correct instead.
If there are any other details I can provide, please let me know.

The line should be this one:

current_product_detail_data.variant = product_variation_attribute_values.join(',');

image

Added Pull Request #378

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant