adjusted logic for tagman on checkout