top of page
bottom of page
import wixUsers from 'wix-users';
$w.onReady(function () {
if(!wixUsers.currentUser.loggedIn){
$w("span[data-hook='formatted-primary-price']").hide();
} else {
$w("[data-hook='formatted-primary-price']").show();
}
});
console.log(wixUsers.currentUser.loggedIn);