I am relatively new to the Cart API and JS ability is a touch sketchy (currently). Our client is using GoCart JS for their cart, but wants to add additional fields under the products.
The have a product that has properties added to it, which we have previously shown using a liquid for loop and running through properties,
I am trying to show that same info but using the API and am currently getting [object OBJECT] returned, can anyone point our where I’m going wrong/any solution?
The attempt below uses itemOptions / item.options_with_values
renderDrawerCart(cart) {
this.clearCartDrawer();
cart.items.forEach((item, index) => {
let itemVariant = item.variant_title;
let itemOptions = item.properties_with_values;
if (itemVariant === null) {
itemVariant = '';
}
if (itemOptions === null) {
itemOptions = '';
}
const cartSingleProduct = `
${item.product_title}
${itemVariant}
<small>${itemOptions}</small>
${this.labelQuantity}
-
+
${formatMoney(item.line_price, this.moneyFormat)}
${this.labelRemove}
`;
Image on the left is how the options should look, on the right is how they do,
Any assistance at all would be massively helpful and appreciated

