Woodmart theme compatibility issue with WooCommerce trigger
-
Hello,
I am using the Woodmart theme by XTemos and facing an issue with a specific WooCommerce trigger that I am trying to implement on my website. The trigger in question is as follows:
// Trigger the login event
$message = ‘<div class=”woocommerce-message”>logged_in</div>’;
$woocommerce_messages = array($message);
add_filter(‘woocommerce_add_message’, function() use ($woocommerce_messages) {
return $woocommerce_messages;
});
This trigger is intended to signal when a user logs in automatically, but it is not working properly on my site. I would like to know if the Woodmart theme is compatible with this specific trigger and if there are any theme settings or customizations that might be causing the issue.
Hello,
Please make the full backup of your site and check the issue on the Storefront theme to detect if our theme causes the problem. Storefront is a free theme developed by WooСommerce.
Best Regards