Hello,
I am encountering an issue within the Custom Pixel checkout process, specifically when handling price adjustments for products. If a product’s price is reduced (for instance, from $19 to $16), I intend to capture the reduced price in the data object. However, the data consistently reflects the original, higher price.
Could anyone advise on the correct variable to use in order to retrieve the reduced price? Below is the structure of the current data object for reference:
{
item_id: variant.id,
item_name: variant.product.title,
discount: totalDiscount,
index,
item_brand: variant.product.vendor,
item_category: variant.product.type,
item_variant: variantName,
price: variant.price.amount,
quantity: item.quantity,
};
Best
Marc