Fixes to redirect to products page when selecting a product attribute type variation from the products page - if and else were mix matched before this slight change