Last active
May 24, 2017 10:38
-
-
Save MGCodeSnips/fd687a9f23867395df447d0e4c783ec9 to your computer and use it in GitHub Desktop.
so shop owners can hide prices until the customer is logged in.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ekm:customer_logged_in] | |
/* add your price and add to cart button style */ | |
logged_in='<style>.customer-logged-in {display:block;} .customer-logged-out {display: none;}</style>'; | |
logged_out=''; | |
[/ekm:customer_logged_in] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment