Are you using X theme and not Pro? If yes, there's no option to add widgets on the navbar. We can add widget shortcode on Topbar Content option. If you insists on adding it on navigation area, that will need customization. Make sure you have setup a child theme. The file that handle the navbar is this:
wp-content\themes\x\framework\legacy\cranium\headers\views\global\_nav-primary.php. Copy that file on the same folder on your child theme here:
wp-content\themes\x-child\framework\legacy\cranium\headers\views\global\_nav-primary.php. You might need to create the folder if it doesn't exist yet on the child theme.
Add the woocommerce widget shortcode as intended.
Hope this helps.