  We extend the quandle cocycle invariant to oriented singular knots and links
using algebraic structures called \emph{oriented singquandles} and assigning
weight functions at both regular and singular crossings. This invariant
coincides with the classical cocycle invariant for classical knots but provides
extra information about singular knots and links. The new invariant
distinguishes the singular granny knot from the singular square knot.
