TypeError: /home/hasan/multivendor3/views/ejstemplate/productdetail.ejs:420
   418|                                             id="<%-item._id%>"
   419|                                             class="drift-demo-trigger img-responsive"
>> 420|                                             ng-if="!defaultPhoto && !videoItem && '<%-item.colorId._id%>'==colorId?true:false"
   421|                                             src="<%-item.image%>"
   422|                                             data-zoom="<%-item.image%>"
   423|                                             alt="Varient image"/>

Cannot read property '_id' of undefined
   at eval (/home/hasan/multivendor3/views/ejstemplate/productdetail.ejs:457:29)
   at CoreDocumentArray.forEach (<anonymous>)
   at eval (/home/hasan/multivendor3/views/ejstemplate/productdetail.ejs:451:32)
   at productdetail (/home/hasan/multivendor3/node_modules/ejs/lib/ejs.js:691:17)
   at /home/hasan/multivendor3/node_modules/consolidate/lib/consolidate.js:645:16
   at /home/hasan/multivendor3/node_modules/consolidate/lib/consolidate.js:161:5
   at Promise._execute (/home/hasan/multivendor3/node_modules/bluebird/js/release/debuggability.js:384:9)
   at Promise._resolveFromExecutor (/home/hasan/multivendor3/node_modules/bluebird/js/release/promise.js:518:18)
   at new Promise (/home/hasan/multivendor3/node_modules/bluebird/js/release/promise.js:103:10)
   at promisify (/home/hasan/multivendor3/node_modules/consolidate/lib/consolidate.js:154:10)
   at Function.exports.ejs.render (/home/hasan/multivendor3/node_modules/consolidate/lib/consolidate.js:641:10)
   at /home/hasan/multivendor3/node_modules/consolidate/lib/consolidate.js:181:27
   at /home/hasan/multivendor3/node_modules/consolidate/lib/consolidate.js:101:5
   at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)