How to render on particular div container when child view details are only missing in Tpl.

Using this Methode we can render the container or the div specifically inside the page.

if (showLiquidPixelOption) {
        this.pdp.on("afterShowContent", function (params) {
          var message = new ezSheild({
            container: self.container,
            application: self.options.application,
          });
          var $custcolagezshield = jQuery('div[name="ez-shield-display"]');
          if (jQuery(".Ezshield-product-specific-value").length == 0) {
            $custcolagezshield.before(message.render().$el.html());
          }
        });
      }

Leave a comment

Your email address will not be published. Required fields are marked *