Increase your social backlinks with the help of your store customers

When a customer orders from your online store, they usually get shown an order confirmation page. Then they wait a few days for the order to come through the letter box.

Why not take advantage of the customers excitement in buying from you by tweeting and posting in facebook what they just bought.

I have just implemented some code on the Caine Leather website which gives the customer the ability to amend a pre filled comment box encouring them to tweet or facebook the first item in their basket.

order confirmation page

order confirmation page

Then if they click tweet your followers the customers message is given to twitter along with the stores twitter userid and product page url.

2013-05-30 12_19_11-Post a Tweet on TwitterThe customer can then click tweet.

Alongside this I have also used Twitters new card type features. Which means the page information is shown within twitter without having to link through to your site initially.

2013-05-30 12_20_04-Pinakin Patel (zone1creative) on Twitter 2013-05-30 12_25_58-Caine Leather (Caine_Leather) on Twitter 2013-05-30 12_20_25-Pinakin Patel (zone1creative) on TwitterWith facebook the customers message is not passed through to facebook api because they no longer allow prefilling of the message box. But as longas you implement facebook meta tags you can get your product title, description and image correctly set when the page is posted.

2013-05-30 12_19_41-FacebookIf you need these features implemented into your xcart store, then please contact me via our online form. Or call me.

 

 

Free X-Cart Module : Order Status by Colour

ordercolourOne of the most common X-Cart tweaks I am asked to develop for the order management section, is to provide colour labelling for the order statuses.

So have have put together a download module packaged and ready to use in xcart 4.4.x and above.

Click here to be taken through to the download page.

Also Checkout our other X-Cart modules here.

 

Online Ordering PHP Script for Local Takeaways and Restaraunts

http://static.phpjabbers.com/files/banners/online-food-ordering-system-image.pngAre you are local takeaway or a restaraunt that provides a takeaway service? Then have a look at a new PHP script by phpjabbers which allows your customers to easily order for delivery or pickup and pay online.

You can even setup the application to handle multiple delivery zones.

Take a look by going to Food Delivery Script

Need this script style then contact Zone1 Creative for a free quote

How to show different content to visitors from different countries using WordPress

Do you have a wordpress blog that accompanies your online store? If you are looking to increase your revenue from your blog using adsense, then you could use this great tutorial by WPwebhost to show content to visitors who are outside your stores catchment area.

We’ll be using these two plugins for our help:
GT-Geo Targeting : http://wordpress.org/extend/plugins/gt-geo-targeting/
WP PHP Widget : http://wordpress.org/extend/plugins/wp-php-widget/

http://www.wpwebhost.com/show-dynamic-content-as-per-pagepost-and-visitors-country/

Smarty Template Code : showing code only for your ip address

When coding it is not always practical to perform changes in a test environment first and then transfer to the live. Sometimes you just want to make a quick test and show the client before putting the changes live to the whole world to see.

X-Cart uses the smarty templating language and to do this in smarty is pretty simple. Continue reading

New Drupal 7 site just put live for Apex Recruitment

This site is fully content managed and build on thelatest version of Drupal.

You can see the full site at http://www.apex-recruitment.co.uk/

Improving page loading speed using Lazy Load

On the site www.cainefashion.co.uk site the Mens category page contains 170 images totalling 1.9mb. The full page including html and javascript totalled 2.2mb.

The recent site redesign gives the customer the benefit of large thumbnails but this in turn increased the full page site by 700K. Especially were the page has so many images. To help improve the performance you can include pagination but the site owner really did not want to have this feature, as the click through rate for next page was very low. Continue reading

Show RSS feed using PHP on X-Cart Homepage using Simple Pie

Here is a tutorial on how to show an RSS feed on your X-Cart Homepage without javascript. This allows google to see that your homepage is showing updated content regularly.

1. firstly you will need to download the latest version of SimplePie from the simple pie website. http://simplepie.org/downloads/

2. In your X-Cart directory create a folder called ‘simplepie’ inside the modules folder. ie, /modules/simplepie

3. Upload simplepie.inc and LICENSE.txt from the simplepie archive to /modules/simplepie

4. Create a folder called cache inside /modules/simplepie and give this file 755 or 777 file permissions.

5. Edit the file /modules/simplepie/simplepie.inc and find

1
2
3
4
5
6
/**
* @var string Cache location (relative to executing script)
* @see SimplePie::set_cache_location()
* @access private
*/

var $cache_location = './cache';

change this to

1
2
3
4
5
6
/**
* @var string Cache location (relative to executing script)
* @see SimplePie::set_cache_location()
* @access private
*/

var $cache_location = './modules/simplepie/cache';

6. Now create a new folder called rss in the modules folder ie, /modules/rss

7. Create a file called rss.php and enter the following information.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
if (!defined('XCART_SESSION_START')) { header("Location: ../../"); die("Access denied"); }

include_once($xcart_dir . '/modules/simplepie/simplepie.inc');

$feed = new SimplePie();
 
$feed->set_feed_url("http://www.zone1creative.co.uk/blog/feed");
$feed->enable_cache(true);
$feed->init();

$i = 0;
foreach ($feed->get_items() as $item) {
  $rssitem['title'] = $item->get_title();
  $rssitem['url'] = $item->get_permalink();
$rssitem['description'] = = $item->get_description();
  $rss[] = $rssitem;
 
//set value to how many feed items to show
  if(++$i > 4) break;
}

$smarty->assign_by_ref('rss', $rss);
?>

Change the line http://www.zone1creative.co.uk/blog/feed to your rss url.

Upload this file to /modules/rss

8. Download and edit /home.php
Find

1
2
3
if (!empty($active_modules['Gift_Registry'])) {
    include $xcart_dir . '/modules/Gift_Registry/customer_events.php';
}

and add below it

1
2
3
4
5
6
7
if (!empty($active_modules['Gift_Registry'])) {
    include $xcart_dir . '/modules/Gift_Registry/customer_events.php';
}

if ($cat == 0) {
  include $xcart_dir . '/modules/rss/rss.php';
}

Upload the file again.

9. We now need to edit the smarty template file /skin/{your skin folder}/customer/main/welcome.tpl

1
2
3
4
5
6
7
8
9
10
11
12
13
{if $rss}
  <ul id="rss-block">
  {foreach from=$rss item=rssitem}
    {if $rssitem.title != ""}
    <li>{if $rssitem.url != ""}<a href="{$rssitem.url}" target="blog">{/if}{$rssitem.title}{if $rssitem.url != ""}</a>{/if}
    <div class="description">
    {$rssitem.description}
    </div>
    </li>
    {/if}
  {/foreach}
  </ul>
{/if}

Start your own marketplace using PHP and MySQL script from Clone Forest

market place script php

clone forest php mysql script

If you have used Code Canyon and Theme Forest, then you maybe interested in setting up your own marketplace. Unlike e-commerce where you need to source products, buy in bulk and then find customers to buy. You could think of approaching it the Etsy or Amazon way.

Setup a market place where others can use your site to sell their creative work.

Clone Forest sell a number of high quality scripts that allow you to setup an online market place to sell code, images, video and docs.

Your sellers pay a selling fee which you collect via paypal and you concentrate on just marketing your site.

Paper like page turning affect using HTML 5

Came across this today from a Venezuelan programmer called Emmanuel Garcia. He has put together javascript library to show pages similiar to a real magazine or newspaper. The page also renders well on a ipad and mobile device.

It called turn.js and the site demos the plugin, with a good reference guide too.