I have an array with 3 categories names:
$arr = ['onecat','twocat','threecat'];
How can I get the IDs from this categories? For example in other array.
arraycategoryname
I have an array with 3 categories names:
$arr = ['onecat','twocat','threecat'];
How can I get the IDs from this categories? For example in other array.
Best Answer
Make a category Collection in 1.x Version then filter That Collection in condtion;
Then those category ids by getAllids()
Or: