Questions tagged [multistore]

Questions about the multistore feature, i.e. how to deal with multiple websites, store groups and store views in one Magento installation

Filter by
Sorted by
Tagged with
2 votes
3 answers
4k views

Magento 2 Multi Store with Sub-domain for B2B

I need to create a new store for my e-commerce (not a new website, not a new store front) for B2B. Now, my e-commerce is active on mobiroloshop.com (B2C) and I want the new store on b2b.mobiroloshop....
2 votes
3 answers
1k views

Magento 2 - Redirect base url to base url with store code

In Magento 2 I have two stores with "add store code in url" option enable. Store code 1 = "fr" Store code 2 = "es" I want to automatically add default store code in url: ...
3 votes
1 answer
2k views

(Solved) Magento 2.2.2 - Update product price per website programmatically not working

I'm trying to import product prices from an XML file, which contains prices in two different currencies for the same product (EUR and DKK). I've created a website for each currency and set the "...
0 votes
2 answers
5k views

Multi website and multi store view with custom url in magento 2

I have a magento 2 installed and configured the following: default website with 1 store view called us_en eu website with 1 store view called eu_en When I change base url to store view like ...
1 vote
2 answers
140 views

Magento2: Experiencing a problem with currency loading on PDP page

We are experiencing an issue with one of the store PDP page, where the currency sign is not showing after the page loads. During PDP page loading, the currency symbol is displayed, but after ...
0 votes
1 answer
2k views

Magento 2 :Share Customer Login and Cart Between 2 Stores in Website

I have two stores in website. The store switching is working fine. But when I login in Store1 and switching to Store2, I need to login again separately in store2. My stores are using different ...
0 votes
4 answers
58 views

Redirect link for multiple store

I have a small problem and don't know how to implement redirect based on selected language (as a multiple store views there are few languages: en, lt,lv). The file located in app/design/frontend/...
1 vote
1 answer
181 views

Multistore Switch based on url

I want to change the store of my magento website based on the url. For example if I open up a URL that exists on my secondary store I get a 404 if it's not the first time entering the website. ...
0 votes
2 answers
1k views

Magento 2.2 some JS files are not loading in production mode

In Magento 2.2.2 when setting website into production mode the following files are not loading, due to which my store switcher and other ui functions are not working in production mode: http://...
0 votes
1 answer
1k views

Magento 2.3.2 - Switch Website (store) without going to base URL

I'm using the following code to switch websites. app/design/frontend/[Vendor]/{Child_theme}/Magento_Store/templates/switch/languages.phtml <?php /** @var \Magento\Store\Block\Switcher $block */ ...
0 votes
1 answer
1k views

Magento2 Multiple stores

I'm looking for clear solution without spikes, without creation any subfolders in pub with index files, without hardcoding cookies etc. In other words I'd like to achive multistore in magento only ...
0 votes
3 answers
1k views

Getting "url key for specified store already exists" error in magento2

I have installed magento2.1 and it was working properly with multi-store. When I have disabled some categories from a "sub" store, and try to add any product (already assigned to "sub" store) to that ...
0 votes
1 answer
1k views

Re-import images for multi-store with maintained image roles

I have an existing web site with thousands of products. I have several storefronts and all products are available on all stores using the same product images with the same image role settings (i.e. ...
0 votes
1 answer
2k views

Magento 2 : Store view will not load

I have 2 store views. The default view loads fine and seems to be fully operating. The added store view is failing. It also doesn't load directly by URL, it re-directs to default. My setup is 1 ...
8 votes
1 answer
1k views

Websites with different tax classes for one country

What is the best way to have different taxes in different websites for one country? Scenario: Website 1: Tax Rate for Germany -> 19% Tax Rate for Austria -> 20% Website 2: Tax Rate for Germany -> ...
0 votes
3 answers
446 views

Magento SEO Optimisation Queries

I have been working on SEO for multi-store Magento but am facing the error of duplicate content, especially for product pages. Case 1: The client wants to keep the Category Url on the product page, ...
3 votes
2 answers
9k views

Magento 2.3.0 - The store that was requested wasn't found

I have a multi website | Store | Store View setup on one magento 2.3.0 install, setup using this guide. For example xyz.com xyz.com/us xyz.com/uk As of late the main site xyz.com gives the following ...
2 votes
1 answer
2k views

Magento 2 multi store and multi domain - Notice: Undefined index: store;

I am trying to set up my local mac to have 2 stores in 1 magento instance The main domain (www.mydomain.dev) is working as expected however the french domain (www.mydomain-fr.dev) is not loading and ...
2 votes
1 answer
3k views

Website switcher on Magento2?

I would like to place a website switcher in the header. I checked this but not sure in which file to place the code.. Show Website Switcher on Header in Magento 2 Can anybody help me?
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" ...
0 votes
0 answers
20 views

Code change to an existing store in Magento2

I changed the code of an existing store view from "at" to "es" and just activated it. I have already entered the translation file for Spanish ---> es_ES.csv. When I try to enter ...
0 votes
2 answers
1k views

How to get store currency code by store Id in Magento 2.3.x?

I have multiple stores on my website. I need to get the store currency code by store Id. How can I get it? I was trying by below code but it's always returning default store currency code: $...
0 votes
1 answer
2k views

Magento2 Restrict Store view to a customer group

I need to restrict 1 storeview to a customer group and require login. Any suggestions?
15 votes
9 answers
13k views

Where is the settings to check Use default Value in magento 2?

We have a Multiple website Magento 2 setup, We add product data in All store view and only change product price in individual store views. Now the problem is when we switch to store view, we have to ...
0 votes
2 answers
3k views

Get URL of Current Store View Store Magento 2

I have created multiple stores in one. Now when I change the store view it definitely changes and I have set the Base URLs for this store view accurately. But when I try to get the current store view ...
2 votes
1 answer
5k views

How to add a website switcher instead of store view switcher?

I have 3 websites (mydomain.com/us/, mydomain.com/en/ and mydomain.com/eu/), each has one store view. I want to switch between these 3 Magento websites with a dropdown switcher similar to that used ...
0 votes
1 answer
1k views

PayPal gateway has rejected request Paypal is not supported (#10605: Transaction refused because of an invalid argument

I am using two store for my website one is for India and other for global(other country). for Global is used paypal payment method. in global store currency is USD, India store currency is INR, ...
1 vote
2 answers
2k views

magento 2 multiple store views with sub domain url

I am trying to have two different store views with different themes but has the same catalog and settings. default store view: website.co.uk second store view should have: migrate.website.co.uk Both ...
8 votes
1 answer
6k views

Products not showing on a multi store view magento site

I am creating a magento site with multiple store views. I have one website and two stores. One for the UK & one for the US. Both sites were showing products but now the US site store view 2 is not ...
0 votes
1 answer
47 views

How to update product position of a product in a specific category of specific store view in magento 2.4.4

I have a multi-store website and have more than 30 categories. I have a requirement like updating the product position. For example, I have a category 'XYZ' which contains more than 500+ products ...
0 votes
1 answer
158 views

Magento 2.4.6p2 graphql customer token

I have a multi site Magento installation we do not share login per website. We have 2 websites under the same domain each with separate store views. If you create and account on the second store view ...
1 vote
0 answers
17 views

Seeking Advice on Website Sub Folder Structure and SEO for Magento 2.4 Multi-Store Setup

I'm in need of some guidance regarding my Magento 2.x multi-store setup, particularly concerning my website structure and SEO. I've been facing some challenges, and I'd appreciate your insights and ...
2 votes
2 answers
52 views

translation not working when added new store in magento 2.3.2

I already had 2 stores, translation was working fine in them, then I created another 3 stores and translated them from csv file, but the translation is not working. Magento2.3.2 this is already had 2 ...
0 votes
1 answer
127 views

Purge URL from multiple Varnish Servers in multi domain setup

I would like to purge a specific URL from a multi varnish Server enviroment. The extra is that we have multiple Domains running over the same Varnish. curl -X PURGE -H 'X-Magento-Tags-Pattern: .*' -H '...
0 votes
1 answer
231 views

Magento 2 - Redirect customers to correct store on login using the same url

My site requires customers to login via third party to a multistore on magento 2 using the same url (no store code in url). I have 3 websites with corresponding stores, views and customer groups. ...
4 votes
2 answers
49 views

When To Use MultiStore Vs. Categories

I'm attempting to hide the "Add To Cart" button for specific stores currently and am having some issues with my lack of experience. It works in each individual store but not when using the search ...
0 votes
3 answers
47 views

Magento 2 + default url needs to traslate

Need to translate some default URLs like customer/account/login/ & customer/account/create/ is there any way to translate these URLs with/without using URL rewrite?
0 votes
0 answers
51 views

Magento 2.4 - Programmatically Created Categories in Multi-Store Collide

I have a Magento 2.4.3 multi-store and I am currently creating categories programmatically, with the following code: $category = $objectManager->create('Magento\Catalog\Model\Category', ['data' ...
0 votes
2 answers
84 views

Magento 2 - Multistore with same store codes

We want to create the following setup: Main Web Site (code: store) -> Store BE (code: store-be) -> Store View NL (code: nl) Main Web Site (code: store) -> Store BE (code: store-be) -> ...
0 votes
2 answers
70 views

Update on "Add Store Code to URLs" Setting and URL Redirection

Recently, I made the Magento settings update regarding the "Add Store Code to URLs." I have set this option to "No," which has successfully removed the store code from the URLs. ...
0 votes
2 answers
164 views

How can I have different robots.txt files for each store in a Magento installation with multiple stores?

I have a Magento installation with multiple stores, and I need to have different robots.txt files for each store. Currently, I have a single robots.txt file in the root directory of my Magento ...
0 votes
1 answer
141 views

Configurable product prices are not changing with the variant selection

I have imported products from another Magento webshop, and both webshops are using Magento 2.3.5. On the frontend, specifically on the configurable product detail page, the prices are not updating in (...
0 votes
1 answer
38 views

Multiple Ecommerce Functionality in Magento 2

I am new to Magento so pardon me if I sound stupid. I want to build an Ecommerce website in magento 2 which have following functionality: Simple Ecommerce Functionality like products, categories and ...
1 vote
2 answers
379 views

How to switch stores directly without the store switcher's redirect chain?

For SEO reasons we would like to switch stores directly without the default store switchers redirect chain. The normal Magento store switcher creates a redirect chain when switching store. For example ...
0 votes
1 answer
54 views

Is there a language pack for slovenian language?

I am using Magento 2.4.5-p1, Is there a recommended language pack for Slovenia, in other words, the slovenian language? For other languages, i am using the mageplaze language packs. For the slovenian ...
0 votes
2 answers
68 views

$category->getStoreId() returns the current store instead of the store that it actually belongs to

I have a category 1 which belongs to store A and category 2 which belongs to store B. When I am in store A and run the query $category->getStoreId(), both categories returns A, and when I am in ...
0 votes
1 answer
219 views

Multi Store can't show different "Display Out of Stock Products" options on frontends - 2.4.6

My issue is that I can't get my different frontends to show different "Display out of Stock Products" options. Does anyone have any tips on which stock Magento module I need to look into to ...
0 votes
1 answer
128 views

Magento 2.3.4 duplicate/clone media gallery images on 'save & duplicate' product, multistore

In the admin panel, when a duplicates a product, the product pictures duplicates themselves several times, for each store exist in db. Example, Have magento with 12 stores Have product A with 1 image ...
1 vote
1 answer
88 views

Magento 2.4.2 address on storeview level although customer config is Account Sharing Options not global

I have a Magento 2.4.2 with 3 websites, 1 B2C and 2 B2B shops. I have setup the global customer setup to Share Customer Accounts -> Per Website But when I want to add an customer address the inputs ...
1 vote
1 answer
1k views

Problem with the URL when changing store while in Subcategory

First off, Lets clarify : -Using Magento ver. 2.1.1 -Got a Porto theme -Only one extension other then the one for the theme: M2E -Installation on Google cloud We just got into Magento, fiddle with it ...

1
2 3 4 5
23