It Takes Two

Sunday, 24 January, 2010

Well, version 2 actually, rather than a Rod Stewart/Tina Turner duet.

YAK version 2 has just been released (the WP site should update shortly). This is a major release, with a large number of changes. Most important to note for upgraders, is YAK now uses WordPress’s shortcode API and also supports multiple shipping options. See the change list below for what this actually means, but before upgrading, I recommend taking a note of your current shipping configuration, and taking a backup of your WP environment (just to be safe).

Changes include (note, read braces {} below as square brackets []):

  • Updated the codebase to use WordPress’s shortcodes API. This means the old parameter style (e.g. {yak_price type id}) is replaced by the new style {yak_price id=”" type=”"}. For example, {yak_price small 23} becomes {yak_price id=”23″ type=”small”}. {yak_quantity medium} becomes {yak_quantity type=”medium”}
  • Renamed {error_message} tag to {yak_error_message} (for consistency’s sake)
  • Added a {yak_sku} tag. This takes the id and type parameters (same as yak_size). For example, {yak_sku type=”small”}
  • Added a facility for loading custom modules
  • Added “Proceed to checkout” link to yak order widget
  • Added support for multiple shipping options (this means you’ll need to reconfigure your shipping settings — on the plus side, YAK now supports more than one shipping option). Shipping is now configured in a separate screen (YAK Shipping), and is broken into 3 tabs – Basic (the basic config settings, including where you can specify what shipping options you support), Zones (specify which country belongs to which zone), and Options (where you can set the price of shipping to each zone for each option).
  • Added a test facility for the confirmation email message
  • Added (very) basic low stock notification
  • Changed “Buy” button on the initial cart page to “Checkout”
  • Added an option to include the price on Buy Button drop-down (i.e. multi options)
  • Changed ID on the buy button so that it’s unique
  • Added “PAYMENT_PROCESSED” option to the orders screen — for orders which have been (manually) paid (either manual credit card or deposit/cheque, for example) but not yet shipped.
  • Added “DELETE” option to the orders screen — only allows orders which are CANCELLED or in ERROR to be deleted

ADDENDUM: there was a minor Javascript bug I missed fixing (and meant to before the release), so version 2.0.1 will be on the update site shortly.

2 Responses to “It Takes Two”

  1. rsconsult says:

    How much is different from the most recent version and the version that is covered by the handbook? I am setting up v. 2.06 and want the handbook – if it is updated for the newest version and/or there are not significant differences.

  2. jrbriggs says:

    The handbook has been updated for the latest version. The changes are significant enough that it *had* to be updated. :-)

Leave a Reply