Example of how to block the use of specific discount codes unless customer is logged in.
Instructions:
1. Create checkout validator customization
2. Set display rules:
User is not authenticated as a customer
AND
cart attribute key/value is equal to "discount-code" and "yes"
3. Create "apply checkout attribute" customization
4. Set customization to clear attributes when hidden
5. Set customization to apply attributes "discount-code" and "yes"
6. Set display rule to apply if discount code includes "30_OFF"
7. Add "Apply checkout attribute" customization to checkout using the checkout editor
Shopify app store listing:
https://apps.shopify.com/checkout-buddy
Sur cette page du site, vous pouvez voir la vidéo en ligne Block Discount Code Unless Customer Signed In durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Checkout Buddy 12 juillet 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 46 fois et il a aimé 0 téléspectateurs. Bon visionnage!