fixed the product sale price function in _helpers.jinja