Support » Plugin: WooCommerce » How to get shipping cost and order total using ajax on product page

  • Hi

    Is it possible to get available shipping methods, shipping cost and order total using ajax on product page.
    i am showing a popup when click “add to cart” button, that popup will contain all added products with quantity and price, but i cant get shipping costs or available shipping methods and order total. order total showing zero and available shipping methods returns empty when i am using $woocommerce->cart->get_total() and $available_methods = $woocommerce->shipping->get_available_shipping_methods(); respectively.

    Please advice

    http://wordpress.org/plugins/woocommerce/

  • The topic ‘How to get shipping cost and order total using ajax on product page’ is closed to new replies.