Skip to content

Display a shipping calculator to your customer on the WooCommerce product page using any delivery method.

Notifications You must be signed in to change notification settings

mathdevelop/math-shipping-calculator-on-product-page

Repository files navigation

Math Shipping Calculator on Product Page

Display a shipping calculator to your customer on the WooCommerce product page using any delivery method. *Leia em Português

Usage

If you're using a Storefront child theme, the calculator will appear before the buy button, if not, add the hook to the code:

<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>

In this case of the custom theme, pay attention to have on the page an element with the class 'qty' containing the quantity value and another element with the name 'add-to-cart' or 'variation_id' containing the product/variation code respectively.

About

Display a shipping calculator to your customer on the WooCommerce product page using any delivery method.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published