Using cart/add.js in thank you page extensions

Hi awesome developers,

I am trying to use cart/add.js in thank you page extensions, but it is giving me cors error. It is working fine in other pages like product, collection, cart but giving error on checkout and thank you page. Any idea how to implement that? I can use permalinks but I don’t want to redirect customer to cart page, instead I want to let them add to cart and stay on thank you page.

Thanks in advance.

Hi @Girish_Rajwani

If the issue is caused by the extension, I recommend reaching out to the extension developer for the most effective support.