Developer forum

Forum » Feature requests » ID in the ProductDiscounts loop

ID in the ProductDiscounts loop

Mikkel Ulstrup
Reply

Hi,

When displaying products, we want to determine if a product is on sale. We are using a Discount Matrix and some users have a permanent discount, which we want to filter out.

It would be best done by having a option on the discount saying this is a "permanent discount" or "user discount" (the name is not that relevant).

Alternativeliy if if you could make the ID available in the ProductDiscounts loop (on the product), we could filter it out by that.

 

- Mikkel

 

 

 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Mikkel

I've added the ID to the loops for now. It has actually been added for some discount loops in 8.8.0 already. The other request has been added to the list of ideas for the discounts.

Maybe permanent discounts is another price instead? Using the price matrix?

BR Nicolai

 
Mikkel Ulstrup
Reply

Hi again,

Do we need to upgrade to 8.8.x.x. to see this change? Can't find it anywhere in 8.7.2.8.

The solution we need this for is in production, and we are not exited about using latest version.. :)

- Mikkel

 
Nicolai Høeg Pedersen
Reply

Hi Mikkel

Yes it is in 8.8.

I can merge all of 8.8 in to 8.7.2 and call it 8.7.2.XX, but it would still be an 8.8, just with a different name... It would not help you much if every change we make is merged to a lower branch. That would just be lying. New features = in new versions. Bugfixes = hotfix.

I hope you understand. 8.8 is as stable as 8.7.2

BR Nicolai

 
Mikkel Ulstrup
Reply

Hi Nicolai,

Thank you for the quick response. We will look into upgrading to the latest version.

 

Thanks!