Hotfix for restricted category issue

/*Runs function necessary for restricted categories to be flagged and not added to cart*/