Many clients faced unauthorized access issues when they clicked the “Add to Cart” button. Please refer to the screenshot to see how this issue appears on your website.
Nonce Problem:
An issue with the nonce sometimes occurs and sometimes does not. Additionally, this is not an issue for all users.
After debugging the entire process, we have devised a solution: a filter that will resolve the issue.
The client needs to add the following filter to the functions.php
file of the active theme.
// Added by Wisdmlabs
add_filter('cpb_nonce_enable', '__return_false');