Questions tagged [position]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
12k views

How to update product position (number) in specific category programmatically

I would like to set all position-numbers in one specific category to 100 instead of 0 (default). Id like to do this once - not for future products in that category. Thx in forward!
4
votes
1answer
3k views

How do I change the default value of the “position” category attribute?

I would like to update the default position value that products are assigned when they are added to a category. When you update a category from the categories editor, new products are saved with a ...
5
votes
1answer
1k views

Magento2: How to update products position in category via CSV?

I want update product position attribute in category through the CSV feed. Anyone have any idea OR sample CSV which can accomplish my requirement.
3
votes
2answers
7k views

Set Category Product Position of Products

I have a php script in magento that programmatically creates products in a for each loop as below: $i = 0; foreach ($array as $product) { createProduct($params); $i++; if($i == $count){ ...
0
votes
1answer
2k views

Newly added products not showing as first in category

This might've been asked before, and I'm kind of sure it was. But unfortunately, I did not succeed to find the answer to this. I'm deeply sorry. So let's get to the question. We've been working with ...