Support » Plugin: WooCommerce Pay for Payment » Most expensive payment method on shopping card page

  • Hi,

    I really like the plugin. You’ve done great job on this!

    Here’s just one thing I wish to change somehow. WP shopping cart page displays the most expensive payment alternative (based on my definition via plug-in). Even though I have set as default another payment option (cheaper one), it displays the most expensive one. Is there a way how to hide this field in cart page (or eliminate it from summary) or just change it to different payment method I wish?

    The business problem is, that customers see the most expensive option on cart, but are not aware of other cheaper alternatives. So there’s some drop of potential orders..

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi, @stanyko,

    I’m not sure whether I get it right, but it looks like it’s not related to this plugin. It just adds a fee for payment; it doesn’t manipulate other things. By WooCommerce default (when not pre-set anything), you should see all options available with a toggle.

    However, If I understand it well:
    – you have a plugin which sets a payment a default payment (which one? it looks like a question for them)
    – at cart page, you want to show the cheapest (even if in the next step you will automatically select the most expensive one?) or hide it

    If you wish to have the default method different than in the cart page, I would ask the plugin developer for help I have no idea how it’s done. But, if I were a customer, I want to see the same payment method for both places, so it doesn’t make sense to me. I would be probably upset if you do so.

    To hide shipping completely on the cart page, you could use the following snippet:

    function disable_shipping_calc_on_cart( $show_shipping ) {
        if( is_cart() ) {
            return false;
        }
        return $show_shipping;
    }
    add_filter( 'woocommerce_cart_ready_to_calc_shipping', 'disable_shipping_calc_on_cart', 99 );

    Did it help?

    Best regards,
    Karolina

    Thanks for reply. I tried the snippet, but it hides only shipping methods, and I wish to hide payment methods on card instead.

    Q&A:
    Q: you have a plugin which sets a payment a default payment (which one? it looks like a question for them)
    A: I don’t use any plugin for that. It’s done directly in woocommerce, this is correctly applied for checkout. One payment method is for 1 eur and other is for free. On cart page is always shown more expensive option and other is not available.

    Q: at cart page, you want to show the cheapest (even if in the next step you will automatically select the most expensive one?) or hide it
    A: I want to hide it or show all available payment methods in cart. In next step there is selected cheapest one (for free)

    When I dis-activate your plugin the cart doesn’t show any information about payment methods, if I re-activate it shows only one – most expensive payment method.

    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi stanyko,

    I’ll have a look at it, could you make a couple of screenshots for me so I can reproduce it exactly as you have it?

    1) “. I tried the snippet, but it hides only shipping methods, and I wish to hide payment methods on card instead.” and highlight what you want to show?
    2) payment methods and their settings
    3) cart
    4) checkout

    And please, attach the system status report from WooCommerce as advised here: https://wordpress.org/support/topic/before-you-ask-for-help/

    Thanks for a patience!
    Karolina

    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi,

    it looks like something is different on your site. I would suggest testing it in an anonymous window, you might have it saved locally. I’ve replicated your setup here and it works as supposed to:

    https://uc6mfrhn.versionpress.com/

    Pokud mi chcete poslat report soukromně, tak adresu najdete na mých stránkách proklikem z autora pluginu.

    Best regards,
    Karolina

    stanyko

    (@stanyko)

    Hello Karolina,

    it is the same also in anonymous window. Sent status report directly to you.
    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Most expensive payment method on shopping card page’ is closed to new replies.