diff --git a/pages/client/shops.php b/pages/client/shops.php
index 09699756e70bd1de0c2ec28975c0513fc64dd27e..69b4c70a096cffd1403075ecf876a81878c617fd 100644
--- a/pages/client/shops.php
+++ b/pages/client/shops.php
@@ -222,10 +222,10 @@
         // On va définir la taille de la div derrière la navbar
         function goToShop(id){
             var shopItemDetail='<p>Type: <strong>'+$('#'+id).attr('type')+'</strong></p>';
-            if($("#"+id).attr("displayName") != ""){
+            if($("#"+id).attr("displayName") != "null"){
                 shopItemDetail+='<p>Nom personnalisé: <strong>'+decodeURIComponent($("#"+id).attr("displayName"))+'</strong></p>';
             }
-            if($("#"+id).attr("enchants") != ""){
+            if($("#"+id).attr("enchants") != "null"){
                 let enchants = JSON.parse(decodeURIComponent($("#"+id).attr("enchants")));
                 for(const [key, value] of Object.entries(enchants)){
                     shopItemDetail+='<p>Enchantement: <strong>'+key+'</strong> ('+value+')</p>';