Creating a Coupon for a Free Product in WP-eCommerce

From time to time you may want to give a product away as a promotion.  This is how to create a coupon for a free product.

 

In the WordPress Dashboard, on the PRODUCTS menu select COUPONS

coupon menu

 

 

 

 

 

 

 

 

Add the coupon for your product using the new coupon form:

add-coupon-button

 

 

 

 

Use a unique coupon code, in the example we use “FreeGift”

Set the discount amount to 100%, this will reduce the cart sub-total by the value of the product being given away

Set a start and end date

DO NOT CHECK  “This coupon affects each product at checkout”, if you check this the shopper will get the whole cart for free 🙁

In Conditions select “Item Name” and “Is Equal To” and enter the name of the product you are giving away.

create-coupon




That’s it!

Customizing PayPal Checkout for WP-eCommerce

PayPal offers a really nice feature that lets you customize the look and feel of the PayPal checkout page to match the look and feel of your web site.  We highly recommend that you use this feature to have your PayPal checkout page look similar to your WP-eCommerce shopping cart pages.  It makes for a much friendlier feeling checkout experience.

But what do you do when you have one PayPal account and multiple stores.  The PayPal Payments Standard 2.0 gateway that comes with WP-eCommerce doesn’t let you override the look and feel settings on a store by store basis.  And the newer PayPal gateways that come with WP-e Commerce may not be suitable for your store for some reason.

There is an easy answer!

The PayPal gateway that comes with WP-eCommerce  has a nifty “filter” that we can use to pick any of the “styles” you have set up in your PayPal settings.  It’s only a few lines of code that you can drop into a file in the mu-plugins directory, or into your theme’s functions.php.

This little snippet of code will tell PayPal to use the ‘pyebrook’ style sheet whenever  WP-eCommerce sends a shopper to PayPal.

add_filter( 'wpsc_paypal_standard_post_data', 'my_wpsc_paypal_standard_post_data', 10 , 1 );

function my_wpsc_paypal_standard_post_data( $paypal_vars ) {
    $paypal_vars['page_style'] = 'pyebrook';
    return $paypal_vars;
}

 

And this is what your shoppers will see:

paypal-checkout-screen
Customized PayPal Checkout

 

 

 

 

 

 

 

 

 

 

SEO and WP-eCommerce Performance Tuning

We have been doing some tuning work on the 80,000+ product Sparkle Gear WP e-Commerce store and wanted to share one experience with the WordPress SEO Plugin by Yoast.

Unless you are a SEO expert, Yoast’s WordPress Plugin is a a tool that will save you alot of work, and keep much the SEO process understandable and accessible to mere mortals.  It’s a great addition for any WordPress site, and especially useful for WPEC that create lots of posts (products are posts) and have lost of taxonomies (variations and categories are taxonomies). IMHO. the dynamic sitemap generation feature of the WorpPress SEO plugin alone makes it a must have.

WordPress SEO Plugin Developed by Joost de Valk

wpecHowever, there are some details about how WPEC is implemented that need to be addressed when you install the SEO plugin.First item, WPEC stores products as posts. WPEC stores 

variations of products as child posts of product posts.  These child posts are used to hold information about an individual product variation.  Details like the variation image, price, stock. etc.  The important detail to note is that these child posts are not directly accessible to the outside world. In WP speak, the permalink for these posts will give you a 404!

Health Apps: US FDA Plans Oversight of Mobile Medical Apps – CNBC

A fast-growing number of software applications offers doctors the chance to view X-rays or monitor heart rates from iPads or smartphones, prompting U.S. health officials on Tuesday to propose government oversight for some of the more complex health apps.

A portion of the apps perform tasks that mimic the work of medical devices and could cause harm if they failed to perform as promised,Food and Drug Administration officials said.

New FDA guidelines state that in some cases software developers would have to show their apps worked as well as non-mobile devices for the same use.

The agency would have to provide clearance for those apps before they could be sold. FDA officials said they recognized the potential benefits from mobile medical apps and aimed to encourage future development.

btHeart: Workout Zone Widget

So this is what we came up with for the workout zone widget…

The best news is that the application infrastructure we use for btHeart and btScale now has the full capability to support many different widgets, we’ll be rolling them out shortly, along with support for Zephyr’s BioHarness.

We are now on Facebook and Twitter!

Be a fan, Follow us,  search Pye Brook!

About btHeart

We are working on the documentation for the application.  To get you started a primer of the main screen is below.  Tap on any of the graphs to zoom in on the live picture.

image

The heart rate data read from your heart rate monitor is recorded in a text log file.  The file is in the standard “CSV” format and can be imported into spreadsheet like Microsoft Excel or Google Docs.  The  log files are on your device’s SDCARD, in a directory named “hrmlog” . btScale always writes its log to the file named “hrm.log”.

restartworkoutEvery time you select the “Restart Workout” option the “hrm.log” file will be renamed using the current date and time.  A new HRM.LOG file will then be created.   You can delete any of the logs in this directory at any time they are not in use.

what we do

Welcome to Pye Brook Company Inc.

We are a dedicated group of technology, business and marketing professionals that know how to leverage technology to solve real world business problems.  We have specific expertise in large inter-network architecture; community and social network applications for business; healthcare and transportation electronic data interchange; data extraction, dispersion and integration; and general systems architecture.

Our clients have leveraged our expertise in support of activities ranging from formation of information management and technology strategy to recovering from information technology projects gone bad.

We have ongoing commercial software development activities in the mobile data acquisition and collection industry.  We have released several commercial software applications for the Android, Blackberry and Apple iPhone platforms.  We support several clients in their continued use of social-networking and internet technologies in building community and loyalty among their customer base.

Contact us to talk about your technology needs.