Question about store credits: I see that the order...
# support
j
Question about store credits: I see that the order of application of store credits is determined by such things as the
Spree::StoreCreditCategory.priority
but are there additional filters available? For example, can you configure credits to only be consumed for certain products/variants?
k
Hey @John Pitchko! This is not possible OOTB. Applying store credits is not connected anyway with variants or items inside the order, but it only consider the outstanding balance. That said, maybe there’s some way to modify that method to only consider the outstanding balance coming from a specific list of products/variants. By the way, for what is worth, I think
priority
is an attribute on
Spree::StoreCreditType
, not
Spree::StoreCreditCategory
j
Hello Alberto! Thank you Cesar and I managed to kludge together a pretty basic solution.