Magento 2 Transactional Email Templates

Lot’s of people ask me “What does the new order email look like in Magento 2?”  Well, it’s pretty easy to find the Magento 2 Transactional email area in the admin but it’s even easier to look on one post and find them all.  So here we go…

*NOTE: All dynamic information will not be filled in here, but it will be when an order is actually placed and has the proper data.

New Order Email 

MAGENTO 2 TRANSACTIONAL EMAIL TEMPLATES - New Order

New Shipment Email

MAGENTO 2 TRANSACTIONAL EMAIL TEMPLATES - New Shipment

New Invoice Email

MAGENTO 2 TRANSACTIONAL EMAIL TEMPLATES - New Invoice

New Account Transactional Email

MAGENTO 2 TRANSACTIONAL EMAIL TEMPLATES - New Account

What is a “canonical link element”? – Magento 2 Certified Solutions Specialist

What is a “canonical link element”?

  1. A canonical link element is a code level HTML element that helps webmasters and website owners prevent duplicate content issues by specifying the “canonical”, or “preferred” version of a web page as part of search engine optimization.
    1. Example: <link rel=”canonical” href=”https://www.magentosite.com/page1″ />
    2. While the canonical link element has its benefits, Matt Cutts, who is the head of Google’s webspam team, has claimed that the search engine prefers the use of 301 redirects over the canonical tag. Cutts claims the preference for redirects is because Google’s spiders can choose to ignore a canonical link element if they feel it is more beneficial to do so.
    3. The canonical link is used for SEO that will describe the ‘proper’ link url that should be used in the search results like Bing and Yahoo and others.
  2. For example:
    1. You are selling a t-shirt that that shirt is named “Killer Whale Tee” and is located in Women’s, Sale, and Tshirt categories.  In theory there would be 3 urls for each of those.
      1. https://www.fancyts.com/womens/killer-whale-tee
      2. https://www.fancyts.com/sale/killer-whale-tee
      3. https://www.fancyts.com/tshirt/killer-whale-tee
    2. But you just want to give the power to the base url which is (without the category):
      1. https://www.fancyts.com/killer-whale-tee

How to Setup Your Catalog for Search Results – MAGENTO 2 CERTIFIED SOLUTIONS SPECIALIST

How can you set up a product catalog for best search results, taking into account issues of duplicate content, meta content, meta title, keyword search terms in product description, attribute weight, and so on?

    1. When setting up a product catalog you should focus on
      1. A search engine friendly URL slug without html
        1. Use keywords that you want to rank for in the url slug.
      2. Populate a proper Page Title, Meta Description with 155 characters that use shopping/action related terms like “buy” “shop” “explore” etc.
      3. Attribute weight in SOLR search, To improve the relevancy score of search results based on product attributes, assign a larger weight to those attributes.
      4. Duplicate content, if you simply copy and paste product descriptions you will rank poorly for onpage content and be flagged for duplicate content in your search rankings.
    2. Duplicate content – ensure that each product will have a unique description and there is only a single path to the same product
    3. Meta content – ensure that this is populated and crawlable
    4. Meta title – again, make sure that this is populated and make this field indexable in search.
    5. Keyword search terms – Google and other search engines have sworn off the Keyword field but you can fill it in if it makes you feel better.
    6. Attribute weight – when SOLR is used, make sure that the weights are accurately assigned and that the most relevant fields across the catalog have the greatest weight.
      1. To weight the search results, set Search Weight to a number from 1 to 5 under Storefront Properties.

What is the difference between omnichannel and multichannel retailing? – Magento 2 Certified Solutions Specialist

What is the difference between omnichannel and multichannel retailing?

  1. Multi-channel retailing is the practice of selling products to customers through more than one distribution channel (e.g, in-store, app, 3rd party marketplace and online). The customer experience can be and is often different between the two channels due to inventory concerns, staffing, marketing rollouts, etc.
  2. Omni-channel retailers seek to provide a consistent (as possible) customer experience while retailing through any number of distribution channels simultaneously. Retailers achieve omni-channel by having a single view of the customer and product. This usually means avoids having multiple customer, product, promotion, pricing, content, etc databases for consistency and reporting of that single view. Customers are tracked simultaneously across all channels. Lastly, omni-channel retailers work to execute seamless marketing and branding campaigns for a constant experience.
    1. Multi Channel means providing different platform like web, mobile, etc. to facilitate the sale of products/item
    2. Omni-Channel is a step above Multi-Channel. Omni-Channel dictates that we should provide same brand experience irrespective of channel/medium customer choose

Google Autocomplete for Shopify Checkout

“Google Autocomplete” for address forms in the checkout flow makes for a simple and rapid checkout encounter for clients and it is finally coming to the Shopify platform.

You put in a bunch of work into making an enjoyable customer experience in other areas of your site (homepage, product page, etc) but checkout is and always has been a friction-full area of an e-commerce site.  The magnitude of fields, typing, clicking, and verifying in the checkout make it tedious and people can type in wrong information all the time leading to returns and frustration. This turns out to be much more evident for clients on portable devices as well as the screen size is small and entering data into those fields is very manual.

As part of improving Shopify’s customer experience and helping achieve higher conversions, Google Autocomplete is starting to roll out to Shopify’s checkout pages over the coming weeks, at no additional cost. This feature will soon be automatically enabled on your store.

Here’s what it looks like:

Shopify Google Autocomplete

Type a few characters, it does the rest

Now, when customers arrive at checkout and start entering the first few characters of their address, Google Autocomplete will instantly finish the job and pre-populate their address. Wrong addresses and re-typing are virtually eliminated.

Simple update delivers powerful benefitsOur testing of Google Autocomplete showed an increase in conversion rate, and almost 20% time savings and error reduction on mobile. You save time by no longer dealing with incorrect addresses and the resulting problems, giving you more time for fulfillment and other business-building tasks.

Success as a merchant means getting a million details right, and Shopify is continuously working on improving every single one of them for you.

Magento Business Intelligence – Essentials Making Data Easier | Video / BI Tool Walkthrough

Whether you are a retailer, agency, or freelancer and you are looking to learn more about Magento’s Business Intelligence product here is the video presentation from August 22nd 2017 that runs through the platform and the value Magento Business Intelligence can offer. Magento bought RJ Metrics in August of 2016 and it is finally getting brought into the fold – https://magento.com/press-room/press-releases/magento-commerce-acquires-rjmetrics

How to Setup USPS Shipping Method in Magento 2

How to Setup USPS Shipping Method in Magento 2.  The USPS Carrier allows you to offer the domestic and international shipping services on ground or airway conveniently. This is the service of United States government and is famous for it’s flat rate shipping for smaller size and lightweight items.  Their USPS Priority service is one of the most popular eCommerce shipping methods in Magento because it is flexible.

Thus, what credentials you need to connect your Magento 2 store to the USPS serve.

Configure USPS Carrier

Step 1: Create a USPS Shipping account

Must create a USPS Web Tools account first before configuring this shipping method. Then you will get User ID and a link to the USPS test server.

Step 2: Apply USPS

  • On the Admin Panel, Stores > Settings > Configurations.
  • On the left panel, under Sales, selectShipping Method
  • Open the USPS section:
    • Accept to enable USPS method by choosing Yes in the Enabled for Checkout field.
    • Enter Gateway URL to calculate the USPS shipping rate. The default is ready to use, and don’t need to change.
    • Enter the Title for the name of the shipping method that is shown during the checkout process.
  • Copy the User ID and Password from your USPS account to Magento configuration.
  • In the Mode field, choose one of the following options:
    • “Development” – Runs USPS in a test environment.
    • “Live” – Runs USPS in a live production environment.

If running USPS in the test environment, remember to set Mode to live when you come back.

HOW TO SETUP USPS SHIPPING METHOD IN MAGENTO 2 - USPS section

Step 3: Setup the Packaging Description

  • Select the option you need in the Package Request Type field to manage orders that are delivered as multiple packages as the following:
    • “Divide to Equal Weight” – The shipment of multiple packages can be submitted as one request if the packages are divided by equal weight.
    • “Use Origin Weight” – Multiple packages must be submitted as separate requests if using origin weight as the basis of calculating the shipping cost.
  • Set the Container to the typical packaging type for the shipment as the following:
    • Variable
    • Flat-Rate Box
    • Flat-Rate Envelope
    • Rectangular
    • Non-Rectangular
  • Determine the Size that is acceptable for a package shipment.
    • Regular
    • Large
  • Select Yes for the Machinable if you want your typical packaged to be processed by a machine.
  • Set the number of the Maximum Package Weight option.

HOW TO SETUP USPS SHIPPING METHOD IN MAGENTO 2 - Packaging description

Step 4: Setup Handling Fees

  • Set Calculate Handling Fee to “Fixed” or “Percent”.
  • In the Handling Applied field, allow specifying how to calculate the handling fee.
  • Insert the amount of Handling Fee.

HOW TO SETUP USPS SHIPPING METHOD IN MAGENTO 2 - Setup handling fees

Step 5: Assign Allowed Methods and Applicable Countries

  • Choose USPS method offered to your customers from the Allowed Method list.
  • In the Free Method field, select the USPS service you want to apply free shipping for.
  • In the Free Shipping Amount Threshold field, set the minimum number of the quantities for free USPS shipping.
  • Enter a error message in the Displayed Error Message box that will appear if UPS Shipping is not available.

HOW TO SETUP USPS SHIPPING METHOD IN MAGENTO 2 - Allowed methods

  • Set Ship to Applicable Countries to one of two options:
    • All Allowed Countries: USPS Shipping is supported for every country.
    • Specific Countries: USPS Shipping is only supported for selected countries.
  • Set Show Method if Not Applicable to Yes if you want to show USPS Shipping all time.
  • To create a log file with the details of USPS shipments, set Debug to “Yes”.
  • Set the Sort Order on the Shipping Method on the checkout page.
  • Save Config to finish.

 

Originally from the great team at MagePlaza.com

SEO Terms: What is “Link Juice”?

SEO - Link Juice

If you have ever worked in the capacity of business analyst or SEO marketer for yourself or a client you have probably heard of the term “link juice”.  Link juice is a valuable commodity in the search engine optimization world — and it doesn’t come easy or without heavy lifting.  It’s a pure strategy game that gets more out of less and rewards marketers who prioritize value.

For the uninitiated, link juice is marketing jargon that is used to explain the power (i.e., relevance) that external links can give to another webpage. Based on various factors, the amount of “juice” your website gets from an external link can be a little or a lot.

According to the almighty Google, the search engine’s algorithm determines which pages have the best information for a query on a subject, mostly by other prominent websites linking to the page.

Basically, link juice is a quality, not a quantity game.

The more high quality pages that link back to your page, the juicier it will be — which translates into a higher ranking on Google.

A page is considered high quality if it meets the following criteria: indexable by search engines, swimming in link juice itself, independent or unpaid, has linked to you and only five others (not five hundred), and, lastly, the link has relevant, keyword-optimized anchor text.

How can I get more link juice for my website?

In the game of link juice, either you win — or you die.

Not really, but it can be extremely helpful to marketers. It takes a lot of work to get going from marketing, PR and content — but once it’s chugging along, it should evolve into more of a maintenance process.

Obviously, the best way to attract more links to your website is to create compelling, engaging and trustworthy content.

Once you have that, promote it. Push it on social media — particularly LinkedIn and Twitter, but it may vary based on your industry. With quality content in your portfolio, you can contribute to other sites for a linkback, or invite a guest blogger onto your site for the same exchange.

Look out for opportunities online where your content could be listed as a thought leader, or your product could be used for a product review. Make the sources as independent as possible — news articles, blog posts, magazine articles, forums and ratings sites like Yelp or Amazon.

Also, make sure to spread the link love around. It’s important that you don’t have one page heavily weighted with links while the rest of your pages are barren. Go deeper than just promoting your main page.

Although building link juice doesn’t exactly lead to increased sales, the more positive link juice your website has, the higher it will rank on Google — and you will see more organic traffic.

Originally posted by Courtney Eckerle at SherpaBlog

What is the Difference between system.log and exception.log in Magento

All Exceptions that happen on the Magento site comes in Exception.log. Ultimately an exception happens when Magento is not able to detect the correct data to load a page or a feature. When this error happens Magento logs that in exception.log.

All Php warnings, XML-file errors and other warnings comes into System.log

The var/log folder in the site directory contains the log files along with error logs for your Magento 3rd party modules (extensions, etc).   The Magento system log file (system.log) and exception log file (exception.log) are saved to the var/log folder unless you rename it from admin panel in the system>configuration with different file names.

It’s important to know what these locations are, so you can easily debug the errors.  Again, exceptions are for correct data and xml, and system is more for php warnings and errors for advanced processes on the site.

If you look for these files or folder and don’t see it, then there is a chance that the log is disabled in the Admin panel.  In Magento you need to the log on; You need to go to Admin -> Configuration -> Advanced -> Developer -> Log setting.

WHAT IS THE DIFFERENCE BETWEEN SYSTEM.LOG AND EXCEPTION.LOG IN MAGENTO - Log Settings

It will not bring in old information but rather start logging information from that time forward.   Be careful if you plan on leaving this log process on.  I’ve seen many sites that have been bloated by the log files, especially by sites with high traffic loads.   If you aren’t using the log to resolve an issue I recommend turning it off.

How To Solve PayPal gateway has rejected request. Security header is not valid (#10002: Security error)

When hooking up payment and shipping in Magento there are a few common errors that you may see.  The most common one is one from Paypal that says “PayPal gateway has rejected request. Security header is not valid (#10002: Security error)”.  The Security header is not a valid error is only caused for two reasons:

  1. Wrong credentials Make sure that you’ve put your API Username, API Password and API Signature correctly. Sometimes it happens that during copy and paste there is accidentally a space added, this would trigger this error. Double check this setting admin panel of your Magento store.  Worst comes to worst, type out all the information by hand instead of copy, pasting it.
  2. The Wrong Endpoint This error would come up if you send the data to the wrong endpoint. Make sure that you send the live credentials and data to our live endpoint. When you want to test your store make sure that you use our test endpoint and the credentials from your sandbox test account. If you are using a third party shopping cart, make sure that your store is running a test or live mode, regarding which credentials you are using.

You can check for your credentials here too:

FOR LIVE

https://api-3t.paypal.com/nvp?&user=xxxxxxxxxx&pwd=xxxxxxxxxx&signature=xxxxxxxxxx&version=70.0&METHOD=SetExpressCheckout&RETURNURL=http://www.paypal.com/test.php&CANCELURL=http://www.paypal.com/test.php&PAYMENTACTION=Sale&AMT=50&CURRENCYCODE=USD

FOR SANDBOX

https://api-3t.sandbox.paypal.com/nvp?&user=xxxxxxxxxx&pwd=xxxxxxxxxx&signature=xxxxxxxxxx&version=70.0&METHOD=SetExpressCheckout&RETURNURL=http://www.paypal.com/test.php&CANCELURL=http://www.paypal.com/test.php&PAYMENTACTION=Sale&AMT=50&CURRENCYCODE=USD

Just Substitute the user,pwd and signature and enter in your browser. You should get ACK = SUCCESS if you have input your credentials correctly.

It should give you a response like this:

TOKEN=EC%2d6692632958132974V&TIMESTAMP=2017%2d05%2d15T21%3a16%3a02Z&CORRELATIONID=eec52ef2bb94d&ACK=Success&VERSION=70%2e0&BUILD=33490117

You can also get your credentials here : https://www.paypal.com/cgi-bin/webscr?cmd=_get-api-signature&generic-flow=true

Good luck!