Ubercart shipping per country - drupal

I don't want to use the UPS shipping, I have a list of prices per country that my client wanted adding. Now I have been told to do this via conditional actions but I haven't got the vaguest idea how I would set this up, none of the options seem to allow me to set up specific values per country. Please help me out!

By "prices per country" do you mean a flat rate per country?
If so, create a flat rate price for each country (admin/store/settings/quotes/methods/flatrate). Example: International - Canada Flat rate
This will also add triggers for each flat rate you create in the conditional actions: (admin/store/ca). Example: Trigger: Getting shipping quote via International - Canada
Edit the trigger and click the "conditions" tab. Under "Available conditionns" select "check an order's shipping country". Click the "add condition" button. Then select the country (example: canada) and save the page.
(this is for drupal 6 & ubercart 2)

Related

Woocommerce: Customize recalculate button to absorb taxes into total price

When creating manual orders, usually you have to set a custom price for the product. When clicking on "Recalculate", it calculates the taxes and adds them to it
Since I already have "Load prices by country" to get the system price and taxes,
Would it be possible for manual pricing to just calculate the tax according to the price set without adding the result to the total?
I'm seeing that the button has a calculate-action class:
Maybe if I find the function that that class triggers I can modify it for my purpose?
I think you should define tax and shipping country wise
Go to woocommerce -> settings -> Tax -> Standard rates and define taxes country wise
Go to woocommerce -> settings -> shipping and define shipping country wise
Reference URL : https://docs.woocommerce.com/document/setting-up-taxes-in-woocommerce/

Woocommerce Check-out Customer Condition

On the checkout page in woocommerce, I have provided a distinction between provinces and districts, but when the customer chooses the district, I want to assign an ID that I have previously specified to the database. I want it to print the county directly in the form of a string. Where do I write the if?
Example -> billing_adress (Okayama) to i want database write Customer country (OK8299)
Briefly; I want to register in customer country with a different ID. Not with the country name. How can i do?
Please help me thank you
Database Screenshot suit_wc_customer_lookup
As you can see, "seyhan" is writing. I want instead of "TR.00100TR". I want to complete this data by putting in excel and if else. I would be very happy if you help. For example, if Seyhan is city TR.00100TR, if Ceyhan is city TR.00102TR.
Thanks

Is it possible to set a currency per user?

Is it possible to set a currency per user rather than based on a user's address. So that no matter where in the world a customer was looking at the site they would always see their "home" price? e.g a US based customer always sees the $ price, even if they are currently shopping from Europe.
Ideal solution would be to have a currency selection box in the user profile.
Option 1
Check this WooCommerce Plugin: "The Currency Converter Widget lets you offer a dynamic currency switcher for displaying product prices and totals." "... your customers will be able to change the currency". (It costs extra, though.)
https://woocommerce.com/products/currency-converter-widget/
https://docs.woocommerce.com/document/handle-multiple-regions-currencies-woocommerce/
Option 2
Another plugin. WooCommerce Multi-Currency: "Multi-Currency is a WooCommerce extension that provides switching currencies and re-calculating rates on-the-fly." The user can "Choose the currency using a sidebar widget" and "Pay in the selected currency" (Also costs extra.)
https://woocommerce.com/products/multi-currency/
Here is an overview on the topic:
https://docs.woocommerce.com/document/shop-currency/ -> text on Multiple Currencies

WooCommerce: tax price filter not being applied in admin

I've implemented a filter as per this WooCommerce article on taxes:
add_filter('woocommerce_adjust_non_base_location_prices', '__return_false');
This effectively 'ignores' tax rates on checkout: an €8,99 product (where prices are added inclusive of tax) being sold from a UK store will cost €8,99 to a German customer, a French customer or an ROI customer. This all works fine on the front end.
However, I just created an order in the backend for a German customer, and that €8,99 product is being added to the order at €7,49 with no tax. I understand from a tax perspective why this is happening (a UK store selling in Germany shouldn't apply tax, so 8.99 - 20% UK VAT = 7.49), however this seems to be ignoring my woocommerce_adjust_non_base_location_prices filter.
At the moment my filter call is just a single line in a custom plugin, so being implemented at plugins_loaded, I guess. There's no condition for it (e.g. if (!is_admin()) {}), so I'm wondering if I need some other kind of condition to ensure it is applied to admin orders, or if I'm looking at a bug?

Woocommerce single product tax status trumps WooTax, and Tax Cloud

I signed up for Tax Cloud and use Woo Tax to calculate tax. I am trying to only collect sales tax when shipping to WA. Some of my products' tax status is set to none while some is set to taxable. When I changed my shipping address on the taxable products the sales tax still showed up, even if the state I chose was listed as states without sales tax in tax cloud. When I chose products tax status none then I got no sales tax, even if I was shipping to WA.
My question is two-fold: 1) Does tax status taxable mean it will add sales tax no matter what?, and 2) what can I do to make sure any and all products get sales tax when shipping to WA?
When using WooTax and TaxCloud, you should leave the WooCommerce "Tax Status" property as "Taxable" (regardless of your local laws - I will explain).
This is because TaxCloud automatically determines the taxable status of what you are selling based upon the Taxability Information Code (TIC) selected (drop-down menu right below the main edit product panel). The TIC along with your orders' origin and destination addresses, and your TaxCloud configuration control where you collect sales tax, and how much sales tax is due and collected.
This way, if you are selling clothing or prewritten software, or any of the other categories of goods options possible, you do not have to know if the item is taxable, exempt, or partially exempt in the jurisdiction of your customer - just select the TIC category, and TaxCloud will handle it correctly for each transaction's unique fact pattern (including sales tax holidays).
So, to answer your questions:
Be sure the product Tax Status is set to Taxable, to ensure
WooCommerce doesn't try to hide the item from TaxCloud for
calculation.
Be sure to set the appropriate TIC code for the
product (review all the options).
Within TaxCloud, in the "Tax States" area, configure where
you want to collect sales tax.
One more thing... Review your WooCommerce --> Settings --> Tax area to be sure everything is configured correctly:
Enable Taxes: True (Checked)
Prices Entered With Tax: No
Calculate Tax Based On: Customer Shipping Address
Shipping Tax Class: Based upon cart items
Rounding: Unchecked
Additional Tax Classes: [irrelevant - overridden by TaxCloud TIC for each product]
Display Prices in the Shop: Excluding Tax
Display Prices During Cart and Checkout: Excluding Tax
Display Tax Totals:: Itemized
That's all there is to it. Please feel free to call or email TaxCloud customer service if we can help in any way.
Thanks!

Resources