Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
38 views

Magento 2.1.10 setStoreId vs. setCurrentStore?

I inherited a Magento v 2.1.10 project and was curious what the difference is between setStoreId(0) and setCurrentStore(0)? Besides setStoreId being derived from the ProductFactory while ...
A. Andersen's user avatar
2 votes
1 answer
37 views

how to stop creating multiple url of product

Product URL created for all stores even I have disable the stores 1,2,3,4. I just need store 2. but while uploading the product the nos of product URL created for all stores(in url_rewrite table). If ...
Mahendra's user avatar
  • 716
1 vote
0 answers
760 views

Change store id of the order at the time of checkout

In my website i can change the store as per the region from the front end , but while placing the order , i want to change the order store id as per the product vendor region store id even if the ...
Bhavesh Tilvani's user avatar
8 votes
5 answers
23k views

Magento 2 saving update product in "All Store Views"

I want to update product information for "All Store Views" but it seems that when I try to update a product, Magento ignores setStoreId(0). Instead the product information will be saved to store view ...
Cudos's user avatar
  • 487
0 votes
1 answer
2k views

Magento 2: How to run CLI command on admin store (storeId:0)?

I have a multi-store setup with Magento 2.1.7 CE on the domain a, domain b, domain c. I want to apply images to some products programmatically. When I make an API call on any domain with the "all" ...
aksel's user avatar
  • 1