texmc
03/20/2023, 3:21 PMSteve Goldberg
03/20/2023, 3:31 PMSteve Goldberg
03/20/2023, 3:35 PM// Add Product Details Full View and Quick View as dependencies
initialize: function () {
var container = this.options.container;
this.parentView = container.getLayout().getCurrentView();
this.isFullView = this.parentView instanceof ProductDetailsFullView;
}texmc
03/20/2023, 3:36 PMtexmc
03/20/2023, 3:36 PMtexmc
03/20/2023, 3:37 PMtexmc
03/20/2023, 4:01 PMtexmc
03/20/2023, 4:02 PMtexmc
03/20/2023, 4:02 PMtexmc
03/20/2023, 4:33 PMtexmc
03/20/2023, 4:33 PMSteve Goldberg
03/20/2023, 4:58 PMSteve Goldberg
03/20/2023, 4:59 PMSteve Goldberg
03/20/2023, 4:59 PMpdp.PDP_FULL_VIEWSteve Goldberg
03/20/2023, 5:00 PMbeforeShowContent because … it’s not been rendered yetSteve Goldberg
03/20/2023, 5:01 PMinitialize() or overwrite the view’s render() , checking things there to see if it should be intialised/rendered