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

Items and Category (ies) #3

Open
cniemann88 opened this issue Mar 3, 2014 · 0 comments
Open

Items and Category (ies) #3

cniemann88 opened this issue Mar 3, 2014 · 0 comments

Comments

@cniemann88
Copy link

Hey I am trying to figure out 2 things, and couldn't find anything yet, hope you can help me out.

  1. How do I add an item to an maybe existing category (i am not sure if it exists). I know that if i use Category_SaveAndGet then it will just create a new category, but this is definetly not what i want. I know i can use Category_GetByName, but that throws a soapException if the cat does not exist, and i would rather not catch exception... is there something that returns a boolean ?
    I saw Category_Exists, but its unclear how to use this, since it takes picatID as a parameter, but i dont have that without getting that category first from the AC Database.

and the more important one for me:
2. how do you add multiple categories to a single item ?
I know that by using a csv upload file it would look like this: Jerseys|Jerseys > Kids Jerseys|Kids|Kids > Childrens but using otherCategories on the ProductTrans doesnt work, and carID is not an array...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant