feed-me icon indicating copy to clipboard operation
feed-me copied to clipboard

Matching Tax Categories

Open thibaultjadoul opened this issue 1 year ago • 0 comments

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

  • Craft version: 5.4.1
  • Craft Commerce version : 5.1.0.1
  • PHP version: 8.2.22
  • Database driver & version: MySQL 8.0.36

thibaultjadoul avatar Sep 06 '24 14:09 thibaultjadoul