I have made below changes dear can you please check as my add to wishlist button is giving a jquery error.
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
do_cart
What are the contents of the thing that you are JSON parsing? You also might try switching from Firefox to Chrome, as Chrome may give a more informative error message.
ecartz wrote: ↑Mon May 31, 2021 1:12 pm
What are the contents of the thing that you are JSON parsing? You also might try switching from Firefox to Chrome, as Chrome may give a more informative error message.
I try to add a product to Wishlist In chrome this is the error
Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at Object.<anonymous> (product_info.php?products_id=4466:536)
at c (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at l (jquery.min.js:2)
at XMLHttpRequest.<anonymous> (jquery.min.js:2)
Hi All
i change the ajax plugin so it works also with wishlist (i also have in the code a javascript to change the badge number in the navigation which i have, you can leave that away if you don't need it)
As i changed a lot in the plugin files i don't know if i'm allowed to post the full script. let me know if interested and how i should share it (only changes are not possible, because there is a lot new in it)
regards
loop wrote: ↑Wed Jun 02, 2021 10:06 am
Hi All
i change the ajax plugin so it works also with wishlist (i also have in the code a javascript to change the badge number in the navigation which i have, you can leave that away if you don't need it)
As i changed a lot in the plugin files i don't know if i'm allowed to post the full script. let me know if interested and how i should share it (only changes are not possible, because there is a lot new in it)
regards
Hi dear can you please share the changes to be done?
radhavallabh wrote: ↑Mon Nov 22, 2021 7:09 am
Please can you guide on what should be the solution??
You either need to leave it as a define or update the thing that references it to insert the link. The thing that references it would be in a different file or files. So if you're just updating the language files, the simple solution is to leave it a define for now.
working in a shop, not both.
If someone wants to sponsor a solution, one of the Certified Developers would no doubt jump on it.
I tried and failed to find a solution.
Note that these addons were written months (if not years) apart, so should not be seen as harmonious.
I am not here to build for you.
I am here to build with you. Let's help each other.
Hi, @ecartz
Before installing this module, just like to check if this is now fixed to work with Ajax cart module enabled, as the issued raised in previous posts.