Jump to content

Forcing product id when inserting a new product (no csv import)


Recommended Posts

Hello everybody,

 

i am using ps ver. 1.5.4.1

 

For my colleagues, which will insert and process the products in the Back office, i would like to allow them to force the id of the new inserted product. I mean i should give them an option to insert in the Catalog>Products>Information tab a custom id of the new product, which will be actually the id of this product in the database of our ERP system, so there is no risk of duplicating (as all the id's will be synchronized). I know how to do this (by csv import or by sql statement in the database), but they will not have this access. So after i import all of the products with proper id, i should give them an option to do that also for any new product, which they will insert through the ps module for inserting.   

So i will have to add a textbox for custom id and also to change the code for using the value of this textbox during the statement for inserting this new product. I think there is no problem to do this. I just need to know which files i need to change for achieving this result.

Does anybody knows which files should be considered for this task. This will save me a lot of time for searching through the files.

 

Thanks in advance.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...