Open FIRDOUS-BHAT opened 4 years ago
I solved it! In minicart.js, I fetched the token value like this,
const token = $('input[name=_token]').val()
and gave this in template attribute within the form,
I solved it! In minicart.js, I fetched the token value like this,
const token = $('input[name=_token]').val()
and gave this in template attribute within the form,