Jump to content

STORE PICKUP carrier must always charge sales tax


USASat

Recommended Posts

I need to modify the cart to always charge sales tax when the client select the  carrier that I created called "STORE PICKUP", I had this code before on a older version, but on the new 1.6.1.17 the cart.php change completely, and I cannot see where I can implement this option.

                    // If pickup at store, set shipping rate to Florida tax

                    if($selected_shipping_id == 182)
                        $product_tax_rate = 6.5;
                    else
                        $product_tax_rate = (float)Tax::getProductTaxRate((int)$product['id_product'], (int)$address_id, $virtual_context);
                   
Please help.
Andre

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...