Build Your Own Business Website header image

Taxes

How to Setup California Local Sales Tax in Shopp Part 7 – Q&A

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

We answer a question about  how long it will take to estimate the taxes with this function. We discuss some options and different possible iterations for this function. Rick:  We’re going to go ahead and save that. Craig, I’m going to actually unmute your microphone here for a second. So does that make sense? Craig: 

How to Setup California Local Sales Tax in Shopp Part 6 – Add Error Checking

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

In this session we show how to add add error checking to the PHP function that returns the California local sales tax rate. We also try changing the cities to see if the tax rates will change. Rick:  Now that we know that our thing is working right, we’re going to add the new code

How to Setup California Local Sales Tax in Shopp Part 5 – Test the Function

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

In this session we test the function and get rid of special characters that might affect the tax calculation. We also clean the city names up by applying filters to eliminate some of the errors. Rick:  The other iteration on this, although we should just check this, right now if there’s any typo, there’s not

How to Setup California Local Sales Tax in Shopp Part 3 – Obtaining and Formatting the Tax Rates

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

In this session we go through the process of obtaining and formatting the tax rates and discuss the need to be in a specific format in order to work in PHP. We show how to create a variable after a return statement and a string of cities and values. That one little part of it

How to Setup California Local Sales Tax in Shopp Part 2 – the shopp_cart_taxrate() Filter

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

In this session we discuss the use of the shopp_cart_taxrate_() filter to filter the tax rates. The filter grabs the value of the rate and lets us change the value. We create a conditional statement so that if it is California it will return a specific number otherwise it returns the default rate. This is

How to Setup California Local Sales Tax in Shopp

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

We discuss the different levels of taxation within the state of California. And show, step by step, how to create a function that replaces the calculated tax with the specific tax for each city. We conclude the seminar by showing how to add add error checking to the function.