implemented new palette api in product fragment