Read the Beforeitsnews.com story here. Advertise at Before It's News here.
Profile image
By webdesignerdepot (Reporter)
Contributor profile | More stories
Story Views
Now:
Last hour:
Last 24 hours:
Total:

3 Ways to Pimp Shopify for Better UX

% of readers think this story is Fact. Add your two cents.


Shopify is one of the most well-known and widely used e-commerce platforms on the web. Merchants from all industries can easily use it to sell their products or services online. The platform currently boasts thousands of merchants.

Shopify’s premise is to allow users without much sophisticated tech and programming know-how to open up their own online storefronts. This has naturally been a huge part of the success of the platform, as average Joes can quit their day jobs and become successful entrepreneurs.

In the Shopify platform, the most interesting area to the user experience from a merchant’s point of view is the checkout process, as how this is designed greatly impacts conversions on a Shopify site.

Here are some stellar pointers to customize the platform’s checkout process for superior UX…

1. Tweaking the Checkout Copy

What shoppers read during the checkout process impacts a site’s cart-abandonment rate and is a factor in the friction they experience as they move to finally clicking or tapping on the final checkout call to action button.

Therefore, changing this all-important text to reduce checkout friction and promote persuasion is a necessity, and here’s how to do it:

Sometimes, a simple change makes all the difference in the world when it comes to giving accurate and clear info to shoppers. For instance, letting shoppers know what currency they’ll be paying with is essential to good UX since that eliminates unexpected surprises on the path to conversions.

In the Shopify dashboard, head to Preferences and then General.

In Adjust Your Standards and Formats, select Checkout Language, and click Inspect. You’ll see a translation screen appear. Here, provide your translation with a name (for example, what your shop is called). Find the text you wish to alter; let’s say it’s in Create Your Order. Input the text (read: the translation) that you want to show up on the cart page.

Now, scroll to the bottom of the page and select Use This for My Checkout Language.

It’s worth mentioning that Shopify only officially lets you change the language (English to Spanish, etc.) on the checkout page. However, this workaround in its platform lets you use the translation function to actually modify the specific wording of the copy on the checkout page.

2. Including a Shipping Rates Calculator

Nothing’s more frustrating to shoppers than being blindsided by the cost of shipping! In fact, a Harris poll confirms that 66% of online shoppers rank shipping costs as their worst pet peeve. Thus, having a handy shipping rates calculator on your checkout page can drastically improve the UX for your Shopify customers because they’ll be automatically given an estimate of shipping costs on the spot, eliminating hidden fees.

To do this, begin by uploading the jquery.cart.min.js to theme assets by using this JS code snippet:

/** * Module to add a shipping rates calculator to cart page. * * Copyright (c) 2011-2016 Caroline Schnapp (11heavens.com) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ "object"==typeof Countries&&(Countries.updateProvinceLabel=function(e,t){if("string"==typeof e&&Countries[e]&&Countries[e].provinces){if("object"!=typeof t&&(t=document.getElementById("address_province_label"),null===t))return;t.innerHTML=Countries[e].label;var r=jQuery(t).parent();r.find("select");r.find(".custom-style-select-box-inner").html(Countries[e].provinces[0])}}),"undefined"==typeof Shopify.Cart&&(Shopify.Cart={}),Shopify.Cart.ShippingCalculator=function(){var _config={submitButton:"Calculate shipping",submitButtonDisabled:"Calculating...",templateId:"shipping-calculator-response-template",wrapperId:"wrapper-response",customerIsLoggedIn:!1,moneyFormat:"${{amount}}"},_render=function(e){var t=jQuery("#"+_config.templateId),r=jQuery("#"+_config.wrapperId);if(t.length&&r.length){_.templateSettings={evaluate://g,interpolate://g,escape://g};var n=_.template(jQuery.trim(t.text())),a=n(e);if(jQuery(a).appendTo(r),"undefined"!=typeof Currency&&"function"==typeof Currency.convertAll){var i="";jQuery("[name=currencies]").size()?i=jQuery("[name=currencies]").val():jQuery("#currencies span.selected").size()&&(i=jQuery("#currencies span.selected").attr("data-currency")),""!==i&&Currency.convertAll(shopCurrency,i,"#wrapper-response span.money, #estimated-shipping span.money")}}},_enableButtons=function(){jQuery(".get-rates").removeAttr("disabled").removeClass("disabled").val(_config.submitButton)},_disableButtons=function(){jQuery(".get-rates").val(_config.submitButtonDisabled).attr("disabled","disabled").addClass("disabled")},_getCartShippingRatesForDestination=function(e){var t={type:"POST",url:"/cart/prepare_shipping_rates",data:jQuery.param({shipping_address:e}),success:_pollForCartShippingRatesForDestination(e),error:_onError};jQuery.ajax(t)},_pollForCartShippingRatesForDestination=function(e){var t=function(){jQuery.ajax("/cart/async_shipping_rates",{dataType:"json",success:function(r,n,a){200===a.status?_onCartShippingRatesUpdate(r.shipping_rates,e):setTimeout(t,500)},error:_onError})};return t},_fullMessagesFromErrors=function(e){var t=[];return jQuery.each(e,function(e,r){jQuery.each(r,function(r,n){t.push(e+" "+n)})}),t},_onError=function(XMLHttpRequest,textStatus){jQuery("#estimated-shipping").hide(),jQuery("#estimated-shipping em").empty(),_enableButtons();var feedback="",data=eval("("+XMLHttpRequest.responseText+")");feedback=data.message?data.message+"("+data.status+"): "+data.description:"Error : "+_fullMessagesFromErrors(data).join("; ")+".","Error : country is not supported."===feedback&&(feedback="We do not ship to this destination."),_render({rates:[],errorFeedback:feedback,success:!1}),jQuery("#"+_config.wrapperId).show()},_onCartShippingRatesUpdate=function(e,t){_enableButtons();var r="";if(t.zip&&(r+=t.zip+", "),t.province&&(r+=t.province+", "),r+=t.country,e.length){"0.00"==e[0].price?jQuery("#estimated-shipping em").html("FREE"):jQuery("#estimated-shipping em").html(_formatRate(e[0].price));for(var n=0;n

Then, select and copy all the text, open the Shopify admin in a new tab, and click Online Store and then Themes from the Shopify admin.

After you locate the theme you like, click on the ellipsis button (…); then click on Edit HTML/CSS. On the Assets folder, choose Add a new asset. When the dialog opens up, select the Create a Blank File Tab; input jquery.cart.min for the name and choose .js as the new file’s extension. Click on Add Asset. Finally, paste the contents that you copied earlier, and choose Save.

Now, you have to add to the Customize theme page.

Start by finding and clicking on Config on the Edit HTML/CSS page. On the Config folder, select the settings_schema.json file. The file now opens up in the online text editor.

Go down to the bottom of the settings_schema.json file, then add the following code prior to the last square bracket ( ] ) and after the final curly bracket ( } ):

 { "name": "Shipping Rates Calculator", "settings": [ { "type": "select", "id": "shipping_calculator", "label": "Show the shipping calculator?", "options": [ { "value": "Disabled", "label": "No" }, { "value": "Enabled", "label": "Yes" } ], "default": "Enabled" }, { "type": "text", "id": "shipping_calculator_heading", "label": "Heading text", "default": "Get shipping estimates" }, { "type": "text", "id": "shipping_calculator_default_country", "label": "Default country selection", "default": "United States" }, { "type": "paragraph", "content": "If your customer is logged-in, the country in his default shipping address will be selected. If you are not sure about the spelling to use here, refer to the first checkout page." }, { "type": "text", "id": "shipping_calculator_submit_button_label", "label": "Submit button label", "default": "Calculate shipping" }, { "type": "text", "id": "shipping_calculator_submit_button_label_disabled", "label": "Submit button label when calculating", "default": "Calculating..." }, { "type": "paragraph", "content": "Do not forget to include the snippet shipping-calculator in your cart.liquid template where you want the shipping calculator to appear. You can get the snippet here: [shipping-calculator.liquid](https://github.com/carolineschnapp/shipping-calculator/blob/master/shipping-calculator.liquid) ." } ] }

Click Save.

It’s time to move on to the shipping-calculator snippet.

Copy this code:

{% unless settings.shipping_calculator == 'Disabled' %} 
{{ settings.shipping_calculator_heading | default: 'Get shipping estimates' }}

{{ '//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js' | script_tag }} {{ '/services/javascripts/countries.js' | script_tag }} {{ 'shopify_common.js' | shopify_asset_url | script_tag }} {{ 'jquery.cart.min.js' | asset_url | script_tag }} {% endunless %}

Open up the Shopify admin in a new tab, click on Online Store, and then select Themes.

Pick the theme you want to edit, select the ellipsis (…) button, and then select Edit HTML/CSS.

Select the Snippets folder, and choose Add a New Snippet. Name the snippet “shipping-calculator”; select Create Snippet.

Now, paste the clipboard’s content into the online code editor, and hit Save.

To show your shipping calculator in a specific spot on the page, include this snippet:

{% include 'shipping-calculator' %}

in the appropriate place. Follow these steps:

  • Select Online Store and then choose Themes from your Shopify admin.
  • When you locate the theme to edit, select the ellipses (…) button, and choose Edit HTML/CSS.
  • Click the cart.liquid file under the Templates folder to open it within the online code editor.
  • Search for the and add the above mentioned code underneath it.
  • Finally, save the changes.

All that’s left is to customize the shipping rates calculator.

Head to your Customize theme page. Look for the Shipping Rates Calculator section and customize the following:

  • Whether or not to show the calculator
  • The exact shipping text that’s shown above the calculator
  • The default country selection
  • The copy that’s going to be shown on the submit button

You’re all done!

3. Showing a Delivery Dates Picker on the Cart Page

Letting customers see when their product will be delivered isn’t just standard customer service—it’s also superb UX on a shopping site.

To include a date picker on the cart page, do the following.

Head to the Assets folder and open it. Within the Assets directory, open the theme.js or theme.js.liquid file and add this to the bottom of the file:

$(document).ready( function() { $(function() { $("#date").datepicker( { minDate: +1, maxDate: '+2M', beforeShowDay: jQuery.datepicker.noWeekends } ); }); });

Then, save the changes.

Stay on the Edit HTML/CSS page. In the Sections folder, select the cart-template.liquid file to open it inside the online code editor. Find the closing tag of your cart form, which is

Above , add this line:

We do not deliver during the week-end.

Save these new changes.

Look under the Layout folder: Click on the theme.liquid file to open it up inside of the online code editor.

Before the tag, add this:

{{ '//code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css' | stylesheet_tag }} 

Congrats! You’ll now get to see a delivery date field right on your store’s cart page. Clicking in the text field causes the date picker to appear.

A Powerful Platform, but Only as Good as Your Customized UX

Shopify is indeed a flexible and very usable platform that allows a lot of ordinary people to sell online fast with minimal technical skills. It’s a great platform for entrepreneurs doing everything from drop shipping to beginning their business empire.

However, as with any platform, the UX is, ultimately, what makes it successful. Thankfully, Shopify’s code allows for easy customizations in your store across various elements of the checkout experience: the copy or text, calculating shipping rates, and displaying delivery date selections.

LAST DAY: Remove Image Backgrounds with PhotoScissors v3 – only $9.97!

Source


Source: https://www.webdesignerdepot.com/2017/05/3-ways-to-pimp-shopify-for-better-ux/


Before It’s News® is a community of individuals who report on what’s going on around them, from all around the world.

Anyone can join.
Anyone can contribute.
Anyone can become informed about their world.

"United We Stand" Click Here To Create Your Personal Citizen Journalist Account Today, Be Sure To Invite Your Friends.

Please Help Support BeforeitsNews by trying our Natural Health Products below!


Order by Phone at 888-809-8385 or online at https://mitocopper.com M - F 9am to 5pm EST

Order by Phone at 866-388-7003 or online at https://www.herbanomic.com M - F 9am to 5pm EST

Order by Phone at 866-388-7003 or online at https://www.herbanomics.com M - F 9am to 5pm EST


Humic & Fulvic Trace Minerals Complex - Nature's most important supplement! Vivid Dreams again!

HNEX HydroNano EXtracellular Water - Improve immune system health and reduce inflammation.

Ultimate Clinical Potency Curcumin - Natural pain relief, reduce inflammation and so much more.

MitoCopper - Bioavailable Copper destroys pathogens and gives you more energy. (See Blood Video)

Oxy Powder - Natural Colon Cleanser!  Cleans out toxic buildup with oxygen!

Nascent Iodine - Promotes detoxification, mental focus and thyroid health.

Smart Meter Cover -  Reduces Smart Meter radiation by 96%! (See Video).

Report abuse

    Comments

    Your Comments
    Question   Razz  Sad   Evil  Exclaim  Smile  Redface  Biggrin  Surprised  Eek   Confused   Cool  LOL   Mad   Twisted  Rolleyes   Wink  Idea  Arrow  Neutral  Cry   Mr. Green

    MOST RECENT
    Load more ...

    SignUp

    Login

    Newsletter

    Email this story
    Email this story

    If you really want to ban this commenter, please write down the reason:

    If you really want to disable all recommended stories, click on OK button. After that, you will be redirect to your options page.