Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
movieseals

Error with a module

Question

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}

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
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... 😞

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×