1
vote
Magento 2 setStoreId VS setCurrentStore
setStoreId will load the data for your products for the scope of the store id if the attributes for your products have some store view values for it.
setCurrentStore will go to the next step; in fact, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
price × 1599magento2 × 509
magento-1.9 × 321
product × 254
configurable-product × 158
cart × 79
custom-options × 74
tax × 69
special-price × 65
tierprice × 62
magento-1.7 × 58
magento-2.1 × 56
catalog × 54
catalog-price-rules × 53
magento-1.8 × 51
bundled-product × 43
php × 42
layered-navigation × 40
currency × 40
event-observer × 38
magento2.3 × 36
product-attribute × 33
filter × 33
attributes × 31
magento-1 × 31