Your account is limited to posting only in the Pre-Sales Questions forum.
Support forum access is limited to members with a purchase history.

If you are working on behalf of another member, please contact us with the name of the license holder and we will upgrade your account.
   
 
Tax not being applied?
Posted: 01 March 2012 07:55 AM   [ Ignore ]
Is a Really Great Dancer
RankRank
Total Posts:  71
Joined  2011-09-09

For some reason, tax is not getting applied to my shopping cart. I’m displaying {cart_tax} in my shopping cart, but it shows $0.00.
And I have confirmed that my items are set to “Taxable”...

Here is my product detail page where an item can be added to the cart:

{exp:channel:entries channel="products"}
     
     
<div class="product_detail_col1">
                 <
img src="{product_detail_image}">
     </
div>
     <
div class="product_detail_col2">
      <
class="prod_title">{title}</p>
                 <
class="prod_price">{product_price}</p>
       
       
{exp:cartthrob:add_to_cart_form entry_id="{entry_id}" no_tax="no" return="store/shopping-cart"}
        
        {if product_size}
        Size
:
         
{item_options:select:product_size}
          
<option value="{option_value}">{option_name}</option>
         
{/item_options:select:product_size}         
        {
/if}
        {if product_color}
         
<br /><br />
         
Color:
         
{item_options:select:product_color}
          
<option value="{option_value}">{option_name}</option>
         
{/item_options:select:product_color}         
        {
/if}
        
<br /><br />
        <
button type="submit" class="minimal"><img src="{site_url}/assets/img/icons/cart.png"Add to Cart</button>
       
{/exp:cartthrob:add_to_cart_form}
       
                  
<class="prod_desc">{product_description}</p>
               
     </
div>
     
              
{/exp:channel:entries} 
Profile
 
 
Posted: 01 March 2012 10:54 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRank
Total Posts:  465
Joined  2008-09-30

Have you configured your tax settings in the CartThrob taxes tab?

Profile
 
 
Posted: 01 March 2012 10:55 AM   [ Ignore ]   [ # 2 ]
Is a Really Great Dancer
RankRank
Total Posts:  71
Joined  2011-09-09

Yes, here is a screenshot

Image Attachments
Screen_shot_2012-03-01_at_12.55.24_PM.png
Profile
 
 
Posted: 02 March 2012 07:25 AM   [ Ignore ]   [ # 3 ]
Is a Really Great Dancer
RankRank
Total Posts:  71
Joined  2011-09-09

Anyone have an idea why cart isn’t adding taxes?

Profile
 
 
Posted: 02 March 2012 10:05 AM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRank
Total Posts:  465
Joined  2008-09-30

What version of CartThrob do you have installed? I tweaked some things in the tax plugin yesterday, but it might only work in 2.1+

Here’s the revised plugin. It goes in system/expressionengine/third_party/cartthrob/cartthrob/plugins/tax/

File Attachments
Cartthrob_tax_standard.php  (File Size: 4KB - Downloads: 24)
Profile
 
 
Posted: 02 March 2012 11:13 AM   [ Ignore ]   [ # 5 ]
Is a Really Great Dancer
RankRank
Total Posts:  71
Joined  2011-09-09

I was running CT 2.05x, but just updated to 2.1.1. That didn’t seem to make a difference.
BUT, I just added the revised tax plugin and that seems to have fixed the problem!
Thanks, Chris!

Profile