Showing posts with label ShopSite. Show all posts
Showing posts with label ShopSite. Show all posts

Monday, November 5, 2012

Google Trusted Stores With Your ShopSite Website

Google Trusted Stores is a feature you can setup for your website if you have a Google Account.  You will need to have a verified website in Google. Google Trusted Stores is another way to let online shoppers know that you are a verified, secure, and trusted website.  Customers are encouraged to report feedback on your website. Shoppers can hover over or click on the Google Trusted Stores logo on your website to see your company's standing with Google Stores.

To set this up, you will need to add some custom JavaScript to all your store pages.  You will also need to get your Google Product ID for all your products (this can be done by moving this information into an extra product field).  Follow the instructions below for adding the Google Trusted Stores code to your website.
  1. Add Google Product ID For Products Into An Extra Product Field. For this example, I will be placing the Google Product ID in the extra product field 10.  Do this by downloading your products database (Utilities > Database > Download).  You only need to download your product identifier field (either name or SKU), and the Google Product ID field.  Once you have downloaded the file and saved it to your computer, re-upload it into your store.  When you get to the step where you can map the product fields, click on the link to map the fields, and change the Google Product ID field to the Product Field 10, then complete the upload. 
    Note: If you are already using the extra product field 10, you will want to use a different product field.
      
  2. Begin Setting Up Your Google Trusted Stores Account. If you have a Google Account for your business, you can go to http://www.google.com/trustedstores/merchants/, to begin setting up your Google Trusted Stores account.  Go through the process until you need to place the JavaScript code on your website, then go onto step 3.
     
  3. Paste Code Below Onto All Store Pages. The code below should be added to all store pages.  It should be included in the template.  What I would suggest is create an include file called "GoogleTrustedStoresPageCode" and paste this code into that include file, replacing the red fields below with your specific store information.  Then include the include file at the bottom of the page code in all the template types (in your page template and search template DEFINE PAGE section, product template DEFINE MORE_INFO_PAGE section, and the cart template DEFINEs).  For example, in your page template, at the bottom of the template it should look similar to:
    [-- INCLUDE GoogleTrustedStoresPageCode PROCESS --]
    </body>
    </html>
    [-- END_DEFINE PAGE --]

    You will also want to add the following VAR tag to the TOP of all your templates (except the product template).
    [-- VAR.Field10 "" --]

    Your product template should be slightly different.  In the product template, you will want to place the following VAR tag in both the [-- DEFINE PRODUCT --] and [-- DEFINE MORE_INFO_PAGE --] sections.
    [-- VAR.Field10 PRODUCT.Field10 --]

    Here is the JavaScript for the include file:
    <!-- BEGIN: Google Trusted Store -->
    <script type="text/javascript">
      var gts = gts || [];
      gts.push(["id", "555555"]);
      gts.push(["google_base_offer_id", "[-- IF VAR.Field10 --][-- VAR.Field10 --][-- ELSE --]90014c3c-6d63-11e1-9ced-000a5e410845[-- END_IF --]"]);
      gts.push(["google_base_subaccount_id", "555555"]);
      gts.push(["google_base_country", "ISO 3166-1"]);
      gts.push(["google_base_language", "ISO 639-1"]);
      (function() {
        var scheme = (("https:" == document.location.protocol) ? "https://" : "http://");
        var gts = document.createElement("script");
        gts.type = "text/javascript";
        gts.async = true;
        gts.src = scheme + "www.googlecommerce.com/trustedstores/gtmp_compiled.js";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(gts, s);
      })();
    </script>
    <!-- END: Google Trusted Store -->

    Note: 90014c3c-6d63-11e1-9ced-000a5e410845 in the code above should be replaced with ANY of your products' Google Product ID number.
     
  4. Add JavaScript To Your Thank You Screen. The last step involves adding the JavaScript code below into the DEFINE THANK_YOU section of your shopping cart template.  Again, replace the red information below with your specific store information.
    <script type="text/javascript">
    var d = new Date();
    var seven_date = d.getDate()+7;
    if (seven_date < 10) {var seven_date_two = "0" + seven_date;}
    else {var seven_date_two = seven_date;}
    var curr_month = d.getMonth();
    if (curr_month < 10) {var curr_month_two = "0" + curr_month;}
    else {var curr_month_two = curr_month;}
    var curr_year = d.getFullYear();
    var weekDate =(curr_year + "-" + curr_month_two + "-" + seven_date_two);
    var prodNum = number_products;
    document.write("<div id=\"gts-order\">");
      document.write("<span id=\"gts-o-id\">" + ss_ordernum + "<\/span>");
      document.write("<span id=\"gts-o-domain\">www.yourdomain.com<\/span>");
      document.write("<span id=\"gts-o-email\">" + ss_email + "<\/span>");
      document.write("<span id=\"gts-o-country\">US<\/span>");
      document.write("<span id=\"gts-o-currency\">USD<\/span>");
      document.write("<span id=\"gts-o-total\">" + ss_ordertotal + "<\/span>");
      document.write("<span id=\"gts-o-discounts\">" + ss_coupon_discount + "<\/span>");
      document.write("<span id=\"gts-o-shipping-total\">" + ss_shiptotal + "<\/span>");
      document.write("<span id=\"gts-o-tax-total\">" + ss_taxtotal + "<\/span>");
      document.write("<span id=\"gts-o-est-ship-date\">" + weekDate + "<\/span>");
      document.write("<span id=\"gts-o-has-preorder\">N<\/span>");
      document.write("<span id=\"gts-o-has-digital\">N<\/span>");
    for (i=0; i<prodNum; i++) {
      document.write("<span class=\"gts-item\">");
        document.write("<span class=\"gts-i-name\">" + ss_name[i] + "<\/span>");
        document.write("<span class=\"gts-i-price\">" + ss_price[i] + "<\/span>");
        document.write("<span class=\"gts-i-quantity\">" + ss_quantity[i] + "<\/span>");
        document.write("<span class=\"gts-i-prodsearch-id\">" + ss_field10[i] + "<\/span>");
        document.write("<span class=\"gts-i-prodsearch-store-id\">555555<\/span>");
        document.write("<span class=\"gts-i-prodsearch-country\">US<\/span>");
        document.write("<span class=\"gts-i-prodsearch-language\">en<\/span>");
      document.write("<\/span>");
    }
    document.write("<\/div>");
    </script>

    Note: The orange areas in the code above can be changed but don't necessarily have to.  The first one, d.getDate()+7, says that you are telling Google you will ship the order 7 days after it is placed.  If your average ship time is longer than that, you will want to modify the 7 to whatever is more accurate for your store. The next few, " + ss_coupon_discount + ", " + ss_shiptotal + ", " + ss_taxtotal + " should remain the same if you have coupons, use any shipping rates, and use tax rates.  If you do not use any of these, replace the orange with 0. Also, the codes provided above are generic codes and should work for most stores.  I am not guaranteeing that they work for all stores.
I hope that this article helps as you set up your Google Trusted Stores account.  There is a month probationary period from Google for the Google Trusted Stores seal, so make sure that you have everything setup correctly, before waiting through that probation period.  Good luck :).

Full Code Example (changed for 4 days out for shipping instead of 7):
<script type="text/javascript">
var d = new Date();
var seven_date = d.getDate();
var curr_month = d.getMonth() + parseInt(1);
if (seven_date < 25) {
  var curr_year = d.getFullYear();
  var seven_date_two = seven_date + parseInt(4);
  if (curr_month < 9) {var curr_month_two = "0" + curr_month;} else {var curr_month_two = curr_month;}
  var weekDate =(curr_year + "-" + curr_month_two + "-" + seven_date_two);
}
else if (curr_month > 11) {
  var curr_year = d.getFullYear()+1;
  var curr_month_two = "01";
  var weekDate =(curr_year + "-" + curr_month_two + "-" + seven_date_two);
}
else {
  var curr_year = d.getFullYear();
  var curr_month_two = curr_month + parseInt(1);
  if (curr_month_two < 9) {var curr_month_three = "0" + curr_month_two;} else {var curr_month_three = curr_month_two;}
  var seven_date_two = "04";
  var weekDate =(curr_year + "-" + curr_month_three + "-" + seven_date_two);
}
var prodNum = number_products;

document.write("<div id=\"gts-order\" style=\"display: none;\">");
  document.write("<span id=\"gts-o-id\">" + ss_ordernum + "<\/span>");
  document.write("<span id=\"gts-o-domain\">www.laurenhillsdesign.com<\/span>");
  document.write("<span id=\"gts-o-email\">" + ss_email + "<\/span>");
  document.write("<span id=\"gts-o-country\">US<\/span>");
  document.write("<span id=\"gts-o-currency\">USD<\/span>");
  document.write("<span id=\"gts-o-total\">" + ss_ordertotal + "<\/span>");
  document.write("<span id=\"gts-o-discounts\">0<\/span>");
  document.write("<span id=\"gts-o-shipping-total\">0<\/span>");
  document.write("<span id=\"gts-o-tax-total\">" + ss_taxtotal + "<\/span>");
  document.write("<span id=\"gts-o-est-ship-date\">" + weekDate + "<\/span>");
  document.write("<span id=\"gts-o-has-preorder\">N<\/span>");
  document.write("<span id=\"gts-o-has-digital\">N<\/span>");

for (i=0; i<prodNum; i++) {
  document.write("<span class=\"gts-item\">");
    document.write("<span class=\"gts-i-name\">" + ss_name[i] + "<\/span>");
    document.write("<span class=\"gts-i-price\">" + ss_price[i] + "<\/span>");
    document.write("<span class=\"gts-i-quantity\">" + ss_quantity[i] + "<\/span>");
    document.write("<span class=\"gts-i-prodsearch-id\">" + ss_field14[i] + "<\/span>");
    document.write("<span class=\"gts-i-prodsearch-store-id\">123455<\/span>");
    document.write("<span class=\"gts-i-prodsearch-country\">US<\/span>");
    document.write("<span class=\"gts-i-prodsearch-language\">en<\/span>");
  document.write("<\/span>");
}
document.write("<\/div>");
#### show this line only for testing the date purposes.
#document.write(weekDate);
</script>

Friday, December 30, 2011

Online Store New Year's Resolutions

This weekend everyone will be thinking about and possibly writing down things that they would like to do differently in the coming year.  These New Year's Resolutions often include a fitness goal, a social goal, an education goal, or experience goals.  These same goals for the coming year in your personal life can be applied to your business' website.  Below I have outlined a few New Year's Resolutions for your online store's website for this coming year.
  • Fitness - Trim Down While Bulking Up.  This does not mean removing content from your website.  When you work out, it is best to have some fat on you in order to build muscle.  If you don't have any fat, then you have nothing to convert to muscle.  This is the same for your website.  Every website has some "fat" on it; it is just a matter or rearranging or re-purposing that fat to bulk up. Look through your website and find areas where pages or functions are not as efficient as they could be. Then take those areas and enhance them or move them to where they will be more useful.
    • Content vs. Calls-To-Action. Content is important, but you should not have all of your content above your calls-to-action.  Make sure your calls-to-action are above the fold on your website; this will likely involve rearranging your content so that it it lower on your page.
    • Images with Text. Do you have large images such as banner graphics that have text in them?  Change those images to be smaller background images, and allow the text to be plain text on top of those images.  This will cut down on your page load times, while improving the content for search engines on your pages.
    • Too Much Information. Again, this does not mean removing content.  If you throw all of your website options, products, advertisements, et al. all your customers on your home page, it can be overwhelming.  Divide your content out into sections or even multiple pages with each section or page focusing on one area.  On your home page, customers can click on the area they would like to learn more about and get that additional information.
  • Social - Let Customers Know You Appreciate Them. Customers purchase from your website because they like something about your website.  It may be that they like your products, or that they love your low prices, or even that they like your flexible and informative customer support and return options.  Whatever the reason may be, customers who purchase from you are letting you know that they like your business.  So show the love back; let your customers know that you appreciate their business.  This could be as simple as a thank you card included when you mail their order, or it could be an email.  Ask customers for feedback on both the products that they purchased, and your company as a whole.  See if there is anything that you could do to improve their experience.  Also, provide customers with a way to keep up with your website and learn about new products, specials, or changes that might interest them. Make sure that any newsletters that you send are regular and not spammy (if you say it is a monthly newsletter, don't send one every week), and that they are for the benefit of your customers.  After all, it is your customers that keep you in business :).
  • Education - Continue Learning And Sharing. This is great for you as a merchant, the customer, and your search engine ranking. Continually add content to your website or update a blog with information that deals with your company, the products you sell, and the industry you are part of.  If you sell furniture, you can include information on how to maintain your furniture, or new interior design trends.  If you sell clothing, show pictures of people wearing your clothing, give style tips on accessories, research the best materials and maintenance and share your research with your customers.  If you sell books or music, share information about your best selling authors and musicians, as well as relevant news in your industry.  Keep the content on your website current and informative. If you make your website an information resource, customers coming to your website for information might just end up purchasing, and customers who have purchased from you will come back to see updates.  You can include some of this information in your monthly newsletters, your blog or twitter posts, your facebook wall, and one relevant pages of your website.
  • Experience - Try Something New. Your website may be functioning great, so you may not even be considering trying something new, but this can be good for both improving your visibility on the web and increasing sales.  If you are not doing regular newsletters, start a sign up.  Services such as MailChimp have packages that are free to get you started. You may want to add mobile pages to your website.  If you are using the latest version of ShopSite Pro, you can add a mobile option to all of your store pages easily. Maybe you haven't been blogging or you have yet to get on Twitter, Facebook, YouTube or Google+.  You don't know how may more customers you can reach until you try to branch out from your norm. 
I am going to try all of these things on my website, http://LaurenHillsDesign.com this year.  I resolve to re-organize my pages so that the most beneficial information for my customers is the easiest to find.  I resolve to provide more ways to keep in contact with my business.  I resolve to provide regular information updates about the eCommerce industry on my website, both information that I have researched and write, and link to third party websites providing helpful eCommerce information. I resolve to send out a monthly newsletter with eCommerce tips, specials for website enhancements, and fun facts or online stores that I come across.  If you would like to sign up to receive these monthly newsletters, you can sign up at the following URL: http://laurenhillsdesign.com/newsletter-signup.html.

Good luck in the coming year, and have a happy New Year!

Saturday, October 29, 2011

Post-Purchase Advertising

I have begun seeing messages on facebook and twitter from my friends such as "I just pre-ordered the new Amazon Kindle!" and "I just purchased this new phone case.  You can save $10 on a new phone case using promo code 'fonekase'." Allowing your customers to advertise your products on their facebook and twitter accounts easily is a great way for you to get new customers, and it's free advertising. Some stores will simply form a message for the customer stating what they purchased with an image of the product and a link back to your website while other stores will offer customers and their friends incentives, such as providing a promotion code or advertising an upcoming sale in the facebook post or tweet.

If you need help setting up a "share on facebook" and "share on twitter" option on your ShopSite thank you page, you can have me set it up for you.  More information about this option can be found at the following URL:
http://laurenhillsdesign.com/templates/post-purchase-share-on-facebook-twitter.html

Thursday, October 13, 2011

Is Your Site Ready For Mobile Commerce?

Many top websites have optimized their website for mobile or have mobile pages.  So many sites have done this that smart phone users are beginning to expect that sites will have a mobile version. Pinching to enlarge and squinting at the content is no longer acceptable for many smart phone users.  So is your website ready?

ShopSite is planning to have a mobile capability built into their next release where users will be redirected to a mobile optimized version of your website.  So what do you need to do to prepare to use this upcoming feature?
  • Logo. Start by creating a mobile sized version of your logo.  Many websites that you visit will have a header/logo area that takes up no more than 60-70 pixels of the top of the mobile screen.
  • Navigation. No doubt you have many different ways for users to find what they are looking for on your website, but since space is limited on a phone, narrow your main categories down to about 4 main categories that will be listed on every page.  The first link should be a "home" link or a "categories" link so that customers can always return to your main list of store categories.  The other three links should be your top categories, or your most interesting categories such as "sale" or "new items." Decide what 4 links you would like at the top of all your mobile pages.
  • Template Tags. If you are using built in templates within ShopSite, this is not an issue for you.  However, if you are using custom templates, you will need to add the new mobile tags to your custom page and custom more information page template so that the redirect code will be included on your pages.  Below are the two required template tags for mobile.
             [-- MOBILE_JAVASCRIPT --] - goes within the <head></head> tags.
             [-- SS_MOBILE_REDIRECT --] - goes right after the <body> tag.
  • Footer. Your footer should be simple but informative.  Many merchants will include their company information links in their footer such as the "about us" page, the "shipping and returns information" page and "terms and conditions." If you have copyright information that you would like to include, you can include that in the footer as well. 
  • Emails. Often, smart phone users have one or more of their email accounts tied to their phone, so when they receive an email, they can check that email without going to their computer.  Because of this, you will want to make sure that ALL of your emails to customers are mobile optimized.
I am excited to delve more into the capabilities of mobile as there become more and more mobile users and mobile optimized websites causing mobile to evolve. If you are planning to have a mobile optimized website, make sure you keep up on mobile trends.  This technology if rapidly expanding and changing.

Sunday, August 21, 2011

Web Page Speed - How Does Your Site Rank? Pt 2

I did a post, Web Page Speed - How Does Your Site Rank? Pt 1, where I took my own website, optimized the images with image sprites, and tested how much of a difference it made in the page speed with Google. This time I would like to do the same thing with another website, a website with more images and other files such as JavaScript files, as well as add some server side optimization code that I read about in a blog post from LexiConn.com, Google’s Need For Speed (and 3 things you can do to meet that need).The site I will be working on is http://www.homeandstuff.com.  They are a relatively new website (opened earlier this year).  The site is getting a good amount of traffic, but I would like to see what a difference it will make to make these changes.  Both the immediate difference seen on the speed in Google, and the long term difference.  I will get an update on this website in a few weeks to see the progress.

Starting Out: 76/100
On the first test of the page speed, without making any changes, the site scored 76/100.  There were both medium and low priority suggestions as well as some experimental suggestions.  The first thing that I am going to do on this website is add in some additional code to the .htaccess file. The .htaccess file tells browsers a lot about your website.  You can include security/login information, set controls, specify where 404 page not found errors go, etc. I got my information from LexiConn's blog and in the .htaccess file for this website I added the following code:
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/x-js application/x-javascript application/javascript text/javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|js)$">
Header set Cache-Control "max-age=2419200, public"
</FilesMatch>
<FilesMatch "\.(css)$">
 Header set Cache-Control "max-age=604800, public"
</FilesMatch>



After .htaccess Change: 88/100
Adding the caching settings to the .htaccess file did a lot for this website's page speed according to Google.  One thing that you should note is that not all servers have this capability setup.  If you add the code listed above, and when you view your website you get a 500 error, talk with your hosting provider about making sure the server is setup for this type of .htaccess file setting.  Next I'll be changing the basics, no broken links or missing images, optimizing the order of CSS and JavaScript files, cleaning up HTML so that it is W3 Compliant.  

Clean Up: 89/100
For cleaning up your website, there are a few different online tools that you can use. A common tool is Google Webmaster Tools.  You can login to your Google Account, submit your website sitemap, and have Google analyze your website. In Google Webmaster Tools you will get things such as a list of duplicate titles, meta descriptions or meta keywords. You can get a list of missing or broken URLs and links, and other helpful information for cleaning up your website.To check if your website is W3 Compliant, I like to use http://validator.w3.org/.  There are browser plug-ins that make checking this information easy, but you can just go to http://validator.w3.org/, type in your page URL, and see what, if any, errors come up.  After fixing those errors, re-validate. For HomeAndStuff.com, there were 26 errors on the home page when I first validated it.  However, after a few changes to match the DOCTYPE tag, all the errors have been fixed and it is passing W3C validation.

Image Sprites: 90/100
I only created one image sprite for 4 images, the rounded corners at the top and bottom of the page, as well as the navigation and sale background bars. The merchant could create image sprites for the logo image, the credit card image at the bottom, the phone number, and even the 2 images to the right of the banner.  I would only suggest to create image sprites for images that are on more than one page, so the two images on the right of the banner, although they could be added into an image sprite, I would not suggest it. 

Wednesday, July 20, 2011

Will Google Product Search Changes Affect You?

The quick answer, "Yes, Google's Product Search changes will affect your product feeds." I regularly suggest that merchants submit their products to be listed in Google's Product Search.  This is a great way to get your products out there so that customers can easily find them. Coming this September, Google will be enforcing more product information than what they have required in the past. You can read more about these changes on the Google Blog at googlemerchantblog.blogspot.com.  I have outlined some of the main points below.

New Required Fields
  • Availability - this will help customers find your products even when they are out of stock.
  • Google Product Category - this is in addition to the Product Type field.
  • Images - merchants often sent a product image in their feed but it was not required.  Google is now making this field required, and it is suggested that you send multiple product images.
  • Apparel Options - for products such as apparel, merchants will need to include information such as size and colors available, as well as gender and age group.

So now the question is, what should you do about it? I'm sure that many shopping cart software providers will change their Google Product Feed submission in upcoming updates or releases so that the new requirements are in place, but in the off-chance that your store does not get updated as quickly as you'd like, you can take matters into your own hands. 

In ShopSite Manager and Pro stores, merchants have the option of creating their own custom product fields.  If you name these fields correctly, they can be used for your Google Product Feed.

Start by going to Preferences > Extra Fields.  In the Extra Product Fields section, claim 2 - 3 fields for your Google Product Search fields.  Name one of those fields "availability" and another "google_product_category." If you sell apparel and need the third field, name it "size." If you do not sell apparel, you could use the third field for additional product images, naming it "additional_image_link."

After saving changes, go to Merchandising > Google Services > Google Product Search > Configure. Check the checkboxes next to your three extra product fields so that those get included when you are submitting to Google.

Next you will want to add that information for each of your products.  For the "availability" field, you will want to enter in "in stock" if the product will be shipped within 3 days, "available for order" if the product will be shipped in more than 4 days, "out of stock" if you are not accepting orders, and "preorder" if the product is currently not in stock but you are accepting orders.

For the "google_product_category" field, you will need to find the correct taxonomy for each product.  Click here for more information.

For the "size" field for apparel items, separate each with a comma and put quotes around each.  For example, if you offer your item in small, medium and large, enter either "Small","Medium","Large" or "S","M","L" in the field provided. These will be displayed to shoppers so make sure it is something they will understand.

If you are going to submit additional images, unfortunately, each image needs its own field.  With my setup (using one field) you will need to enter the full URL for one of your additional images.  If you would like more product images (up to 10 additional, so 11 images total), you will need a different product field for every additional image.

Summary of Required Fields
  • id - ShopSite sends the product item number.
  • title - typically the brand and product name.
  • description - use your shorter product description (500 - 1000 characters recommended).
  • google_product_category - must use Google's taxonomy.
  • link - URL to product more information page.
  • image_link - URL to product image.
  • condition - must be "new," "used" or "refurbished."
  • availability - must be "in stock," "available for order," "out of stock" or "preorder."
  • price - use lowest price if you are not sending the sale price.
  • brand - required if you are submitting GTIN and/or MPN.
  • gtin - for product's UPC or ISBN number.
  • mpn - required if you are submitting GTIN and/or Brand.
Required Fields For Apparel Items
  • item_group_id - required for variant items.
  • color - required.
  • material - required for items that differ by material.
  • pattern - required for items that differ by pattern.
  • size - required for variant items.
  • gender - must be "male," "female" or "unisex."
  • age_group - must be "adult" or "kids.