Skip to main content

Questions tagged [websites]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
0 answers
42 views

Magento 2 Website getting down

We host our dev and production sites on the same server. However, the production Magento site is going down randomly but, the dev is up at the same time. It is like the website is not loading. I have ...
0 votes
0 answers
40 views

Magento2 How to get Use auto generated coupon by website wise.?

// For all websites $websites = $this->_storeManager->getWebsites(); foreach ($websites as $website) { $websiteUrl = $website->getDefaultStore()->getBaseUrl(); $url = $websiteUrl . ...
1 vote
4 answers
3k views

Magento : How to Change Copyright in Footer

I am trying to change copyright on my website from 2011 to 2011-2017. I have gone through system/configuration/design/footer/copyright and have attempted to change it with no luck. I have tried to go ...
2 votes
2 answers
4k views

Magento 2 How to get customer collection from website id?

I want to get collection for customer website wise. I have a website id, and now I want all the customers which belong to that particular website id. I am trying here: using \Magento\Customer\Model\...
0 votes
2 answers
1k views

How can i rewrite my category url for redirect new site

How can i configure category url rewrite management. When user click category it leads to another site.
0 votes
0 answers
33 views

Adding an extra step with details in checkout process in Magento 2

I am developing a website http://canadadrugsinc.com/ similar to https://onlinegenericmedicinestore.com/ Before checkout page I need an extra page "Medical Condition" who takes few ...
2 votes
1 answer
1k views

Magento 2 : Title Prefex and Suffix Doesn't Works

I have 2 websites with Magento 2.2.2 with luma theme. For one prefix and suffix works fine. For other, no prefix and suffix are rendering. Who can explain me exactly where part of the code is used to ...
0 votes
1 answer
483 views

Apply separate theme to multiple store view in Magento 2

I created multiple store views in the backend like Store 1, Store 2, and Store 3. Now I have three separate themes so want to assign them separately to store views. In the backend System-> ...
1 vote
0 answers
46 views

Magento 2 - Setup blog on subdomain

There is an option on magento to setup multiple website. But I don't want to do that. I need a subdomain for my blog like this: blog.example.com I don't want customers to lose their sessions and ...
0 votes
1 answer
463 views

Different admin URLs for each website - Magento 2.4

I have a Magento 2.4 instance that serves as the main website for my company. Also, I have multiple clients that want to have a website similar to mine but with different categories, products, and ...
0 votes
1 answer
826 views

URGENT! Magento2 error The website with code default that was requested wasn't found

My website meets a problem. It shows error: "0":"The website with code default that was requested wasn't found. Verify the website and try again.","1":" I've check ...
8 votes
11 answers
71k views

Magento 2: Requested store is not found

I had two websites with different store and storeviews. I just deleted one website which is not the default one. After deleting it the admin panel page and also the front page shows this error ...
2 votes
0 answers
573 views

B2C/B2B website - Best practices and feedback

I am developing a Magento 1 store which caters to 80% B2C and 20% B2B and I'd like to hear your opinion and experiences about what is the best way to go regarding stores vs website vs customer group ...
1 vote
1 answer
40k views

Javascript - Can't get 'getElementsByClassName' working

Im struggling to figure out why my code is not working. Here is part of the JS: function init() { var showMenu = document.getElementsByClassName('showMenu'), perspectiveWrapper = document....
0 votes
1 answer
201 views

Shipping method Sorry, no quotes are available for this order at this time

The plant guru website wont show me shipping method
1 vote
1 answer
542 views

Upgrade Magento 2.3 and store code base is not found

I upgraded my Magento 2.3.1 to 2.3.6, I'm seeing this message in the frontend. The website with code base that was requested wasn't found. Verify the website and try again. How could I fix it?
1 vote
1 answer
509 views

Magento 2 product import website id not updating

I'm importing products using csv. Using default method of magento. My csv file is below. sku,store_view_code,attribute_set_code,product_type,categories,name,description,short_description,weight,...
0 votes
2 answers
139 views

Use Magento or develop my own script?

I am a web developer, and I've recently gotten into selling stuff online, and now I am ready to take my products and make an e-commerce site. Heres the thing, I can code my own e-commerce website but ...
2 votes
2 answers
613 views

Translation: Multiple websites, multiple languages

I'm building a store for a client, and this is the first time I'm working with multiple websites AND multiple languages. I'm a bit uncertain how to handle the translation aspect. My store structure ...
1 vote
0 answers
133 views

Delete Magento 2 base website

I have two websites in Magento installation. I need to remove the current base website completely. Can I just delete the default website or are there other steps to do?
6 votes
3 answers
5k views

Get Website ID from Website Name

As the title says. I don't want the ID of the current website, I want the ID of any website by supplying only that websites name. I have this code: $siteModel = Mage::getResourceModel( 'core/...
0 votes
0 answers
37 views

Migration from Magento 1.9 to Magento 2.3 - Duplicated websites

I migrated from Magento 1.9.1 to Magento 2.3.4 using Data Migration Tool. I follow the Settings - Data - Delta steps but at least i obtain duplicated websites/views of my site. When I try to access ...
0 votes
0 answers
47 views

installed project on local and have an error

I installed project on local , used dump in the database but I have an error {"0":"The website with code base that was requested wasn't found. Verify the website and try again.","1":"<pre>#1 ...
0 votes
2 answers
434 views

Magento 2.3 | How to get Website ID in Cron Class

I tried to retrieve it as: \Magento\Store\Model\StoreManagerInterface $storeManager and $websiteId = (int)$this->storeManager->getWebsite()->getId(); But it returns null in cron class. ...
0 votes
1 answer
100 views

Migrate 1.9 to 2.2 when StoreView is not assigned to Store/Website

So maybe someone have already experienced something like that and will be able to help me out here: I have to migrate a 1.9 Magento to 2.2 which I do quite often in the last months and which is ...
2 votes
1 answer
907 views

How do I use multiple currencies for payments?

I know that Magento uses Base Currency and Display Currency for different purposes. Display Currency is just for the front-end and it can use Magento Conversion Rates to convert the prices ...
0 votes
1 answer
53 views

Magento site takes too long to load

My magento production site takes too long to load. How can this issue be resolved from magento side?
0 votes
2 answers
204 views

Magento2.3.1: Website is not opening in chrome browser but opening in Mozilla

I am working on https://www.depoto.com/. Suddenly, The website is not opening. I can see that The website is opening in another browser like Mozilla. I am trying to open in Google Chrome.
0 votes
2 answers
27 views

Magento Website or Magento Store?

We have a business requirement wherein, a collections of products will use "shipping method A" and a "payment method A". While a certain other collection of products will follow "shipping method B" ...
0 votes
1 answer
593 views

How one user can access two different websites with automatic login to both different instance Magento 2?

I have two different instances for Magento 2. If the user is logged in on Site1 and access it, then after the user goes to the Site2 then it should automatically be logged in for Site2. I need that ...
0 votes
2 answers
204 views

Diffrence between websites and store

what is the main difference between websites and store in magento2.
2 votes
1 answer
285 views

Magento 2.1.2 Issue with getting current website

$currentWebsite = $block->getCurrentWebsite(); is returning NULL even when the website has been well configured. Where should I check in the databases or at the backend, in order to solve for this ...
1 vote
1 answer
468 views

How to access different websites in magento

I have set up Magento as per my screenshot here http://snag.gy/XQqER.jpg with multiple websites. My question is how do access the trade website on the frontend? I presumed it would be http://www....
1 vote
1 answer
230 views

Magento 2 : Problem in reindexing site

I have created two users with certains access in BO and I found that when adding category or product even an article ( via an extension that I have already installed) I can't find the new rows added ...
1 vote
2 answers
1k views

Magento 2.3 | Get a list of all sites

Is it possible to get a list of all sites programatically?
0 votes
1 answer
121 views

Asp.net Place Order to Magento 2

I am looking for a solution in which asp.net web page place an order to my store. I have seen some solutions they are using the wsdl reference which is now obsolete . can anyone please help me in ...
14 votes
4 answers
40k views

Magento 1.9 multiple websites on different domains

I read and viewed all things related to multiple websites for Magento, but I still cannot setup properly to handle different domains with different Magento websites. Could somebody let me know step by ...
3 votes
3 answers
1k views

Faster ways of developing for magento 2

What platforms do Magento 2 developers use to code live? By this I mean, make a change and view it in browser as soon as I save my file. I was thinking that I could use Nano to create files and do ...
0 votes
1 answer
812 views

User automatically logged out by system after changing store

I have a multi-store web site for different cities. Users have an option to select their city and buy products available in that particular city. They have to register for buying products. For ...
0 votes
1 answer
743 views

website not showing in google - need help with magento admin key search words [closed]

It has taken 7 months for my website to finally work properly. I have had problem after problem from developers and now that it's up and running I still do not know how to use Magento properly. I ...
8 votes
1 answer
13k views

Magento 2 - How to list websites on frontend

What's the best method to get specific data in Magento 2, i.e. to list all the websites in the CMS? In Magento 1 I'd use Mage::app()->getWebsites() But that doesn't work in Mag2 anymore. I do see ...
2 votes
0 answers
195 views

How to get website/store id in the cms blocks/pages Magento2

I'm checking this for long time but couldn't get this.I would like to display the website id through the magento cms block/pages.Without calling it from phtml's. Thanks in Advance.
0 votes
1 answer
75 views

Free Magento 2 website

I wanna build up an e-commerce site using magento 2 with zero cost. Is there, any website where I can get free domain and free hosting. And it will give access me to use softaculas installer to ...
2 votes
1 answer
1k views

integrate magento site with all popular sites

we are devoloping magento site. so we are planning to integrate our magento sites with other popular sites like :amazon, snapdeal, flipkart...etc. purpose: assume we have 10 products for name "...
4 votes
5 answers
9k views

Magento 2 get Website names dropdown on any phtml

How can we get the Website names dropdown (Website Switcher) in any phtml (Ex : header.phtml) in Magento 2
1 vote
1 answer
521 views

Need magento store id using store name

I want to get the Magento Store id using Store Name as Search. I tried below code but failed. $vendortitle = $vendortitle . " Store"; $name = Mage::getModel('core/store')->load($vendortitle)->...
0 votes
1 answer
2k views

Merge JavaScript files is not working correctly

I am having a big problem with Merge Javascript files from Magento under System -> Configuration -> Advanced -> Developer. I need to enable the function to improve the loading of the site, as ...
1 vote
0 answers
30 views

Flush Magento system

Flush Magento Cache Flush Cache Storage Refresh Cache. Do Flushing process help website speedup? I have noticed that whenever we are doing flushing cache and refresh cache after that page speed test ...
4 votes
3 answers
4k views

Create simple product programatically in magento2

I have created simple product using following code.almost its working fine, but I'm not able assign product to websites. Actually I have created two websites. I want to assign product to particular ...