From Wiktionary, the free dictionary
From cap (“seal; stamp”) + ayam (“chicken”). Literally, "Chicken's Stamp".
cap ayam
- (colloquial) poor or low-quality; flimsy; defective product
Tidak semua barangan yang dikilangkan daripada China cap ayam.- Not all Chinese goods are low-quality.