MUHAMMAD MUBUSHER ASLAM
09/25/2023, 1:14 PMdefine('TEM.CDPShowUoM.uomModule.View', ['tem_cdpshowuom_uommodule.tpl', 'Backbone'], function (tem_cdpshowuom_uommodule_tpl, Backbone){
'use strict';
return Backbone.View.extend({
template: tem_cdpshowuom_uommodule_tpl,
contextDataRequest: ['item'],
initialize: function (options) {
console.log(this);
console.log(options);
},
events: {
},
bindings: {
},
childViews: {
},
//@method getContext @return TEM.CDPShowUoM.uomModule.View.Context
getContext: function getContext()
{
console.log(this.contextData.item());
console.log('getContext this');
console.log(this);
this.message = this.message || 'Box'
return {
uomValue: this.message
};
}
});
});
I'm trying to get this in View Cart Page in SuiteCommerce Standard extension
I followed the article shared by @Steve Goldberg but still it doesn't work am i doing wrong
any response wuld be appreciatedSteve Goldberg
09/25/2023, 1:47 PMMUHAMMAD MUBUSHER ASLAM
09/25/2023, 3:23 PMSteve Goldberg
09/25/2023, 4:22 PM