WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to be able to get the tax percentage for the cart in wp-ecommerce. I have tried using: $wpsc_cart->tax_percentage but it does not return a value. Has something changed in the newer versions of wp-ecommerce?

share|improve this question
up vote 0 down vote accepted

$wpsc_cart->tax_percentage contains the tax percentage for me using the latest version 3.8.6. make sure you have enabled tax and added a tax rate under settings > store > taxes.

share|improve this answer
interesting I have enabled it and also added in a tax value but i get nothing. I have only pt in a value and left it as all markets. What globals are you using? – Lee Aug 5 '11 at 1:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.