Shoppers will no longer pay VAT on period pants following a campaign by charities and retailers.