Yes! You will receive your commission as long as someone shops through your storefront, even if they use a different discount code at checkout.
NOTE: If the buyer applies another creator's affiliate code, that creator will receive credit for the sale.