craftcms / feed-me

Craft CMS plugin for importing entry data from XML, RSS or ATOM feeds—routine task or on-demand.
Other
289 stars 139 forks source link

Matching Tax Categories #1508

Open thibaultjadoul opened 2 months ago

thibaultjadoul commented 2 months ago

Description

I've set up a Feed that lets me import products for Craft Commerce. Products are wines, spirits and other goods. Depending on the type of product I have different taxes.

I'm trying to match the Tax Categories with my feed but it's not working. It always takes the default category on the right of the Feed Element field (see below).

Capture d’écran 2024-09-06 à 16 51 57

 

I've tried with the Title and Handle of the Tax Categories but both don't work.

Capture d’écran 2024-09-06 à 16 04 08 Capture d’écran 2024-09-06 à 16 04 58

  here is the log I get when I'm trying to match with the Handle :   {"title":"Grünsaft \"Verjus\"","itemId":"8006100500","itemCategoryCode":[16348],"prodGroupCode":"0800","capacity":[17542],"manufacturers":[17511],"variants":[{"sku":"8006100500","basePrice":8.65,"taxCategoryId":"BIE03","inventoryTracked":"1","stock":0,"itemCategoryCode":[16348],"code":"8006100500","alcoholPercentage":0}]}

Additional info