e-commerce Archives | Lee Willis https://www.leewillis.co.uk/tag/e-commerce/ Mon, 02 Feb 2015 07:29:35 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 Default Lowest Shipping Choice on WP e-Commerce https://www.leewillis.co.uk/default-lowest-shipping-choice-on-wp-e-commerce/ https://www.leewillis.co.uk/default-lowest-shipping-choice-on-wp-e-commerce/#respond Wed, 29 Oct 2014 23:01:18 +0000 http://www.leewillis.co.uk/?p=691 The WP e-Commerce plugin no-longer defaults the cheapest shipping option at checkout. This can be great if you want customers to consider other shipping options that may be beneficial for them (For example quicker delivery, insurance etc.). If you do … Continue reading

The post Default Lowest Shipping Choice on WP e-Commerce appeared first on Lee Willis.

]]>
The WP e-Commerce plugin no-longer defaults the cheapest shipping option at checkout. This can be great if you want customers to consider other shipping options that may be beneficial for them (For example quicker delivery, insurance etc.).

If you do want it to default to the cheapest option, try this simple plugin:

WP e-Commerce Default Lowest Shipping Choice
by Lee Willis

A straightforward plugin that makes WP e-Commerce checkout default to the lowest available rate when first populating shipping choices.

The plugin’s available for forking and contribution over on GitHub

Stats:

  • Current version: 1.2
  • Downloaded 976 times

The post Default Lowest Shipping Choice on WP e-Commerce appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/default-lowest-shipping-choice-on-wp-e-commerce/feed/ 0
Change order of payment gateways in Easy Digital Downloads https://www.leewillis.co.uk/change-order-payment-gateways-easy-digital-downloads/ https://www.leewillis.co.uk/change-order-payment-gateways-easy-digital-downloads/#comments Tue, 28 Oct 2014 22:24:00 +0000 http://www.leewillis.co.uk/?p=682 Easy Digital Downloads lets you enable multiple payment gateways to give customers a choice about how they want to pay. The core plugin also lets you choose a default option, but it doesn’t let you choose the order that options are … Continue reading

The post Change order of payment gateways in Easy Digital Downloads appeared first on Lee Willis.

]]>
Easy Digital Downloads lets you enable multiple payment gateways to give customers a choice about how they want to pay. The core plugin also lets you choose a default option, but it doesn’t let you choose the order that options are presented at checkout. That can lead to odd UX where the default selected option appears second, or third in the list:

Screenshot from 2014-10-28 22:10:46

Fortunately, it’s pretty easy to change this order – simply paste the following function into your theme’s functions.php file, or use a functionality plugin. Just change the $gateway_order array to the gateways you have enabled, in the order you want them, and you’re good to go.

function lw_edd_enabled_payment_gateways($gateways) {
	$gateway_order = array(
		'stripe',
		'paypal',
		'manual',
	);
	$new_gateways = array();
	foreach ( $gateway_order as $gateway ) {
		if ( ! empty( $gateways[$gateway] ) ) {
			$new_gateways[$gateway] = $gateways[$gateway];
		}
	}
	return $new_gateways;
}
add_filter(
	'edd_enabled_payment_gateways',
	'lw_edd_enabled_payment_gateways',
	10,
	1
);

Here’s what our revised default checkout looks like – much neater.
Screenshot from 2014-10-28 22:15:48

The post Change order of payment gateways in Easy Digital Downloads appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/change-order-payment-gateways-easy-digital-downloads/feed/ 3
Moving to EDD https://www.leewillis.co.uk/moving-to-edd/ https://www.leewillis.co.uk/moving-to-edd/#comments Thu, 20 Feb 2014 21:29:45 +0000 http://www.leewillis.co.uk/?p=609 As some of you may know, I offer commercial WordPress plugins over at plugins.leewillis.co.uk. I started the store back in April 2011, and at the time the only real e-Commerce solution for WordPress was WP e-Commerce. My store’s run rock … Continue reading

The post Moving to EDD appeared first on Lee Willis.

]]>
As some of you may know, I offer commercial WordPress plugins over at plugins.leewillis.co.uk. I started the store back in April 2011, and at the time the only real e-Commerce solution for WordPress was WP e-Commerce. My store’s run rock solidly on WP e-Commerce for the past 3 years, and I’ve constantly been impressed by the core team’s ability to manage the complexity of supporting legacy features, installs and themes.

Scratching my own itches building, and running my store served admirably as a source of ideas for many of my free, and paid-for extensions. However, for the last 6 months or so, I’ve been planning a bit of a spring clean. A redesign was on the cards, and there were a few things I’d implemented that have worked OK, but could do with a second iteration and a bit of clearing up – particularly the documentation areas and the product information sections.

There’s a fair amount of bespoke code behind the current solution, from the licensing engine, documentation architecture, and a few other handy tools I use to handle support efficiently. When I talked at WordCamp London in November, hopefully I was clear that I’m a big fan of not re-inventing the wheel. So, I took the opportunity to review what was out there that would allow me to minimize bespoke code.

While I still think WP e-Commerce is a great solution for a lot of stores, it seemed overkill for my own requirements. Fortunately one of the plugins to have arrived in the last few years is targeted specifically at digital products. Easy Digital Downloads also provides some great add-ons that are going to help me minimise the amount of custom code powering my store.

So, with a bit of a heavy heart, I’ve decided to move my store over to Easy Digital Downloads.

I’ll certainly still be working with WP e-Commerce regularly (Actually, I’m looking forward to some changes with the store freeing up a bit more of my time to help out again!), not to mention WooCommerce, but I have to say I’m a little bit excited to spend a little bit more time with EDD.

Addendum: I’ve realised how infrequently I actually use WordPress for blogging, so I’m going to use this exercise to make me blog a little more. I’ll be covering the process, the extensions I’m using, and hopefully also any shareable code that comes out of the process – watch this space …

 Disclaimer: The easy digital downloads links in this post include an affiliate code.

  1. Moving to EDD
  2. Moving to EDD – Qualification & planning
  3. To sell direct, or not?
  4. Designing the plugin store
  5. Scope
  6. Now live on EDD
  7. Sort variations by price in Easy Digital Downloads

The post Moving to EDD appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/moving-to-edd/feed/ 2
Adding SKU to email notifications in WP e-Commerce https://www.leewillis.co.uk/adding-sku-to-email-wp-e-commerce/ https://www.leewillis.co.uk/adding-sku-to-email-wp-e-commerce/#comments Sat, 11 May 2013 19:18:51 +0000 http://www.leewillis.co.uk/?p=561 Adding the SKU (Or other information) to order emails in WP e-Commerce has been an often-requested feature. Up until recently it meant editing plugin files to apply the changes, and remembering to re-apply them on every update. Thanks to the … Continue reading

The post Adding SKU to email notifications in WP e-Commerce appeared first on Lee Willis.

]]>
Adding the SKU (Or other information) to order emails in WP e-Commerce has been an often-requested feature. Up until recently it meant editing plugin files to apply the changes, and remembering to re-apply them on every update.

Thanks to the great work that’s been going on in WP e-Commerce core – there are now a bunch of useful hooks and filters that allow the content to be changed by filters rather than by editing the plugin direct.

So – if you want to add the SKU to your order emails you can just install and enable the plugin below to add it for you.

The post Adding SKU to email notifications in WP e-Commerce appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/adding-sku-to-email-wp-e-commerce/feed/ 1
Social Checkout for WooCommerce https://www.leewillis.co.uk/social-checkout-woocommerce/ https://www.leewillis.co.uk/social-checkout-woocommerce/#respond Fri, 05 Oct 2012 06:52:56 +0000 http://www.leewillis.co.uk/?p=450 I’ve just released my latest WooCommerce extension. It’s a fairly simple – but beneficial plugin for any store. Simply put, the Social Checkout plugin allows you to encourage your users to share their purchases on their favourite social networks. The … Continue reading

The post Social Checkout for WooCommerce appeared first on Lee Willis.

]]>
I’ve just released my latest WooCommerce extension. It’s a fairly simple – but beneficial plugin for any store. Simply put, the Social Checkout plugin allows you to encourage your users to share their purchases on their favourite social networks.

The plugin lists the products purchased, together with simply sharing links for the social networks you’ve configured. Everything happens post purchase – so you’re not making your purchase process more complicated, or making barriers to checkout.

The plugin already supports Facebook sharing of purchased items, Twitter posting, and pinning to Pinterest.

Check out the screenshots below of the setup options.

The plugin’s under active development, so any other features you think should go in there, or networks should be added – let me know in the comments!

The post Social Checkout for WooCommerce appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/social-checkout-woocommerce/feed/ 0
Sorting the list of downloadable files in WP e-Commerce https://www.leewillis.co.uk/sorting-the-list-of-downloadable-files-in-wp-e-commerce/ https://www.leewillis.co.uk/sorting-the-list-of-downloadable-files-in-wp-e-commerce/#comments Mon, 02 Jan 2012 11:19:39 +0000 http://www.leewillis.co.uk/?p=417 Those of you who run stores with downloadable products may well have struggled with the following problem. If you try an attach an existing file to a product (Either because the same file is supplied with different products, or you … Continue reading

The post Sorting the list of downloadable files in WP e-Commerce appeared first on Lee Willis.

]]>
Those of you who run stores with downloadable products may well have struggled with the following problem. If you try an attach an existing file to a product (Either because the same file is supplied with different products, or you have product variants that you need to set downloads against), then you may well have run into the following:

This list is a bit of a nightmare to find the file you want. It’s not sorted by anything obvious – not name, and not date-modified as far as I can tell. Finding a file is a bit of a scroll-and-hope affair. Much better to have a nice, ordered list like this:

This is an itch I’ve been wanting to scratch for a while now, and it turns out the code is pretty simple. Just drop the following in your theme’s functions.php file and revel in the glory of a nice, ordered file list.

function site_plugin_custom_sort_function ( $a, $b ) {
  return strtolower($a['display_filename']) > strtolower($b['display_filename']);
}

function site_plugin_sort_download_list ( $download_list ) {
  // Sort the multidimensional array
  usort($download_list, "site_plugin_custom_sort_function");
  return $download_list;
}
add_filter ( 'wpsc_downloadable_file_list', 'site_plugin_sort_download_list' );

The post Sorting the list of downloadable files in WP e-Commerce appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/sorting-the-list-of-downloadable-files-in-wp-e-commerce/feed/ 3
Show Personalisation Info during checkout with WP e-Commerce https://www.leewillis.co.uk/show-personalisation-checkout-wp-e-commerce/ https://www.leewillis.co.uk/show-personalisation-checkout-wp-e-commerce/#comments Sat, 05 Nov 2011 15:03:40 +0000 http://www.leewillis.co.uk/?p=404 WP e-Commerce‘s nifty personalisation feature allows your customers to add “personalisation” information to their order – whether that’s a t-shirt slogan, a message for jewellery engraving, or maybe just text for a gift card. The default behaviour though is that … Continue reading

The post Show Personalisation Info during checkout with WP e-Commerce appeared first on Lee Willis.

]]>
WP e-Commerce‘s nifty personalisation feature allows your customers to add “personalisation” information to their order – whether that’s a t-shirt slogan, a message for jewellery engraving, or maybe just text for a gift card. The default behaviour though is that the information isn’t shown in the cart – or during checkout.

If you want to do that – check out this new plugin:

WP e-Commerce Show Personalisation

Screenshots below:

The post Show Personalisation Info during checkout with WP e-Commerce appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/show-personalisation-checkout-wp-e-commerce/feed/ 25
Campaign Monitor Ajax Subscription Widget for WordPress https://www.leewillis.co.uk/campaign-monitor-ajax-subscription-widget-wordpress/ https://www.leewillis.co.uk/campaign-monitor-ajax-subscription-widget-wordpress/#comments Tue, 11 Jan 2011 20:42:28 +0000 http://www.leewillis.co.uk/?p=335 I’m a big fan of Campaign Monitor for managing email lists and campaigns. I recently set up a list for a friend, and I agreed to put a small subscription form in his sidebar at the side of his WordPress … Continue reading

The post Campaign Monitor Ajax Subscription Widget for WordPress appeared first on Lee Willis.

]]>
I’m a big fan of Campaign Monitor for managing email lists and campaigns. I recently set up a list for a friend, and I agreed to put a small subscription form in his sidebar at the side of his WordPress site, but also have a dedicated page for people to visit to sign up – so that he could share the link to the page on Twitter, Facebook etc.

Now, Campaign Monitor make it pretty easy to create a sign-up form, but by default the form will take you off your original site, onto a Campaign Monitor “Thank you for subscribing” page. I wanted to see if I could improve on that a little, so, having worked with the Campaign Monitor API before for a Joomla! / Campaign monitor integration I sat down to see what we could do.

The result is the Ajax Campaign Monitor Forms plugin for WordPress.

Adding a form as a Widget

Currently it’ll let you create a widget in any of your sidebars, add in your list ID, and account ID, choose whether to show the “Name” field as well as “Email”:

The result is a mini-form in your sidebar, that submits the request via Ajax without the user leaving your site.


Adding a form inline in a post or page

You can also add a form as a shortcode to your posts and pages. Simply click on the “Campaign Monitor” button that appears above the post editor:

You’ll be asked to insert your API key details:

and a shortcode will be placed into your post to display the form:

The post Campaign Monitor Ajax Subscription Widget for WordPress appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/campaign-monitor-ajax-subscription-widget-wordpress/feed/ 60
Integrating WordPress with Bing Shopping https://www.leewillis.co.uk/integrating-wordpress-with-bing-shopping/ https://www.leewillis.co.uk/integrating-wordpress-with-bing-shopping/#comments Mon, 03 Jan 2011 09:28:19 +0000 http://www.leewillis.co.uk/?p=324 Disclaimer: The title of this post could easily have been one of a hundred different choices – “How to push developers away from your API”, “Why Microsoft are still living in the 1990s”, “Customer Support 101” or even “Bring Back … Continue reading

The post Integrating WordPress with Bing Shopping appeared first on Lee Willis.

]]>
Disclaimer: The title of this post could easily have been one of a hundred different choices – “How to push developers away from your API”, “Why Microsoft are still living in the 1990s”, “Customer Support 101” or even “Bring Back Steve Ballmer’s Developers, Developers, Developers

A while ago, I added code to the WP e-Commerce project so that it could provide Google Merchant Centre feeds (It’s the thing that powers Google’s “shopping results”). It’s been my experience over the last few years that having an effective feed is a good source of traffic, and an avenue that’s often neglected by other e-Commerce providers – so can be a “quick win” SEO tactic.

The fact that Bing now offer something similar recently came to my attention, and it would make sense to expand WP e-Commerce’s support to include Bing Shopping feeds as well as Google Merchant Centre. So, I skim-read the integration guide to see the size of the task at hand, everything looks good (Apart from their choice of format by the way which is, erm, a bit shocking to say the least – but hey – it does the job I guess).

I signed up for an Microsoft AdCentre account (Which requires you to hand over your credit card details, despite the fact the service is free – erm….). Now, the service currently is for US stores only, and I’m in the UK. But hey, WP e-Commerce is a global product, and I know a large portion of those users are in the US – so no problem there.

So – I followed the instructions in the Integration Guide which told me to click “Bing Shopping Account Management” in my Adcentre account, but I don’t have that link. No worries – I’m sure I saw mention of a Merchant Help Forum in the integration guide – so off I headed.

At this point my suspicion was that the problem was my geography (I did contemplate lying on the registration form and entering “US” – but I played it straight and entered “UK”). So I posted the following enquiry:

Hi,

I’m looking to add support for Bing Shopping feeds to a WordPress ecommerce platform. Unfortunately while many of the users are US-based, I’m not. I’ve signed up for an adcentre account – but I don’t see Bing Shopping under “Tools” – is this because I registered with a UK address? If so – how can I get access so I can test the integration?

Thanks in advance

Short, and to the point. No official reply from Microsoft, but that’s not really surprising, but there was a helpful reply from one of the regulars letting me know that it wasn’t an issue that had cropped up before, and helpfully pointing me at a contact page for “Questions about Bing Shopping” – sounds perfect.

So – I fired off the exact same question, and 22 hours later (I don’t consider that a bad turnaround time for something like this) the following arrived as a reply from the “Bing Shopping” support team:

Hello Lee,

Thank you for contacting Microsoft Customer Service.

Based on your message, you would like to suggest to add support for Bing shopping feeds. Let me see what I can do for you today.

As a Customer Service Representative, I am here to assist you in finding the right place to get help with your questions and provide resources to resolve your concern.

Lee, for this kind of concern what may I suggest is to contact Bing Support Professional for better assistance regarding on your concern. You may contact them through this link: https://support.discoverbing.com/eform.aspx?productKey=bing&ct=eformts&scrx=1&st=1&wfxredirect=1

I hope the above information is helpful, and please contact us if you have any additional customer service questions.

Thank you,

Hm, not great. They clearly don’t understand my question, and I now have to contact a second (More generic) support team with my question.

I’m now being made to chase around different departments because Microsoft (You know, that big multi-billion dollar company) apparently can’t pass a customer support issue between teams themselves.

Also – it’s evident that the support team don’t have the right skills / knowledge / experience to answer the question. If you’re a company offering APIs to developers they need a different level of support than your end-users. You need to make sure that your support staff are sufficiently skilled and experienced for the audience they’re supporting – or that they know that it’s OK to escalate an issue if required, and the right place to send it to – not that it’s more important to close the call than actually answer the question.

The response included an invitation for feedback on how my issue had been handled. Obviously I was disappointed, and so I replied to this request for feedback, hoping that someone would take my issue on and find me the right answer:

I’d just like to register my disappointment with responses I’ve received.

I’m a UK-based WordPress developer, trying to provide an integration between one of WordPress’s leading e-Commerce system WP e-Commerce, and Bing Shopping.

I’ve read the integration guide, and am happy I can modify the software to produce a feed. I’ve signed up for a Microsoft adcentre account, but it appears I’m unable to submit feeds (Even test ones) as I’m not in the US.

I raised this as a question on the forum http://community.microsoftadvertising.com/forums/p/68015/95480.aspx and one of the forum visitors helpfully pointed me to the “Contact Us: Questions about Bing shopping” contact page which seemed to be a sensible place to get in touch (See case number quoted above).

The result was a completely unhelpful response directing me to a generic Bing contact page – to which I’ve forwarded my enquiry – but if the dedicated “Bing Shopping” contact page couldn’t get an answer to my query – I’ll be very surprised if this does.

So:

  • I’m disappointed that you seem to have no interest in supporting developers looking to drive customers to your products, based purely on their geography
  • even more disappointed in the lack of support received when I raised this with what seems like the appropriate group
  • mortified that I have to chase round re-submitting my request to various different groups

I’ll confess it’s a bit grumpy, but I think you’ll find the answer fascinating (Emphasis mine):

Hello Lee,

Thank you for contacting Microsoft North America Customer Service.

From the information you have provided in your message, I understand that you are located in United Kingdom and looking for obtaining the Windows Defender download. The Customer Service team you have reached is for North America.  There are significant differences between North American versions of Microsoft products and those localized for your country.

You will be best assisted by the Microsoft subsidiary that specializes in your version of Windows Defender. You can reach them at (+44) 0844 800 2400 or by visiting: http://www.microsoft.com/worldwide/phone/contact.aspx?country=United%20Kingdom

Wish you a very Happy and Prosperous New Year.

So, this was supposed to be “feedback” about the level of support I received. My disappointment, and areas of complaint weren’t even acknowledged (Never mind actually addressed), and I got pointed to a Windows Defender download (If anyone can explain how that could ever possibly have been the right answer to my question I’ll buy them a beer!)

But what about the request I forwarded to the generic Bing Support team? Maybe they came back with a helpful answer? …

Hello Lee,

My name is XXXXXX. Your e-mail was escalated to me and I would like to assist you with your concern on adding support for Bing Shopping feeds to a WordPress ecommerce platform. I understand the importance of your concern.

For issues and concerns on Bing Shopping UK, please contact Ciao help team at support@ciao.co.uk.

We appreciate your continued support as we strive to provide you with the highest quality service available. Thank you for using Bing.

Sincerely,
XXXX
Bing Technical Support

I’d already explained in my contact that I wanted to post information for US stores, and the forum thread I linked through covered ciao.co.uk and why that wasn’t the right area to look at.

Suffice to say I won’t be integrating with Bing Shopping anytime soon and I pity anyone who has to deal with Bing Support …

The post Integrating WordPress with Bing Shopping appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/integrating-wordpress-with-bing-shopping/feed/ 3
WordPress Classified Ads Widget https://www.leewillis.co.uk/widgets-for-classified-ads/ https://www.leewillis.co.uk/widgets-for-classified-ads/#comments Mon, 27 Dec 2010 11:35:22 +0000 http://www.leewillis.co.uk/?p=315 I’ve recently been doing some work with some plugins from the guys and girls over at WPMU DEV. The most recent one has been using their plugin that adds Classified Ads to WordPress. I caught the plugin just as it … Continue reading

The post WordPress Classified Ads Widget appeared first on Lee Willis.

]]>
I’ve recently been doing some work with some plugins from the guys and girls over at WPMU DEV. The most recent one has been using their plugin that adds Classified Ads to WordPress. I caught the plugin just as it underwent a major upgrade from an “old-style” plugin that used custom tables to a newer version that used custom taxonomies, and custom post types.

On balance, this is a huge improvement, however a coupe of features that were in the previous version, and that I want to use on my current project went AWOL. Fortunately, because the plugin now uses standard WordPress functionality for storing its data – these are pretty easy to knock together. So – my first major need was for a widget to show “recent ads” in a sidebar. Here’s a screenshot of the widget in action:

If you want to give it a try out – you can grab it here – just install it as a standard WordPress plugin, activate it, and the widget will be available under Appearance > Widgets in your WordPress admin area.

The post WordPress Classified Ads Widget appeared first on Lee Willis.

]]>
https://www.leewillis.co.uk/widgets-for-classified-ads/feed/ 1