Monday, July 6, 2020

Magento 2: Override A phtml File Using A Custom Module

Customizing the core Magento 2 functionality is a bad coding practice. The solution is to override a phtml file using a custom module in Magento 2.

Methods to Override a phtml file using a custom module in Magento 2:



1. Create registration.php file in app\code\[Webiators]\[HelloMagento]\



2. Create module.xml file in app\code\[ Webiators ]\[HelloMagento]\etc

Method 1: Override a phtml file using a custom module in Magento 2 with plugin

In this method, we use the method to create plugin in Magento 2







Method 2: Override a phtml file using a custom module in Magento 2 with xml




The steps I mention above is the shortest process for you to Override a Template File in Magento 2. With this guide, you can manage the Template File in Magento 2 easily. Every store has a Template File in Magento 2 with many attributes.

Thank you !

Magento Extensions For Easy Magento Websites

Magento extensions are a component of PHP framework utilized to combine functions in Magento to extend its functionalities. However, Magento extensions for e-commerce website are the most popular as it helps e-commerce businesses with required tools and features. There are innumerable extensions offered by Webiators along with premium Magento extensions for e-commerce that has made it the number one choice among the e-commerce industry. Some of the top extensions are as follows:

GeoIP Redirection & Locker (M2)

The extension utilizes the IPSTACK API to quickly and precisely identify a visitor's location. Webiators GeoIP Redirection & Locker defines a visitor's geolocation automatically and redirects them to thee necessary page. Based on IP identification, the extension allows for making your store interface even more clear and convenient for foreign visitors.



With the use of the module, your foreign customers won’t have to choose the native language manually, as they will be redirected to a proper content presentation right from the jump. Our extension make it possible to allow/deny visitors access to your store. Also, you can create a IP blacklist from this extension in just few clicks.  Plus, the tool allows you to conveniently manage store access for different counties and IP addresses. Get the extension now.

Features:

  • Prevent any fraudulent store activities by blacklisting the IPs.
  • Manually specify countries to allow/deny access your site content.
  • Shape black IP lists..
  • Display 403 Access Denied text for users from the denied locations/ blacklisted IPs.
    Redirect users to a specific store view
    The module automatically determines visitors' locations and redirects them to the correct store view. With the help of the extension, you can improve customers' shopping experience by showing localized information - familiar languages.
    Block by IP address
    You can Block IP to access website even from allowed countries.

Reindex From Admin (M2)

It is a tool that helps in reducing the workload as well as saving more time. This extension enables the store owner to perform error-free tasks and keep there store up to date. Get the extension now.


Features

  • Enabling the reindex action in index management by going to the admin panel of Magento 2
  • Retrieving data from index management via one click
  • Ability to reindex selected data. 
  • Ease of use
  • Keeping the store up-to-date
  • Simple installation
  • Reindex data without technical skills 
  • Clear interface 

Share On Whatsapp (M2)

Webiators has developed WhatsApp Share Extension to take advantage of social sharing facility for every e-commerce store. Using which the store owner will allow customers to share products across WhatsApp contacts and groups. In this way, store owners will be able to promote their products to potential customers very easily and make the store more reliable. This is a great opportunity for Magento 2 store owners to bring more sales to their stores. With this facility, store owners can give a WhatsApp icon for any product on their store and click on it and allow them to share the product. This extension provides administrators with configurations to successfully use and control it from the backend.



Not only that, but this extension also allows the store administrator to integrate the Bit.ly API to shorten the product's URL before sharing it. And it also enables tracking the traffic received by WhatsApp by enabling the UTM tracking code in the URL with the help of Google Analytics. This extension helps store owners achieve more conversions at minimal cost as well. Get the extension now.

Key features:

  • Enable or disable Magento 2's administrator
  • This extension can display the WhatsApp share button only on the category page and product page.
  • To attract customers the administrator can write an appropriate message to share with the product.
  • Using WhatsApp is a very simple way to promote online business and meet new customers.
  • Allow short URL sharing using bit.ly
  • Allowing users to share their products with details, name, price, discount, special price, URL, etc. with their WhatsApp contacts.
  • Enabling UTM tracking code to analyze traffic from WhatsApp share in Google Analytics.
  • Supporting both the extension mobile app and the web version of WhatsApp.
The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Friday, July 3, 2020

Can I still Migrate From Magento 1 To Magento 2 After June 2020

From the latest news of magento’s official website we clearly get the information that If you have a store that continues to run on Magento 1 after June 30, please be aware that from that date forward you have increased responsibility for maintaining your site's security and PCI DSS compliance. Naturally, Magento 1 website will continue working even after June 2020. Still, Magento 1 EOL is a game-changer for businesses all over the world. Software sunset can have tremendous consequences for your online store and bring along a lot of dangers. New features, functionality updates, and security patches, as well as some Magento extensions, will only be made available to storefronts on the latest version of Magento 2 (M2).

If you are wondering what Magento 2 will bring you, check out the below list of advantages:

  • Magento 2 can process 39 percent more orders per hour
  • Add-to-cart response time is increased by up to 66 percent
  • End-to-end checkout time increases by up to 51%
  • Updated hashing algorithm (SHA-256) allows for a better password management
  • Native two-factor authentication (which is not available in Magento 1)
  • Support of the latest PHP versions
  • Compatibility with and built-in features for mCommerce
  • Improved software architecture
  • SEO dedicated tools
  • Compatibility with Elasticsearch
  • Ability to create progressive web apps
Website migration to Magento 2 solved the major problem with website performance, resulting in a 30 percent increase in overall and a 2x increase in product page upload speed.

What if I continue to use Magento 1 after End of Life 2020?

  1. Your Store would be at Risk without Quality and Security Fixes
  2. Developers will Stop Support for Magento 1.X Extensions
  3. Hiring Magento 1.X Developers will Become More Expensive
  4. The PCI Compliance Might be Lost after Support ends
  5. The Performance of Your Website will Take a Fall
Migrating or upgrading from Magento 1.X to Magento 2 is not a simple task of running some script codes or commands. It is a complex process and must be planned in advance to have a smoother transition to avoid the loss of the data at zero downtime.
At Webiators, we’ve acquired the expertise in Magento Development, and Magento Migration. With a proven track record of safe, speedy and effective processes, we are at the forefront of Magento 2 Migration. You can visit our Magento 2 Migration Service page for more details.

Tuesday, June 30, 2020

Basic Checklist For Appearing In Google Search Results (2020 update)

You actually have a lot of tools at your disposal to earn your website a great spot on Google’s search engine result pages (SERPs). In this article, We’ll run through a systematic and straightforward way to improve your Google rankings and get more traffic.
Here’s the basic process:
  1. Sending over your sitemap to Google Search Console.
  2. Find the keywords for which you have lackluster rankings.
  3. Figure out why the other pages are outranking you.
  4. Beat those pages on those points.
  5. Rinse and repeat.

What's a sitemap?

A sitemap is a blueprint of your website that helps search engines find, crawl and index all of your website’s content. Sitemaps also tell search engines which pages on your site are most important.
To submit your sitemap login to your Google Search Console account.
Then, go to “Index” → “Sitemaps” in the sidebar.

How to Do Keyword Research for SEO?

  1. Make a list of important, relevant topics based on what you know about your business.
  2. Fill in those topic buckets with keywords.
  3. Research related search terms.
  4. Check for a mix of head terms and long-tail keywords in each bucket.
  5. See how competitors are ranking for these keywords.
  6. Use the Google AdWords Keyword Planner to cut down your keyword list.

WHY DOES MY COMPETITOR RANK HIGHER THAN ME?

Understanding what users intend to get from a search is critical when optimizing your website. Google is attempting to furnish its clients with dependable outcomes from respectable sites that answer their question, while additionally giving a generally decent client experience. 
In the event that your rival positions higher, something is driving the internet searcher to accept that your substance is second rate for fulfilling client aim. 
Website optimization is tied in with making and improving substance for search clients while additionally giving Google each motivation to serve your substance over your rivals.

How can you improve your rankings?

  1. Work On answering user intent.
  2. Google judges trustworthiness by evaluating brand signals and a website’s backlink profile.
  3. Google considers things such as brand mentions and their overall online presence.
  4. Create Backlinks: If a website links to yours, they’re essentially vouching for you.
  5. Content of your site must be inferior.
  6. Your user experience must be the best.
Ranking higher on Google isn't advanced science. In any case, doing as such for certain catchphrases is more testing than others. That is the reason it bodes well to pursue rankings for uncompetitive watchwords for which you effectively rank on the primary page. It's then only an instance of making sense of why you're being outranked and doing everything possible to fix those issues. Visit Webiators for more such articles.

Monday, June 29, 2020

How to Add Custom Column in Sales Order Grid of Magento 2

In Magento 2 store owner has the necessity of getting extra information like customer comments. But just receiving such information and saving it into the database is not helpful. Because all time you need to navigate in backend order details views to see selected information. Instead, adding one extra column in Backend Sales Order Grid will help you to have quick look at all useful information.


Firstly, we need to create a “sales_order_grid.xml” file at this path using the below code.
app\code\Webiators\OrderColumn\view\adminhtml\ui_component\

Now you have to create one more file “Mycolumn.php” at the following location.
app\code\Webiators\OrderColumn\Ui\Component\Listing\Column\

That’s it

Friday, June 26, 2020

How To Perform SEO Of A Website? Newly Identified Methods ( 2020 Update)

The search engine optimization (SEO) world has undergone some big changes in the last few years and many newly identified SEO methods are discovered—the biggest being coming in the form of Google’s heightened push towards strong user experiences. These unique and proven methods of SEO optimisation gives a SEO specialist to concentrate on user experience as well.


How To Perform SEO Of A Website?

Today, the ‘secret’ to SEO is no secret at all. It’s common sense. Brands that rank high on search engines have great content, address their target audience’s search intent, and take the time to optimize their sites from a technology standpoint. 

Fundamental steps to SEO success:

Try to identify customer needs

  1.  Try to identify the keyword people use to get to your product.
  2.  Analyzing more Google search results.
  3.  Try to concentrate on search suggestions.
  4.  Find topics related to your industry.

On‐page optimization is the next step in your SEO strategy

  1. Your content must relate to your keyword.
  2. Your site’s URL structure should be as simple as possible.
  3. Create compelling meta titles and descriptions.
  4. Use the standard HTML format for headers.
  5. Use alt tag to describe and explain your images.
  6. Get started with using Schema.
Your goal should be to create a positive experience for both humans and bots
  1. Concentrate on website load time.
  2. Website should be mobile-friendly.
  3. SSL certificate for secure connection.
  4. Create a sitemap
  5. Have a robots.txt file
  6. Links between relevant pages
Build backlinks
  1. Check the Backlinks report.
  2. Broken link building.
  3. Write for another website in your industry.
Track your performance
  1.  Measure organic traffic
  2. Track your rankings
Over time this process will help you build up the authority of your site, and you will be able to rank for more competitive keywords with high search volumes. Webiators team focus on serving audience’s needs and answering their questions in a thorough and empathetic way. For further details visit our website.

Thursday, June 25, 2020

How to Add Custom Field in Magento 2 Registration Form

Today, we are going to guide you on how to add custom field in the Magento2 registration form. In our last blog, we discussed how to save custom attribute value after customer register in magento2.
 Let see how to add custom field in the Magento2 registration form step by step:-
Step-1 Create additional.phtml file

 Create view file additional.phtml app/code/Webiators/CustomerAttribute/view/frontend/templates/additional.phtml for show field on customer registration form.

  1. <div class="field magento_username required">
  2. <label class="label" for="magento_username">
  3. <span><?= $block->escapeHtml(__('Magento Username')) ?></span>
  4. </label>
  5. <div class="control">
  6. <input type="text" name="magento_username" id="magento_username" value="" title="<?= $block->escapeHtmlAttr(__('Magento Username')) ?>" class="input-text" data-validate="{required:true}">
  7. </div>
  8. </div>
Step-2 Create customer_account_create.xml file

 Create layout file customer_account_create.xml app/code/Webiators/CustomerAttribute/view/frontend/layout/customer_account_create.xml 

  1. <?xml version="1.0"?>
  2. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  3. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  4. <body>
  5. <referenceContainer name="form.additional.info">
  6. <block class="Magento\Framework\View\Element\Template" name="form_additional_info_customer" template="Webiators_CustomerAttribute::additional.phtml"/>
  7. </referenceContainer>
  8. </body>
  9. </page>

Let me know if you have any questions or faced any issue while following this method for add custom field in the Magento2 registration form in the Comments section below. 
Thank you.