In Bangalore, supermarkets used to give away plastic bags for free. Then a law got passed requiring shops to charge for plastic bags. People, however, just kept paying the price for plastic bags and disposing them once they were done with them. Now there is a ban on plastic [1] and people seems to be carrying their own bags into supermarkets and reusing them.
But your solution would have been better. It would have given people more flexibility
[1] https://www.thebetterindia.com/48844/plastic-ban-bangalore-k...