Hi Team,
I’m trying to read certain product attributes in the theme which have been set in the nmz3 platform for the products. Please find the screenshot of the attributes I’m trying to read below -
The cartminqty and cartmaxqty have been mentioned in the attributes of the product as you can see but I don’t see them in the response below -
As you can see above, only 2 attributes are coming , out of which only availabilityStatus has been set by us on the platform. The rest of the attributes are not coming up.
This is the product on the platform - Netmeds
I’m trying to read the product attributes by -
console.log(“attributes in update cart”,this.product.attributes);
console.log("cart max qty ",this.product.attributes?.cartMaxQty); // this is undefined
console.log("cart min qty ",this.product.attributes?.cartMinQty); // this is also coming up as undefined
The product variable is being taken from the platform via props, which is inserted by the theme engine.
Could someone please help take a look as to why the attributes are not coming up in the response?
Platform - nmz3
Sales channel - Netmeds