Custom template for post type not working

get_post_format and get_post_type are completely different.

Post Formats can be one of the following:

  • ‘standard’ (default one)
  • ‘aside’
  • ‘chat’
  • ‘gallery’
  • ‘link’
  • ‘image’
  • ‘quote’
  • ‘status’
  • ‘video’
  • ‘audio’

And shopping is the post type you have created and not post format. You can add post format for the post type(shopping) like this

add_post_type_support( 'shopping', 'post-formats' );