How to Set a Default Payment Method in Shopp

by Lorenzo Orlando Caum on September 24, 2011

In certain situations, less is more as it provides simplicity. When considering payment methods, variety is a good choice. Remember that not all of your customers may have a PayPal account or an account with another popular payment processor.

A best practice for the checkout process is to make it easy, fast, and friction-less.

Did you know that you can apply this concept to your payment method menu? Lets say that you notice that your customers are choosing a particular payment method more than the others. You can specify that this option be shown as the default. This means that it will appear at the top of the menu.

Editing your Shopp Checkout.php

This tutorial applies to Shopp 1.1.x.

With an edit to your Checkout.php, you’ll be able to specify any of your active payment options to be the default.

  1. Login to your website via FTP
  2. You’ll now want to browse to the Shopp custom templates folder which live in your current themes folder: /wp-content/themes/yourthemefolder/shopp/
  3. Locate the Checkout.php file and make a backup of the file (recommended for any file edit and its a best practice)
  4. Open the Checkout.php file
  5. Towards the bottom of the file, you’ll see a line with the following code:
  6. Replace the line with the following:
    shopp('checkout','payment-options','default=hello edit me');
  7. You’ll want to replace the ‘hello edit me’ with your chosen payment method. For example, if you wanted Google Checkout as default, you would erase ‘hey edit me’ and enter ‘Google Checkout’ and the new code would appear as such:
    shopp('checkout','payment-options','default=Google Checkout');
  8. Once done, you’ll should save your file

Now its time to test your new edit to Shopp. First reset your shopping experience, you can do this easily by entering the following URL in your browser:

You should replace ‘’ with your URL. Once done, you’ll be brought back to your Shopp store. Add an item to cart and then head to checkout. You should see your new payment method appear as default.

Here is our checkout page after the edit:

If your default payment method does not appear, you’ll want to ask yourself a few questions:

  • Did I reset my browser cache?
  • Is my caching plugin setup correctly (your caching plugin should not be affecting Shopp in any manner)?
  • Did I save the file after the edits?
  • Did I enter the code correctly?
If used correctly, you can use this edit to boost your conversions rates nearly immediately. Remember the best practice that we mentioned earlier — easy, fast, and friction-less.
Related Posts Plugin for WordPress, Blogger...

Would you like to have a better e-commerce site?
We can identify areas of improvement for your site to help you drive sales.
Learn more about our WordPress E-commerce Site Analysis

Author: Lorenzo Orlando Caum

@lorenzocaum is an entrepreneur and a marketer.

Lorenzo contributes to the Shopp project as a customer support rep.

He is the founder of Enzo12 LLC, a web engineering firm in Tampa, FL. He also has a business, marketing, and technology blog.

Previous post:

Next post: