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

BV.reviews.on('show' does not fire #80

Open
krisztian-fekete opened this issue Oct 19, 2021 · 0 comments
Open

BV.reviews.on('show' does not fire #80

krisztian-fekete opened this issue Oct 19, 2021 · 0 comments

Comments

@krisztian-fekete
Copy link

I'm trying to activate the tab on a Magento 2 detail page which contains the BazaarVoice reviews (data-bv-show="reviews") when the "Read a review" button in the bv_modal_component_container or the stars are clicked. I followed the instructions outlined in this article, but BV.reviews.on('show' never triggers for me when the button or the stars are clicked in the rating summary widget:

window.bvCallback = function (BV) {
                    // Register a function to be called when a BV feature needs to display the R&R element, such as Rating Summary's stars
                    BV.reviews.on('show', function () {
                        console.log('bv reviews on show') // does not fire
                    });
                }

Please advise.

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