diff --git a/admin/admin-settings.php b/admin/admin-settings.php index d8aecf24a57..4f7d8b5488c 100644 --- a/admin/admin-settings.php +++ b/admin/admin-settings.php @@ -245,6 +245,14 @@ $options_settings = apply_filters('woocommerce_options_settings', array( ) ), + array( + 'name' => __('Cart redirect', 'woothemes'), + 'desc' => __('Redirect to cart after adding a product to the cart (on single product pages)', 'woothemes'), + 'id' => 'woocommerce_cart_redirect_after_add', + 'std' => 'no', + 'type' => 'checkbox' + ), + array( 'type' => 'sectionend'), array( 'name' => __('Pricing Settings', 'woothemes'), 'type' => 'title','desc' => '', 'id' => '' ), @@ -822,12 +830,28 @@ function woocommerce_admin_fields($options) { break; case "gateway_options" : + + $links = array(); + + foreach (woocommerce_payment_gateways::payment_gateways() as $gateway) : + + $title = ($gateway->title) ? ucwords($gateway->title) : ucwords($gateway->id); + + $links[] = ''.$title.''; + + endforeach; + + echo '