Fixed #3161 Unpublished products should not be displayed via shortcodes
Merge branch 'issue/3161'