If CoCart-API-Cart-Key
header is not returning then you need to enable CORS so that the header is exposed.
Either enable CORS support via a filter shown below or simply install CoCart CORS plugin for quicker activation.
That’s it.
<?php add_filter( 'cocart_disable_all_cors', function() { return false; });
Was this helpful to you?
Did you like the article/guide or would you like to give some feedback? Click on one of the buttons and let us know your opinion!