Please refer to TemplateMonster Support for any issues surrounding TemplateMonster/TemplateTuning Themes – thanks, Jigoshop Team

Payment Gateways sorting order

Q: Is there a way to have XXXX Payment Gateway as the first option on the Checkout page?

A: Go to Jigoshop Payment Gateway folder: YOUR_DOMAIN/wp-content/plugins/jigoshop/gateways/

At the bottom of all the all Payment Gateways files you will see something like this:


E.g. for PayPal Payment Gateway

* Add the gateway to JigoShop
function add_paypal_gateway( $methods ) {
   $methods[] = 'paypal'; return $methods;
**add_filter('jigoshop_payment_gateways', 'add_paypal_gateway' );**

Change that very last line to:

**add_filter('jigoshop_payment_gateways', 'add_paypal_gateway', 1 );**

This puts PayPal Payment Gateway first in the Settings and on the Checkout. Perform this for your preferred Payment Gateway.