artisticre
1 month ago
169
3
Laravel

Displaying Wrong

Posted 1 month ago by artisticre

I have this simple code that doesn't seem to work. It is just displaying {‌{ Session::get('cart')->totalQuantity }} instead of the number. What am I doing wrong?

@if(Session::has('cart'))
 
									<span class="cart-with-numbers">
													   {‌{ Session::get('cart')->totalQuantity }}
									 </span>
									 
							   @endif

Please sign in or create an account to participate in this conversation.