Tells Fera what the current shopper has in their shopping cart right now.

Setting the current shopping cart data allows you to personalize content based on what is currently in the shopping cart. This is very useful for upsells, cross-sells and more.

Here's how you can set the current shopping cart data:

fera.push('setCart', {
total: 100.0,
currency: 'USD',
total_discount: 0, // Optional
items: [{
price: 50.0,
total: 100.0,
product_id: "product-123",
name: "Product 123",
variant_id: "variation1",
quantity: 2

Also see the Cart model schema for full attribute reference.