cancel
Showing results for 
Search instead for 
Did you mean: 

insert category programmaticaly set ID

SOLVED
Highlighted

insert category programmaticaly set ID

can I specify ID in model category? to save with my own id. not using auto increment?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: insert category programmaticaly set ID

Hello @volnei_ribeiro 

 

It would be better if you create a new attribute for category and use that attribute, you can override functionality of creating new category so that it increment the new derived ID as per you want.

Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !

View solution in original post

1 REPLY 1
Highlighted

Re: insert category programmaticaly set ID

Hello @volnei_ribeiro 

 

It would be better if you create a new attribute for category and use that attribute, you can override functionality of creating new category so that it increment the new derived ID as per you want.

Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !

View solution in original post