Prices

  • Posts: 383
  • Thank you received: 12
  • Hikashop Business
19 hours 41 minutes ago #370243

Hi Nicolas,

On our website we have three price levels (Normal, VIP, and Reseller).

Since applying the patch that fixed the issues with the Reminder / Waitlist (etc.) plugins — or at least, this is when we noticed it — Reseller-level users are being charged with the Normal pricing when they place an order, instead of the pricing level assigned to their account.

Could this be related to the patch? If so, could you please advise how to fix it (or what we should check/configure to ensure the correct price level is applied at checkout)?

Thanks in advance.

Please Log in or Create an account to join the conversation.

  • Posts: 383
  • Thank you received: 12
  • Hikashop Business
19 hours 18 minutes ago #370244

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.

Please Log in or Create an account to join the conversation.

  • Posts: 85038
  • Thank you received: 13863
  • MODERATOR
15 hours 35 minutes ago #370246

Hi,

All of this is unrelated.

The patch I made for the plugins was relative to the cron.
The cron is not used on the frontend, whether it's for loading / using the prices or the votes.
The votes are also not related to the prices. The code there is to handle failures when loading the JS script used for the votes and comments. You can ignore it.

Regarding your issue with the prices, how did you configure them ? You have several prices linked to a product, with one user group linked to one price each time ?
Do you see the correct price on the product page ? In the cart ? In the checkout ?

Please Log in or Create an account to join the conversation.

  • Posts: 383
  • Thank you received: 12
  • Hikashop Business
1 hour 58 minutes ago #370263

Hi Nicolas,

For many years we have had one specific price assigned to each user type.

We have a “public” price for standard registered users, and then we have two additional price levels per product, which apply only to users that we manually assign to those groups.

Right now, when a privileged user logs into their account, they no longer see their special prices — they see the “normal/public” prices instead.

The last order placed by a privileged user with the correct pricing was on February 2 at 13:17.
The next order that was generated with incorrect pricing (normal prices applied) was yesterday, February 3 at 09:41.

I’ve tested both privileged levels (VIP and RESELLERS) and it doesn’t work for either of them.

I’m attaching a CSV with the user actions that occurred during that time window, in case it helps you identify what changed.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 383
  • Thank you received: 12
  • Hikashop Business
30 minutes ago #370264

Hi Nicolas,

Just to add one detail: on our staging/test site we are running HikaShop 6.2.0 and the pricing by user level works correctly (VIP/Reseller users see their correct prices).
Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 383
  • Thank you received: 12
  • Hikashop Business
22 minutes ago #370265

Hi Nicolas,

On our staging/test domain, I have now installed HikaShop 6.3.0, and the same issue occurs there as well: VIP/Reseller users do not see their correct prices (only the normal/public prices are shown).

Please Log in or Create an account to join the conversation.

Time to create page: 0.041 seconds
Powered by Kunena Forum