Two prices published at products

  • Posts: 219
  • Thank you received: 13
  • Hikaserial Standard Hikashop Business
2 weeks 2 hours ago #322368

-- url of the page with the problem -- :
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.20
-- PHP version -- : -
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : -

Customer is member of the user groups 'klant5' and '10475'. The group 'klant5' is a common group with a lot of customers. Groep '10465' is only for this customer with a lower price.

On the front end both prices are showed. It has to be only the lowest prijs. The configuration is set to 'lowest price'.

See attachment!

What's going wrong?


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

  • Posts: 70194
  • Thank you received: 10508
1 week 6 days ago #322369


There is nothing wrong. The user will have access to all the prices his account and his user groups give him access to for the current currency.
Changing that to only take into account the lowest one would require some extra coding in the functions removeUneededPrices and _removePrices of the file administrator/components/com_hikashop/classes/currency.php
Note however that you might want that change, but that doesn't mean that it would be correct for anyone.
Some merchants can use the way it works now to set a base price for all the users, and then additional prices with min quantities for some user groups so that they would automatically benefit from reduced unit prices for bulk purchases for example.

Now maybe you want to take another approach to the situation.
If you don't want to remove the "klant5" user group from this user, because you use it for something else, I would recommend instead to create a discount for that product for that user with the value being the difference between the klant5 user group and the 10465 price and limit the discount to that user only.
That way, he'll get the extra discount on the product.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum