IF fields contains then alert

IF fields contains then alert

I am struggling to understand where I've been going wrong, but what I got is a div that shows a value depending on what the user selects on the previous screen.

However despite selecting other one's such as Kerb Drainage for example, it always alerts "access"

I've tried having separate IF statements but then they all alert, one after the other.
  1. if (jQuery('.product_type:contains("Access Cover")').length <= 0) {
  2. alert("access");
  3. } else if (jQuery('.product_type:contains("Gully Grate")').length <= 0) {
  4. alert("gully");
  5. } else if (jQuery('.product_type:contains("Kerb Drainage")').length <= 0) {
  6. alert("kerb");
  7. } else if (jQuery('.product_type:contains("Surface Box")').length <= 0) {
  8. alert("box");