movieseals Posted February 22, 2019 Posted February 22, 2019 I get the following error using a module that prevents unlogged users to add things to cart. I am not too sure what to make out of this one: IMPOSSIBLE TO ADD THE PRODUCT TO THE CART.TEXTSTATUS: 'PARSERERROR'ERRORTHROWN: 'SYNTAXERROR: UNEXPECTED TOKEN { IN JSON AT POSITION 375'RESPONSETEXT:{ "PRODUCTS": [ ], "DISCOUNTS": [ ], "SHIPPINGCOST": "CAD$0.00", "SHIPPINGCOSTFLOAT": 0, "WRAPPINGCOST": "CAD$0.00", "NBTOTALPRODUCTS": 0, "TOTAL": "CAD$0.00", "PRODUCTTOTAL": "CAD$0.00", "FREESHIPPING": "CAD$0.00", "FREESHIPPINGFLOAT": 0, "FREE_SHIP": TRUE, "ISVIRTUALCART": FALSE, "HASERROR" : TRUE, "ERRORS" : [ "ADD TO CART IS AVAILABLE ONLY FOR LOGGED CUSTOMERS" ] } { "PRODUCTS": [ ], "DISCOUNTS": [ ], "SHIPPINGCOST": "CAD$0.00", "SHIPPINGCOSTFLOAT": 0, "WRAPPINGCOST": "CAD$0.00", "NBTOTALPRODUCTS": 0, "TOTAL": "CAD$0.00", "PRODUCTTOTAL": "CAD$0.00", "FREESHIPPING": "CAD$0.00", "FREESHIPPINGFLOAT": 0, "FREE_SHIP": TRUE, "ISVIRTUALCART": 0, "HASERROR" : TRUE, "ERRORS" : [ "ADD TO CART IS AVAILABLE ONLY FOR LOGGED CUSTOMERS" ] }{"PRODUCTS":[{"ID":47435,"LINK":"HTTPS:\/\/WWW.LIBRAIRIEZBOOKSTORE.COM\/EN\/COMIC-BOOKS\/MARVEL-COMICS\/OLD-MAN-QUILL-2-OF-12","QUANTITY":1,"IMAGE":"HTTPS:\/\/WWW.LIBRAIRIEZBOOKSTORE.COM\/83183-TM_HOME_DEFAULT\/OLD-MAN-QUILL-2-OF-12.JPG","IMAGE_CART":"HTTPS:\/\/WWW.LIBRAIRIEZBOOKSTORE.COM\/83183-TM_CART_DEFAULT\/OLD-MAN-QUILL-2-OF-12.JPG","PRICEBYLINE":"CAD$5.28","NAME":"OLD MAN QUILL #2 (OF 12)","PRICE":"CAD$5.28","PRICE_FLOAT":5.27631199999999989103116604383103549480438232421875,"IDCOMBINATION":0,"IDADDRESSDELIVERY":0,"IS_GIFT":FALSE,"HASATTRIBUTES":FALSE,"HASCUSTOMIZEDDATAS":FALSE,"CUSTOMIZEDDATAS":[]}],"DISCOUNTS":[],"SHIPPINGCOST":"CAD$0.00","SHIPPINGCOSTFLOAT":0,"WRAPPINGCOST":"CAD$0.00","NBTOTALPRODUCTS":1,"TOTAL":"CAD$5.28","PRODUCTTOTAL":"CAD$5.28","FREESHIPPING":"CAD$0.00","FREESHIPPINGFLOAT":0,"HASERROR":TRUE,"ERRORS":["ADD TO CART IS AVAILABLE ONLY FOR LOGGED CUSTOMERS"],"CROSSSELLING":FALSE}
1 AndyC Posted February 22, 2019 Posted February 22, 2019 Did a search and it may be your friendly URL's causing a issue .
0 movieseals Posted February 23, 2019 Author Posted February 23, 2019 2 hours ago, AndyC said: Did a search and it may be your friendly URL's causing a issue . Mmmmm... I am only using the TB iteration of friendly url... 😞
Question
movieseals
I get the following error using a module that prevents unlogged users to add things to cart. I am not too sure what to make out of this one:
IMPOSSIBLE TO ADD THE PRODUCT TO THE CART.
TEXTSTATUS: 'PARSERERROR'
ERRORTHROWN: 'SYNTAXERROR: UNEXPECTED TOKEN { IN JSON AT POSITION 375'
RESPONSETEXT:
{ "PRODUCTS": [ ], "DISCOUNTS": [ ], "SHIPPINGCOST": "CAD$0.00", "SHIPPINGCOSTFLOAT": 0, "WRAPPINGCOST": "CAD$0.00", "NBTOTALPRODUCTS": 0, "TOTAL": "CAD$0.00", "PRODUCTTOTAL": "CAD$0.00", "FREESHIPPING": "CAD$0.00", "FREESHIPPINGFLOAT": 0, "FREE_SHIP": TRUE, "ISVIRTUALCART": FALSE, "HASERROR" : TRUE, "ERRORS" : [ "ADD TO CART IS AVAILABLE ONLY FOR LOGGED CUSTOMERS" ] } { "PRODUCTS": [ ], "DISCOUNTS": [ ], "SHIPPINGCOST": "CAD$0.00", "SHIPPINGCOSTFLOAT": 0, "WRAPPINGCOST": "CAD$0.00", "NBTOTALPRODUCTS": 0, "TOTAL": "CAD$0.00", "PRODUCTTOTAL": "CAD$0.00", "FREESHIPPING": "CAD$0.00", "FREESHIPPINGFLOAT": 0, "FREE_SHIP": TRUE, "ISVIRTUALCART": 0, "HASERROR" : TRUE, "ERRORS" : [ "ADD TO CART IS AVAILABLE ONLY FOR LOGGED CUSTOMERS" ] }{"PRODUCTS":[{"ID":47435,"LINK":"HTTPS:\/\/WWW.LIBRAIRIEZBOOKSTORE.COM\/EN\/COMIC-BOOKS\/MARVEL-COMICS\/OLD-MAN-QUILL-2-OF-12","QUANTITY":1,"IMAGE":"HTTPS:\/\/WWW.LIBRAIRIEZBOOKSTORE.COM\/83183-TM_HOME_DEFAULT\/OLD-MAN-QUILL-2-OF-12.JPG","IMAGE_CART":"HTTPS:\/\/WWW.LIBRAIRIEZBOOKSTORE.COM\/83183-TM_CART_DEFAULT\/OLD-MAN-QUILL-2-OF-12.JPG","PRICEBYLINE":"CAD$5.28","NAME":"OLD MAN QUILL #2 (OF 12)","PRICE":"CAD$5.28","PRICE_FLOAT":5.27631199999999989103116604383103549480438232421875,"IDCOMBINATION":0,"IDADDRESSDELIVERY":0,"IS_GIFT":FALSE,"HASATTRIBUTES":FALSE,"HASCUSTOMIZEDDATAS":FALSE,"CUSTOMIZEDDATAS":[]}],"DISCOUNTS":[],"SHIPPINGCOST":"CAD$0.00","SHIPPINGCOSTFLOAT":0,"WRAPPINGCOST":"CAD$0.00","NBTOTALPRODUCTS":1,"TOTAL":"CAD$5.28","PRODUCTTOTAL":"CAD$5.28","FREESHIPPING":"CAD$0.00","FREESHIPPINGFLOAT":0,"HASERROR":TRUE,"ERRORS":["ADD TO CART IS AVAILABLE ONLY FOR LOGGED CUSTOMERS"],"CROSSSELLING":FALSE}
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now