Checkout notification

Samuel

Well-known member
Registered
Joined
May 13, 2021
Messages
84
Points
28

Reputation:

Hello friends. I want to show a notification to someone who has selected an item for purchase in DragonByte Shop. If anyone knows the code, please tell me because it doesn't work wherever I put this code, I want it to be something like the image I posted below...

HTML:
<xf:if is="$cartItems is not empty">


<i class="fas fa-shopping-basket"></i> Checkout now...


</xf:if>


01.jpg
 

Samuel

Well-known member
Registered
Joined
May 13, 2021
Messages
84
Points
28

Reputation:

bump! bump! bump! bump!
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,519
Points
523

Reputation:

Hello friends. I want to show a notification to someone who has selected an item for purchase in DragonByte Shop. If anyone knows the code, please tell me because it doesn't work wherever I put this code, I want it to be something like the image I posted below...

HTML:
<xf:if is="$cartItems is not empty">


<i class="fas fa-shopping-basket"></i> Checkout now...


</xf:if>


View attachment 37675
SamuelSo you would like to sent a notification if someone added something to the cart, are you sure you want this? Or do you want to get a notification during the checkout
 

Samuel

Well-known member
Registered
Joined
May 13, 2021
Messages
84
Points
28

Reputation:

So you would like to sent a notification if someone added something to the cart, are you sure you want this? Or do you want to get a notification during the checkout
BattleKingI actually want that, members get a notification during the checkout like this image...

01.jpg

AND > If they do not have an item in the cart, this icon will be hidden for them. but this code doesn't work in page_container

HTML:
<xf:if is="$cartItems is not empty">

<i class="fas fa-shopping-basket"></i> Checkout now...

</xf:if>

Is it possible that the code I am using is wrong?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,519
Points
523

Reputation:

I actually want that, members get a notification during the checkout like this image...

View attachment 37705

AND > If they do not have an item in the cart, this icon will be hidden for them. but this code doesn't work in page_container

HTML:
<xf:if is="$cartItems is not empty">

<i class="fas fa-shopping-basket"></i> Checkout now...

</xf:if>

Is it possible that the code I am using is wrong?
SamuelAh I see you do not want to sent notification you want to highlight that something is in your cart. Need to check
 

Samuel

Well-known member
Registered
Joined
May 13, 2021
Messages
84
Points
28

Reputation:

still waiting... 😔 Any suggestions ??
 
Top