I'm working on a Magento 2.4.2 with different websites. If a user add some items on a Web Site, open a new tab on the same browser and then visites another Web Site, the cart get emptied.
How can I stop Magento from doing that?
assuming a single domain, you have multiple websites created in Admin -> Stores -> Settings -> All Stores
Make sure that in Stores -> Configuration -> Customers ->
Customer Configuration -> Account Sharing Options section.
Set the “Share Customer Accounts” setting to “Global”
How can we create sitemap.xml in Magento 2, it is not being generated even I have done configuration setting in Stores -> Configuration -> Catalog -> XML sitemap
If sitemap is not generated through CRONJOB, then can create it manually as well using below steps:
login to Magento 2 admin
Navigate to Maketing -> SEO & Search -> Site Map
Click on 'Add Sitemap'
Make required entries there
Click on 'Save & Generate'
That's it. Your sitemap.xml has been generated in given path
I am using Joomla VirtueMart 3.0.10, to add new product.
For Product currency its showing Euro as Default.
When i am trying to configure same, for select Currency and List of acceptable currency, dropbox is empty.. and its not allowing to select current.
I need to modify Default currecy be US $
Thanks in advance
Go to
Virtuemart -> Shop -> Edit Shop
In right page you can add all currency you want.
If not appear in the list go to
Settings -> Currency
And activate your currency
in our Magento Shop we have 2 StoreViews for 2 different languages. Since both StoreViews uses the same URLs, only one Storeview is beiing indexed by Google in the correct country. Is it possible to automatically change the URLs of the one StoreView to make it unique for both StoreViews?
Thanks,
Toby
You can change your store url and can have a different url for different stores.
Go to System -> configuration -> Select the Store view in the drop down (Default config) -> Go to Web -> Uncheck the Use default option and Enter the URl for the Store view..
Hope this helps you
I've searched for this for hours again, so here I am!
How do you change the default (English) language to any other language in Magento? Basically, I want all my customer from store B to arrive at the French version of the site first by default, not the English.
Thanks a lot
In the admin menu System > Configuration, the first tab shown should be General and it includes a Locale section. That is where you set a store's language. You can choose which store it applies to with the scope selection in the top left of the page.
Set those variables in .htaccess
SetEnv MAGE_RUN_CODE "here put store_code from BO for french version"
SetEnv MAGE_RUN_TYPE "store" <- this leave as it is
Go to Magento Admin
System > Configuration
Current Configuration Section from left side bar
Go to general block and then go to Local Options and select your default language and click on save config and clear your cache from admin then got to frontend and refresh the page you will see the default language is set to your desired language.
Login to backend then go to System > Manager Stores > Click "Main Website Store" and chose default Store you need.
You can use apache mod_rewrite for this purpose, check following rule :
## Redirect according to user's language
## you can put .htaccess file
RewriteEngine on
# French Users
RewriteCond %{HTTP:Accept-Language} ^fr [NC]
RewriteRule ^$ /fr/ [L,R=301]
# Default Page
RewriteRule ^$ /en/main-page [L,R=301]
Log into your admin System => Manage Stores => Click on the "default store view" in your case English Store (Change the sort order to (1) as this will become additional store view.)
And after click on the French store view Keep the sort order as zero (0) as this will be your default language.
Log in to magento admin => System -> Configuration. Then from the top left in "Current Configuration Scope:" select your stores and then click on Configuration of left side in GENERAL section click on General then click on "Locale Options" then select French from the dropdown in Locale section.
download language files and place them into the right folders (app > local)
Login to admin panel and go to System > Manage stores
Create a new store view
Login to admin panel and go to System > Configuration > General
and select each store view from “Current Configuration Scope” drop down menu at the upper left corner of the window.
Set the corresponding locale for each store view
Clear the cache (System – Cache Management)
In order to set the default language for magento, you must go to System > Manage Stores, click on the “Store Name” and set the default language from there
Beware of the content of your language pack. It must have been tested that it works properly.
Reference: Magento language pack installation
Tried everything that's written here except for changing .htaccess...
Nothing worked but I found another way:
System->Manage Stores
click on Main Website Store
change Default Store View to French
refresh the cache if it's not disabled yet
May be it's version dependent - mine is 1.7.0.2
I am not sure about his code but you could give a try for below code:
Add a language pack In Magento store view:
Creating a store view for a language is not too hard in magento follow the steps given below and you are done with it.
Step 1: Download the language pack you need and then unpack it to your Magento install folder.
It copies two folders: one goes to app\design\frontend\default\default\locale
and the other one to app\locale.
Step 2: Go to System > Configuration in your admin. On the left top corner in Current Configuration Scope dropdown box, you can see Default Config, and Main Store in English store view.
Step 3: Now let’s go and add the French store view. Under the dropdown box, there’s Manage Stores link or you can directly go to System > Manage Stores. Click the Create Store View link on top right, and type these in store view information form:
Store: Main Store
Name: French
Code: french
Status: Enabled
Sort order: 0
Step 4: Save, go back to System > Configuration. In Current Configuration Scope dropdown box, you now see there’s French store view. Click that link.
On Locale options tab on the left, uncheck the ‘use website’ checkbox then change the locale to French (France). Save.
Now you can have your website in French.
If no store is specifically set in MAGE_RUN_CODE, Magento displays the store with the lowest sort_order. Log in to your Magento Admin and go to System -> Manage Stores. Here, select each store and change the Sort Order field until the store you want to use as your default has the lowest sort order
System -> Configuration
1) if you have multiple store then:
Left upper corner (below menu-links) you will see "Current Configuration Scope:" select store from there.
after that continue to step 2
2) if single store then:
left side "General" -> "Default Country"
if "Default Country" not selectable then please uncheck "Use Website" right site to country box
Thanks,
Chirag Nandaniya
Please use this link and installed this extension in your magento store http://www.magentocommerce.com/magento-connect/magento-community-modules-french-france-language-pack.html
and setup/create store view for french
Go to admin->system->configuration and do following steps
and from admin side just setup Country option to France by clicking on General Tab located in left side and also set default Currency by clicking on Currency Setup located in left side
but be careful to select Store view from first before applied above things from Current Configuration Scope: located on left side panel.
let me know if you have still facing any problem :)
The correct method is:
Go to System > Manage Stores. Click your main store name (for example Main Website Store) and in Default Store View field select French (I guess you have already created French as a Store View Name).