I have a Magento 2 staging site at http://climb2.essentiallogic.net/ with 2 stores rockclimbingshop and walkingshop.
I can display new products at http://climb2.essentiallogic.net/rockclimbingshop/rock-climbing-shop-home using the new product widget and it shows the new products for the rockclimbingshop store
On the other store when I use the new product widget it shows the new products for the rockclimbingshop store NOT the walkingshop store - see http://climb2.essentiallogic.net/walkingshop
Is this by design?
Can you target new products by store id?
Solved! Go to Solution.
Got the answer on Stack Exchange
The attribute set new from was set to website scope rather than store
My stupid misatke
Further investigation:
I can set a new from date in a particular store view, but Magento (ver. 2.3.5-p1) then sets that value for all stores on save. Bug?
From what i can see is that the new products that are listed are available in both shops, so the new products widget is working as aspected. Did you set up the different products well by setting the desired website where the product must be available?
The products are sold on one website but as in M1.9 I wanted to set the new from date per store (there are 3 stores) so I could display new products in each different store view.
When I set a new from date in a specific store scope for a product, on save, Magento updates all store scopes even if the default is blank. That doesn't seem right