9 replies [Last post]
TerryC's picture
Offline
Joined: 11/15/2011
Juice: 17
Was this information Helpful?

I can't believe this has become so difficult. This should be dead simple. I get the feeling that some major step was missed somewhere, or else this would "just work". I've Googled to the end of the Internet and back again and can't find any useful tutorial, book, or clue on how to simply get a State tax rule set up properly using Ubercart 7.x-3.0-rc2, Rules 7.x-2.0, and Drupal 7.7. Here's as far as I can get:

1) I've added a CA state tax rate of 9.25%. See "TaxCap1.png"
2) When I hit Edit, I can hit +Add Condition. See "TaxCap2a.png"
3) Under "Select the condition to add", I select "Order/Check an order's state".
4) On the next screen, I have "Data selector" filled out as "order", under "Order state", there's "Value" and a pull-down. For me, the pull-down only contains "- Select -" (i.e., no values). See "TaxCap3a.png"
5) It obviously won't let me go any further, displaying an error "Value field is required. Missing configuration for parameter order_state". See "TaxCap3b.png".

Now what? Hopefully this is some easy fix. This is driving me crazy.

Thanks in advance for any help!

- Terry

PreviewAttachmentSize
TaxCap1.pngTaxCap1.png9.63 KB
TaxCap2a.pngTaxCap2a.png46.43 KB
TaxCap3a.pngTaxCap3a.png27.61 KB
TaxCap3b.pngTaxCap3b.png4.59 KB
TerryC's picture
Offline
Joined: 11/15/2011
Juice: 17
*bump* Any thoughts on this

*bump*

Any thoughts on this yet? I'm really stuck, and need to get through this right away.

Thanks!

longwave's picture
Offline
Joined: 09/20/2008
Juice: 584
Re: Please help with Tax Rules!

"Order state" is misleading here, that actually refers to a type of order status.

What you want instead is the "Data comparison" condition, with the selector order:delivery-address:zone, which should then give you a dropdown of available US states to compare to.

--
These forums are for general support questions about Ubercart.
Bug reports and feature requests should be posted at http://drupal.org/project/issues/ubercart
Latest API documentation can be found at http://api.ubercart.me/

TerryC's picture
Offline
Joined: 11/15/2011
Juice: 17
Re: Re: Please help with Tax Rules!

When I went down that path, I was stuck on another issue. When I first get into that screen, it shows "order:", so I hit the "down" button. Eventually, I can get "order:delivery-address" but if I hit save it gives an error. I don't see a way to select "zone" - do I just type it?

If you (or anyone) could provide a step-by-step example (screen shots would be fantastic!), I'd really appreciate it. Hopefully getting through this will cut down on my Excederin intake. Smiling

Thanks in advance.

longwave's picture
Offline
Joined: 09/20/2008
Juice: 584
Re: Re: Re: Please help with Tax Rules!

You can just type it, or you should see order:delivery-address: (note the last colon), click that, and a list of address fields including "zone" (which means state, province, county, etc) should appear.

--
These forums are for general support questions about Ubercart.
Bug reports and feature requests should be posted at http://drupal.org/project/issues/ubercart
Latest API documentation can be found at http://api.ubercart.me/

TerryC's picture
Offline
Joined: 11/15/2011
Juice: 17
Re: Re: Re: Re: Please help with Tax Rules!

If "zone" doesn't show, any clues why? If I type zone and the State, etc. doesn't show up, any clues there? Am I missing some add-on that should configure all of this?

Thanks again.

longwave's picture
Offline
Joined: 09/20/2008
Juice: 584
Re: Re: Re: Re: Re: Please help with Tax Rules!

What does show up? You have selected the "Data comparison" condition and are not still trying to use the "Order state" condition?]

--
These forums are for general support questions about Ubercart.
Bug reports and feature requests should be posted at http://drupal.org/project/issues/ubercart
Latest API documentation can be found at http://api.ubercart.me/

TerryC's picture
Offline
Joined: 11/15/2011
Juice: 17
Re: Re: Re: Re: Re: Re: Please help with Tax Rules!

Yes, using Data Comparison, when I use the down arrow button, it shows "order:delivery-address" but I can't get any further - never shows the "order:delivery-address:zone". I won't be in front of my dev system until tonight, so I'll try keying it in manually then. Just curious why it wouldn't show up. (Version issue? Missing additional module?)

jasonruyle's picture
Offline
Joined: 01/18/2008
Juice: 238
Re: Please help with Tax Rules!

If you have uc_addresses enabled, disable it and the operator options should be available.
After you get your condition in, then you can re-enable that module.

DanZ's picture
Offline
Joined: 08/07/2011
Juice: 1724
Re: Please help with Tax Rules!

I'm not sure if it would help you at this point, but I didn't have trouble entering the condition with an up-to-date Ubercart 7 fresh install:

Data comparison
Parameter: Data to compare: [order:delivery-address:zone], Data value: California

I vaguely remember something about importing country data. Maybe you need to do that: Here are my notes:

Navigated to admin/store/settings/countries
Selected all the countries
Hit "Import"