Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.