en Jump to content
  • 0
USASat

STORE PICKUP carrier must always charge sales tax

Question

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

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More