We understand how important it is to merchants that the right recommendations are shown to the right customers.
00:08
So we created a new system called product mappings.
00:11
This new feature, named Product Mappings, is available via the sidebar of the Checkout Components app.
00:16
You've got a couple of ways that you can create mappings.
00:18
mappings.
00:19
You can do it either via the UI, or you can upload a CSV via using our template, which you can find when you click on the Download Template button.
00:27
We're going to use the UI first, so let's dive in and create our first mapping.
00:32
So the first step is to choose the required contents of the customer's cart for our recommendation to be shown.
00:37
So what we're going to do here is we're going to select this set of pants and this top.
00:42
And like before, we're going to say two T shirts and a set of pants.
00:46
Now we get to choose our recommendation products.
00:49
So I could actually choose multiple products here, but for the sake of our example, we're just going to say, okay, well, if there's two T shirts and this pair of pants, we're going to recommend this snowboard.
00:59
I'll So here we can see the product mapping that we just made through the, ui.
01:03
So let's go ahead and add it to our component.
01:06
So this is an existing upsell component which is currently using the Shopify AI recommendations.
01:11
If I go to recommendation sourcing, I can now see mapped recommendations as a upsell source.
01:16
I'll go ahead and click on that.
01:18
And I'll click Save So now we're in checkout with the required products.
01:22
In cart, we've got two T shirts and a pair of pants.
01:25
The complete snowboard can be seen as a recommendation in our upsell list.
01:29
It's also joined by another product, and that's because we specified on a component level that we wanted to show at least two products.
01:36
So in the instance where there's not enough products to meet the component requirement, we'll use AI to backfill and make sure that we're always showing the number of products that you want to show on componen components.
01:45
So let's take this one step further and use our, CSV upload to do many recommendations.
01:50
So this is the CSV template.
01:52
Couple of things I'll call out here.
01:53
Just regarding the columns that appear in the CSV.
01:55
So ID is the ID of an existing mapping that exists you might be wanting to delete or update.
02:01
got the command column.
02:02
So in this instance we're creating new product mappings.
02:05
So we're going to set those as create.
02:07
Again the options are, create, update, delete.
02:10
We've got the if cart line.
02:11
So that's the ID of the product that should exist.
02:13
The if quantity, the quantity of that cart line, the then product, which is the recommendation, and then whether or not it's enabled.
02:20
An important thing to note here is both the if cart line and then product columns can actually be comma separated.
02:26
So if you want to have multiple or requirements, you can do that too in a single line.
02:31
So let's go ahead and import the CSV.
02:34
So I've got my CSV ready to go.
02:36
I'm going to click on import, I'm going to add a file, and I'm going to upload my recommendations template.
02:43
I'll click upload, and then I've got a choice to either add, to the existing recommendation mappings or replace all of them.
02:52
So I'm going to add instead of replace, because I want to keep the existing product mapping that I've done.
02:56
So I'm going to continue to import.
02:59
And there you go.
03:00
So we can see our new product mapping.
03:02
So if I've got that set of pants, I should see, a hat.
03:05
And if I've got the videographer snowboard, I'll see some board wax.
03:08
So what I'll do is I'll just make sure that all of these are enabled, and then I'll go back to checkout and and we'll see this work across all the different products.
03:18
So now we're back in checkout.
03:19
We're seeing the complete snowboard because we've got our two T shirts and we've got a pair of pants.
03:23
And because we've got that pair of pants, we're also seeing the British hat.
03:27
So that's a recommendation that's popping up.
03:28
And we had another recommendation, which was when if the complete snowboard was in card.
03:33
So I've clicked add, and now the board wax is showing.
03:36
So that's how you use product mapping with checkout components.