{"id":920,"date":"2020-03-28T04:00:34","date_gmt":"2020-03-28T04:00:34","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/03\/28\/pause-your-magento-2-store-in-google-search\/"},"modified":"2025-05-22T14:39:38","modified_gmt":"2025-05-22T09:09:38","slug":"pause-your-magento-2-store-in-google-search","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/pause-your-magento-2-store-in-google-search\/","title":{"rendered":"How to Pause Your Magento 2 Store In Google Search During Coronavirus Outbreak"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">As per&nbsp;<a href=\"https:\/\/www.statista.com\/statistics\/1105021\/coronavirus-outbreak-stock-market-change\/\" target=\"_blank\" rel=\"noreferrer noopener\">Statista<\/a>, between March 6 and 18, 2020, all major stock market indices lost value due to the COVID-19 pandemic sweeping across the globe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Businesses like airlines, restaurant bookings, car, fuel, etc are the most hit along with the startups and the small online and offline businesses.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The coronavirus outbreak has caused the stores to shut down their business when not being able to cope up with the pandemic. Some online shops have decided to pause their store in the wake of COVID-19.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are such a store running on Magento 2 platform, here are some tips on how to&nbsp;<em><strong>pause your Magento 2 store in Google search during coronavirus outbreak<\/strong><\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With the outlook of coming back and being present for your customers, here are a few recommendations on how to pause your Magento 2 online store who have paused offering their products or services online, and minimize impacts with Google Search.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to pause your Magento 2 store in Google Search during Coronavirus Outbreak:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When your plan is to temporarily pause the site and not shut down permanently, it is recommended to limit the store\u2019s features and allow people to access the site, add items to a wishlist, share the product URLs, check the product reviews, limit the cart total value or number of items purchased, etc.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Here are some of the things that you can implement while pausing the Magento 2 store amidst COVID-19 and the method to do so:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Disable Magento 2 Cart:<strong><br>Method 1: From Admin Panel:<br><\/strong>Navigate to Store &gt; Configuration &gt; Sales &gt; Checkout &gt; Checkout Option &gt; Enable Onepage Checkout&gt; Set to No<br><strong>Method 2: Programmatically<br><\/strong>Create app\/code\/[NameSpace]\/[Module]\/etc\/di.xml<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\"?>\n&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:ObjectManager\/etc\/config.xsd\">   \n    &lt;type name=\"Magento\\Catalog\\Model\\Product\">\n        &lt;plugin name=\"module-filter\" type=\"[NameSpace]\\[Module]\\Plugin\\Magento\\Catalog\\Model\\Product\" sortOrder=\"1\" \/>\n    &lt;\/type>\n&lt;\/config><\/pre>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Create app\/code\/[NameSpace]\/[Module]\/Plugin\/Magento\/Catalog\/Model\/Product.php<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\nnamespace [NameSpace]\\[Module]\\Plugin\\Magento\\Catalog\\Model;\nuse Magento\\Catalog\\Model\\Product;\nclass Product\n{               \n    public function afterIsSaleable(Product $product)\n    {           \n            return false;    }\n}<\/pre>\n<\/div><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The above code will hide the \u201cAdd to Cart\u201d links everywhere in Magento 2.<\/li>\n\n\n\n<li>Mark the items as out of stock in Magento 2 store.For doing so in bulk, you can&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/update-product-attributes-in-bulk-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">update product attributes in bulk in Magento 2<\/a>This method allows for changing the product labels in bulk.&nbsp;While implementing this method, go to Advanced Inventory, and&nbsp;<strong>set quantity<\/strong>&nbsp;to \u201c0\u201d and the&nbsp;<strong>stock availability<\/strong>&nbsp;to \u201cOut of Stock\u201d.No need to edit one by one product for these things, owing to batch update for Magento 2 product attributes!<\/li>\n\n\n\n<li>Use responsive popups that show the details about the business position, upcoming plans to survive the business in the crisis, delays in order fulfilment, and any such information that helps the customers plan their shopping and expect accordingly.You can use&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-popup.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Popup<\/a>&nbsp;extension for generating and displaying popups with the important action to retain visitors\u2019 attention.<\/li>\n\n\n\n<li>If your store uses structured data,&nbsp;make sure to update it&nbsp;according to the availability of the current product.<\/li>\n\n\n\n<li>Use search console and sitemaps in order to notify Google about these temporary changes.<\/li>\n\n\n\n<li>Limit maximum product quantity purchase per customer if you are selling items essential for living in order to effectively manage the orders when the staff capacity is reduced. For Magento 2 stores, one can use the&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-limit-product-quantity-per-customer.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Limit Product Quantity Per Customer<\/a>&nbsp;extension.<\/li>\n\n\n\n<li>If your business is still functioning for all categories but with restrictions and limited staff, restrict the number of quantity allowed to be purchased from the leisure items\u2019 category for loyal customers. The&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-limit-quantity-per-category.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Limit Quantity Per Category<\/a>&nbsp;extension can help implement it.<\/li>\n\n\n\n<li>Due to the pandemic and panic buying, many stores have faced the out of the stock situation and the customers who wish to buy such items get disappointed. In order to balance this situation, the store can offer a subscription facility to customers to get notified about the desired products when back in stock. Also, the store owners can understand the demand for products and manage the inventory accordingly during the coronavirus outbreak. Meetanshi offers an easy-to-use tool,&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-out-of-stock-notification.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Out of Stock Notification<\/a>, to implement the same.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Apart from these, you can change the business hours on Google My Business if it is affected due to the pandemic!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are preparing for the worst situation, and disabling the store entirely, which is not recommended, but you are still going for it, you can enable the maintenance mode using the&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-maintenance-page.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Maintenance Page<\/a>&nbsp;extension.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Even after taking the above precautionary steps when you disable or pause your Magento 2 store in Google search during the coronavirus outbreak, your store visitors and customers may have questions and might contact you. Keeping in mind the staff shortage, you can implement the FAQ section using&nbsp;<a href=\"https:\/\/github.com\/mageprince\/magento2-FAQ\" target=\"_blank\" rel=\"noreferrer noopener\">this<\/a>&nbsp;free extension.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Taking down a business is stressful and hopefully, the above steps will help keep maintain your Magento 2 store during the COVID-19 disaster.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Spread the word using social media, hoping it would be of some help to the Magento stores affected by the coronavirus crisis.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stay safe, stay healthy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As per&nbsp;Statista, between March 6 and 18, 2020, all major stock market indices lost value due to the COVID-19 pandemic sweeping across the globe. Businesses&#8230;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-920","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=920"}],"version-history":[{"count":4,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/920\/revisions"}],"predecessor-version":[{"id":15004,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/920\/revisions\/15004"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}