WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
How to get shipping cost and order total using ajax on product page (1 post)

  1. Jageshmk
    Member
    Posted 8 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic