Support » Plugin: 2Checkout Payment Gateway for WooCommerce » Hide Shipping Info On Checkout

  • I need to hide Shipping info on my Standard Checkout Page. I do not know if I need to change this on “2Checkout Payment Gateway for WooCommerce” or directly on “Wooccommerce” plugin.

    After I push button to send people to 2checkout page, the site shows the form to give “shipping info” to my customers, and all of my products are virtual.

    I am using another plugin to give access to courses now, but now I am tring to change to Wooccomerce because I think is more customizable and need to give a better experience to new customers.

    Thank you for gime me some advice to solve this problem.

    https://wordpress.org/plugins/woocommerce-2checkout-payment/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author N-Media

    (@nmedia)

    Hi,

    please upgrade to Pro version of this plugin.

    I have the same problem. If we upgrade to the Pro version, would the problem be solved or would you now start to troubleshoot the problem?

    Thread Starter thebrally

    (@thebrally)

    On pro version I think you can use the inline checkout. I do not try to use now, because checkout page of 2checkout give a serious and professional look to my system.

    I have a blog without tons of traffic and customers, and now is a good option send my customers to 2checkout page.

    I read 2checkout support, and delete parameters from index.php in the plugin to hide shipping: (This works only if you are selling virtual products)

    ` // Shipping

    $twoco_args[‘ship_name’] = $order->shipping_first_name.’ ‘.$order->shipping_last_name;
    $twoco_args[‘company’] = $order->shipping_company;
    $twoco_args[‘ship_street_address’] = $order->shipping_address_1;
    $twoco_args[‘ship_street_address2’] = $order->shipping_address_2;
    $twoco_args[‘ship_city’] = $order->shipping_city;
    $twoco_args[‘ship_state’] = $order->shipping_state;
    $twoco_args[‘ship_zip’] = $order->shipping_country;
    $twoco_args[‘ship_country’] = $order->shipping_postcode;

    $twoco_args[‘x_receipt_link_url’] = str_replace( ‘https:’, ‘http:’, add_query_arg( ‘wc-api’, ‘WC_Gateway_NM_TwoCheckout’, home_url( ‘/’ ) ) );
    $twoco_args[‘return_url’] = str_replace(‘https’, ‘http’, $order->get_cancel_order_url());

    Okay. Thank you. I’d rather not interfere with the code though. Thank you though.

    Plugin Author N-Media

    (@nmedia)

    Hi,

    in pro version virtual product will disable shipping fields when clients redirected to 2checkout page.

    BR,
    Najeeb

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide Shipping Info On Checkout’ is closed to new replies.