Fixed copy-paste bug in products helper
Extracted variant getter to add more flexibility