Maximum purchasable

Hello, 

Is it possible to set a limit on how much someone can buy?

For example, advanced blueprint fragments?

I'd like players to be limited to a maximum of 5 purchases, and then no more.

 

Thanks

dumdidum