Support » Plugin: Ali2Woo Lite » Display shipping method in single product page

  • Resolved Younes

    (@vanbom)


    Hello,
    I want to display the shipping methods in the product page, to show the customer the list of methods before going to Cart. I tried to extend the class new A2W_ShippingMeta (); but I can’t access private functions.
    thank you

Viewing 1 replies (of 1 total)
  • I found it :
    ` $shipping_loader = new A2W_ShippingLoader();
    $shipping_data = $shipping_loader->load(new A2W_ShippingMeta( get_the_ID(), $ext_id, $ship_to, ”, ”, ” ) );

    • This reply was modified 3 weeks, 4 days ago by Younes.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.