Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matching Tax Categories #1508

Open
thibaultjadoul opened this issue Sep 6, 2024 · 0 comments
Open

Matching Tax Categories #1508

thibaultjadoul opened this issue Sep 6, 2024 · 0 comments
Labels

Comments

@thibaultjadoul
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant