Hi Nicolas,
In addition to the pricing-level issue, we’ve also noticed something else and I’m not sure if it’s related or relevant.
On all products URLs, when inspecting the page we see the word “undefined” and this JS block is present:
<script>
if(typeof hikaVote !== "undefined") {
hikaVote.setOptions({
itemId : "11",
urls : {
save : "/component/hikashop/vote/save?tmpl=component",
show : "/component/hikashop/vote/show?tmpl=component"
},ctrl : "product",
both : "0"
});
} else {
console.log('the HikaShop vote initialization JS is loaded while hikaVote is not available !');
}
function hikashop_vote_useful(hikashop_vote_id, val) { return hikaVote.useful(hikashop_vote_id, val); }
function hikashop_send_comment(){ return hikaVote.vote(0,"hikashop_vote_rating_id", false); }
function hikashop_send_vote(rating, from){ return hikaVote.vote(rating, from); }
</script>
It looks like the vote initialization is being output, but the hikaVote object is not available (so the page ends up showing “undefined”).
Is this expected in any scenario (e.g., if voting is disabled), or does it indicate a JS loading/order issue?
Could this have any impact on other checkout/price-level logic, or is it unrelated?
Thanks in advance.