shopinvader / locomotive-shopinvader

LocomotiveCMS Plugin for Shopinvader
https://shopinvader.com
MIT License
12 stars 15 forks source link

[RFC] Ease price visibility limitation #81

Closed HviorForgeFlow closed 1 year ago

HviorForgeFlow commented 1 year ago

There is an use case where this method that auto-selects the price depending on the customer role overwriting the price dict blocks the possibility of showing 2+ different prices to the template. This could happen on B2B environments when for example in the system we have 2 pricelist that should be shown to the user:

It would be possible to add a new metafield to control that behaviour as it is now is quite limiting.

My temporary solution has been avoid the use this parse and matching the 2 pricelist with the beginning of the role + _retail: