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

Product CSV vend-discount #10

Open
jtrotsky opened this issue Mar 4, 2015 · 4 comments
Open

Product CSV vend-discount #10

jtrotsky opened this issue Mar 4, 2015 · 4 comments
Assignees
Labels

Comments

@jtrotsky
Copy link

jtrotsky commented Mar 4, 2015

Vend uses a product to process sale-wide discounts.
This product has source=SYSTEM instead of source=USER as it is a system product, and will always have a handle and sku of vend-discount.

Although the product should not be changeable via a CSV import, there is potential that importing and changing the product could cause issues, so it's best to not include that in the CSV.

This one:

screenshot 2015-03-04 10 02 07

Should be an easy fix.

The way I excluded it with my export tool was during the CSV writing loop, I just skipped the loop if I matched the handle and sku to be vend-discount.

// Check and omit vend-discount.
if handle == "vend-discount" && sku == "vend-discount" {    
    continue
}
@pulkitsinghal
Copy link
Contributor

We are careful to exclude vend-discount from showing up in our ShoppinPal app, guess I glazed over it in vend-tools, thanks for the heads-up!

@jtrotsky
Copy link
Author

jtrotsky commented Mar 6, 2015

Welcome @pulkitsinghal :)

@pulkitsinghal
Copy link
Contributor

@ysg410 - I don't have Purva's github handle. Would you mind assigning this task to her and coaching her through it?

@pulkitsinghal
Copy link
Contributor

Guess this one goes back to you Yash.

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

3 participants