updateProductDetails(objfrompopup) {
        console.log("POPUPREPLY", objfrompopup);
        // var arr=objfrompopup['rentify_metafields'];
        var sendobj=objfrompopup['rentify_metafields'];
        const productlistofmetafields = { productlistofmetafields: sendobj };
        this.props.callWSUpdateProductMetafields(productlistofmetafields);
        //   const prod=this.state.listofproducts.find(a=>a.id===productobj.id);
        //   prod=productobj;
    }
/**
     * Called by edittentalproductpopup.js to update the metafields of the product user is 
     * editing.
     * @param {*} objfrompopup 
     */
Called by edittentalproductpopup.js to update the metafields of the product user is
editing.
@param {*} objfrompopup
Called by edittentalproductpopup . js to update the metafields of the product user is editing . @param { * } objfrompopup
updateProductDetails(objfrompopup) {
        console.log("POPUPREPLY", objfrompopup);
        var sendobj=objfrompopup['rentify_metafields'];
        const productlistofmetafields = { productlistofmetafields: sendobj };
        this.props.callWSUpdateProductMetafields(productlistofmetafields);
    }
updateProductDetails ( objfrompopup ) { console . log ( "POPUPREPLY" , objfrompopup ) ; var sendobj = objfrompopup [ 'rentify_metafields' ] ; const productlistofmetafields = { productlistofmetafields : sendobj } ; this . props . callWSUpdateProductMetafields ( productlistofmetafields ) ; }
Called by edittentalproductpopup.js to update the metafields of the product user is
 editing.
Called by edittentalproductpopup . js to update the metafields of the product user is editing .
// var arr=objfrompopup['rentify_metafields']; //   const prod=this.state.listofproducts.find(a=>a.id===productobj.id); //   prod=productobj;