That is unlawful. A credit is money that you can use at that store. They can not limit what your money can be spent on, as it is money in the form of store credit.
I would let the store manager know of the mistaken understanding the SA has about store credit.
I would let the store manager know of the mistaken understanding the SA has about store credit.