Closed (fixed)
Project:
Commerce VAT
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2013 at 01:08 UTC
Updated:
21 Jan 2021 at 10:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
geek-merlinFeeds support deserves high prio imho.
Crosslinking #1940642: Tax reference field is not available for feeds module.
Comment #2
geek-merlinanyone interested in or working on this?
Comment #3
geek-merlinCrosslinking:
* #2141639: Add feeds mapper for vat field
* #1940642: Tax reference field is not available for feeds module
* #1254098: New target: VAT rate?
Comment #4
geek-merlinPatch flying in. Worksforme.
Comment #5
lmeurs commented@axel.rutz: Thanks a lot for your crosslinking and eventual patch, it's just what I was looking for. I tried your patch with Commerce EU VAT while importing a few demo products and it works great so far! Also did some successful tests with Feeds Tamper turning ie.
6%into the required machine namenl_reducedusing theirFind replaceandFind replace REGEXplugins.It's too early to set RTBC, so I linked to this patch from http://www.drupalcommerce.org/discussions/8675/commerce-feeds-and-commer... where people are looking for the same functionality.
My guess is that this patch should be part of Commerce Feeds since this module offers Feeds support for several other Commerce (related) modules. Should we move this discussion to #1254098: New target: VAT rate??
Comment #6
monterek commentedHi Imeurs
Could you write how you've implemented this patch (#4) to the module commerce_eu_vat
Comment #7
lmeurs commented@monterek: The patch was not witten for
commerce_eu_vat, but forcommerce_vat_reference, part ofcommerce_vatwhich is a dependency ofcommerce_eu_vat.To be honest I patch manually, so I created the file
commerce_vat_reference/commerce_vat_reference.feeds.incinside thecommerce_vatfolder, pasted the patch's content in this file and stripped all patch code. Now when setting the field mapping for your processor you can select VAT as target (maybe flushing the caches is necessary). This automatically worked with Commerce EU VAT.Comment #8
alex.cunha commentedHi axel.rutz. Thanks. The patch worked for me perfectly using a sample CSV file. Using feeds tamper (the same recipe described by lmeurs). Soon will test importing +12000 products.
@monterek: See also how to apply patches
Comment #9
timlie commentedThis works with commerce_eu_va.
Thanks!
Comment #10
ronino commentedPatch #4 works great. Thanks!
Comment #11
dwkitchen commented