WordPress.org

Support

Support » Plugins and Hacks » TheCartPress eCommerce Shopping Cart » [Plugin: TheCartPress eCommerce Shopping Cart] BUG shipping cost display in checkout & FIX

[Plugin: TheCartPress eCommerce Shopping Cart] BUG shipping cost display in checkout & FIX

  • Hi Developers,

    I found on the checkout page when selecting shipping methods the indicated cost is always 0.

    I dig into the code and found the reason in template/tcp_template.php
    function tcp_get_the_shipping_cost_to_show has a call to tcp_get_the_shipping_cost_without_tax on line 528. The parameter of it wrong, it is $costs instead of $cost.

    So the line correctly should look like:

    } else { //remove tax from cost
            $cost_wo_tax = tcp_get_the_shipping_cost_without_tax( $cost );
            return $cost_wo_tax;
        }

    TCP version: 1.1.9.2

    Regards
    sipiatti

    http://wordpress.org/extend/plugins/thecartpress/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: TheCartPress eCommerce Shopping Cart] BUG shipping cost display in checkout & FIX’ is closed to new replies.
Skip to toolbar