-
Notifications
You must be signed in to change notification settings - Fork 3
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
Product CSV bools #8
Comments
@jtrotsky - Thanks! Yes, this should be accomplishable. @elbrando - You use this feature quite a bit to print new barcodes right? By piping the data into your 3rd party software every so often ... correct? So, I want to make sure that if I make the changes suggested above ... replace true/false with 1/0 ... it should not break your process ... will it? Let us know. |
I'm thinking of an explicit flag to enable the functionality, something like:
|
Yes, we use this a lot. The "true/false" vs. "0/1" thing is what it is. Should the field be true/false? Sure. Can we deal with the bifurcation? Sure. Personally, I'd rather deal with the 0/1 until Vend makes it evaluate true/false, as it should. ;) Mostly, I just wanted to use "bifurcation" in a meaningful way today. Thanks. |
Soooo ... (god i'm dumb)... @elbrando you want |
@pulkitsinghal I like the idea of a --vendFriendly flag.
Vend currently only evaluates |
In a Vend product CSV, there are some strict rules for what is a valid import to a Vend store.
The two boolean columns in the CSV are
active
andtrack_inventory
.Vend will only accept a 1 or 0 for bools, true and false are not valid. (this is our error.. but it exists either way.)
Currently vend-tools downloads products with
active
andtrack_inventory
like this:It needs to looks like this:
Should be a simple fix.
I don't know how it should look here, but this is what I did (in Golang):
The text was updated successfully, but these errors were encountered: