Sorry for posting such a naive question, but I'm just not able to figure this out. I have written following conditional statements:
if taxon == "Bracelets":
catId = "178785"
elif taxon == "Kids Earrings" or "Earrings":
catId = "177591"
elif taxon == "Mangalsutras":
catId = "177595"
elif taxon == "Necklaces" or "Necklace Sets":
catId = "177597"
elif taxon == "Kids Pendants" or "Pendants":
catId = "177592"
elif taxon == "Pendant Sets":
catId = "177593"
elif taxon == "Anklets":
catId = "178788"
elif taxon == "Toe Rings":
catId = "178787"
elif taxon == "Rings":
catId = "177590"
else:
print "no match\n"
But no matter what the value of taxon is, its always falling in the second condition i.e.
elif taxon == "Kids Earrings" or "Earrings":
catId = "177591"
and therefore, the value of catId remains 177591
.