Jump to content

Check visitor and group price


cikcak

Recommended Posts

Hello,

 

I have visitor/customer groups as usual in prestashop and created one more group: wholesale. Its other kind of price politics (wholesale price + %, not final price - %). 

 

And I have a big problem. If visitor got 50% discount, the price could be 350 eur, but wholesale group with wholesale_price + 20% mark have 420 EUR price.

 

How I could compare wholesale group price with visitor/customer price and IF customer/visitor price < wholesale group price, it shows the lowest price.

 

As I understand, I should do it in theme/js/product.js file, yes? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...