- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019
03:22 AM
10-01-2019
03:22 AM
addAttributeToFilter() using Tier Price
Hiya. Could somebody tell me what is the right synthax to filter the tier price?
I know if you're working on an individual attribute it is
for example
$collection->addAttributeToFilter('price', ['gt' => '0.1']);
Now how do you get it to work with a tier price???
I'm looking to filter all products that have customer_group_id = 4 in the tier price.
Thank you.
Thank you.
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019
03:55 AM
10-01-2019
03:55 AM
Re: addAttributeToFilter() using Tier Price
Hello @roman_polevecko
Follow the solution at https://magento.stackexchange.com/questions/182018/create-a-collection-of-products-that-have-a-tier-...
Hope it helps.
---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"
If you've found my answer useful, please give"Kudos" and "Accept as Solution"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019
05:13 AM
10-01-2019
05:13 AM
Re: addAttributeToFilter() using Tier Price
I will play about with this and let you know how it works.
Thank you.