Hello, I want to ask how I can translate to another language name of delivery method using WPML or other way?
I mean this http://joxi.ru/xAeLPRBSpn0Rn2 with shortcodes.
That’s a great idea but I think it’s standard practice not to translate shortcodes.
But how to translate everything except shortcodes? I want another name on another language, bcz its “delivery from” text
I don’t understand your second sentence: ‘I want another name on another language, bcz its “delivery from” text’.
I mean that “delivery from shop, distance 10km” I want to translate to another language, I dont want to translate shortcodes, just text in this field
It looks like you’ve already translated this in the screenshot.
Its only one language. I want be able to translate this string on another language, I cant show user in Russian language something like “Delivery from restaurant” I want to show “Доставка из ресторана”. You understand what I mean?
I’ll update the plugin to work on multi-language websites.
Have you tried deleting the text in the Title field?
And what will change after? How to show distance? Adress? Or other shortcodes?
When you delete the text in the Title field, the plugin uses the translation of “Delivery from [store_address]”.
You can use shortcodes in the translation but you cannot change the translation depending on the shipping rules.
But I dont want to translate shortcodes. I want to write “Delivery ([distance]) from SpiceIndia: [store_address]” – and there translate “delivery, from Spiceindia
To do this, delete “Delivery ([distance]) from SpiceIndia: [store_address]” in the settings and translate “Delivery from [store_address]” using WPML.
But how to show distance?
You can use [distance] in your translation.
Yes its good idea, but tell me where to change files to show default “Delivery [distance] from [store_address]” not “Delivery from [store_address]” and after translate it. I gound some in distance-rate-shipping.php
I do not understand “gound”.
found. Where is exactly row where I can change this default Delivery from [store_address] to add shortcode
I don’t understand.
If I will delete all text from this field, there will be some default text Delivery from [store_address] that you told me to translate, so my question is: where I can change this default text in files so I can translate it like Delivery ([distance]) from SpiceIndia: [store_address]
I still don’t understand.
how to change this default text hre http://joxi.ru/Y2L6nRQf9WJXVr string that offer me to translate. Bcz on default language (english) there is no distance in text. Now you undestrand?
I don’t know what undestrand means.
When I clear the title field as you suggested and let it be filled by default, then the form of the text doesn’t suite my needs. I want to change what will be filled there by default. Therefore I need to find the file and exact row of the code that determines what is going to be written there to be able to change it. Do you know where I can find it?
I don’t know what “doesn’t suite my needs” means.
Are you fucking kidding me?
Suite is a noun but you used it like a verb.
I think your support request was resolved with this comment ‘When you delete the text in the Title field, the plugin uses the translation of “Delivery from [store_address]”’.
I want to change this deafult “Delivery from [store_address]”’ in code of plugin.
“Delivery from [store_address]” is on lines 765, 932 and 934 of /classes/distance-rate-shipping.php.
do no why, but since last wordpress update, distance rate shipping not working anymore. i can do all setting, the only message is the “error message”. Rules doesn’t work.
What do you mean by “do no why”?
sorry : don’t know why
If you would like me to have a look, please send wp-admin and ftp login details to firstname.lastname@example.org including your codecanyon username in the email.
i send you a mail but no news.
The emails did not contain your website url.
Hello, great plugin!
I’m working with a client that purchased your plugin (2 days ago) and I have a question regarding the Billing address. I want the distance calculation to be set from the cart page, but not be run on the checkout page, is this possible? My issue is that my billing address is not going to match the address used for the distance calculation. When updating my billing address on the checkout page, the distance calculation is updated. Do I have to force the user to select the “Ship to a different address” option?
It would be great if the calculation could be disabled for the checkout page.
Any help you can provide would be much appreciated.
Unfortunately you should use the account that purchased the plugin to make support requests.
I purchased your plugin a couple days ago and I have a question regarding the Billing address. I want the distance calculation to be set from the cart page, but not be run on the checkout page, is this possible? My issue is that my billing address is not going to match the address used for the distance calculation. When updating my billing address on the checkout page, the distance calculation is updated. Do I have to force the user to select the “Ship to a different address” option?
In WooCommerce > Settings > Shipping > Shipping Options, you can set the default shipping location to be “Default to customer shipping address”. You could also uncheck the checkbox for “Enable the shipping calculator on the cart page” to prevent the customer from entering shipping information more than once.
That all makes sense. My problem is that I want the customer’s billing address to be the default address in the billing section on the checkout page. After entering a shipping address for the distance calculation on the cart page, that address is being placed in the billing address information on the checkout page. As soon as I reset the billing address on the checkout page, the distance calculation is re-run, in many cases changing the amount.
Also, I have the “Place map on checkout page underneath the order review?” option unchecked in the Distance Rate Delivery settings, and the map is still showing on the checkout page.
I may very well be missing something in the settings.
Your first problem looks more like a WooCommerce problem than a problem with this plugin.
The location of the map might depend on your theme.
Thank you! I’ll do some testing to see if the issue is theme related. Thank you for your help.
But If I put number to calculate this option will gone in cart page.
How to fix it?
PS. in site http://www.thaipinto.co.uk/
What do you mean by “put number in rule”?
Perhaps you need a Google API Key – please see the documentation for more details on how to obtain a Google API Key.
OK I will try it.
Hi! I have added some more rules (for each new shop/product i need a new rule). Now, i have more than 100 rules and the calculation is not working correctly anymore. It seams to me that it takes for all products (each product has an own shop (each shop is at a different place)) the same rule (with the result: adress choosen: vienna post code 1010 -> 210km, no costs, linz post code 4020 -> 173km, no cost;....). So that means that the individual rules of each product are not calculated and the price is not correct. can you please check why it is not working as it should? Thank you for your help.
Could you send wp-admin and ftp login details to email@example.com including your codecanyon username in the email?
hi there. I cannot get this distance calc to work properly
I have setup 2 rules and added them to a zone that has some other basic flat and free rules
only one of the distance rules works when I test with postcodes
I have WP 4.8.1 and WooC 3.1.1 and this plugin 5.65
you can try it here
I can send screen shots of my woocommerce settings by email
Please send the screenshots to firstname.lastname@example.org.
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $6.50
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work