Bassam Radi
Forum Replies Created
-
ok i’ll do it and let u know
Default Public Cache TTL = 30000 = 8 hours 20 minutes
…
Report number: OZFYKKSQReport date: 11/18/2021 05:49:07
The problem happened again today. Any idea?
Ok, I’ll and I’ll update you.
Hi @qtwrk,
Thank you for the replay.
I use Vultr for hosting. I installed WordPress using LiteSpeed One-Click. so, yes OpenLiteSpeed/CyberPanel.
So any idea how to fix the problem?
Do I need to provide you with anything?
@uriahs-victor ok its updated now I reset all woocommerce field to its default value. its working fine now thank you.
@uriahs-victor yes I did alot of changed in woocommerce default checkout form before I discover your plugin. I can fix that and test again. I’ll let u know.
- This reply was modified 3 years, 5 months ago by Bassam Radi.
The error is becoz I have wordfence block some country
let me disable that
check in 3 min
Thanks, Uriahs for your reply.
can you send me the premium link to check it
1- ok that’s why it was a little of. but in the mobile is fine its 100% accurate
2- I mean once I click locate me the address auto-fill in woocommerce address field. However, since the location is already filled once I change the marker the address is not updated. https://ibb.co/wC2hcBR
3- Yeah I know what this option does but it is not working on my website.https://ibb.co/SQPWNJZ
my website is stirbite.com
- This reply was modified 3 years, 5 months ago by Bassam Radi.
- This reply was modified 3 years, 5 months ago by Bassam Radi.
I needed the country as well so I mixed it from my code and yours to echo $country_name
`$country = $order->get_shipping_country();
$countries_obj = new WC_Countries();
$countries_array = $countries_obj->get_countries();
$country_name = $countries_array[‘SA’];
$state = $order->get_shipping_state();
$wc_state_name = WC()->countries->get_states( $country )[$state];
$state_name = !empty($wc_state_name) ? $wc_state_name : $state;`sure 5 star ??
- This reply was modified 3 years, 6 months ago by Bassam Radi.
- This reply was modified 3 years, 6 months ago by Bassam Radi.
@yordansoares it worked thank you. Whats wrong with my code?
- This reply was modified 3 years, 6 months ago by Bassam Radi.
- This reply was modified 3 years, 6 months ago by Bassam Radi.
After a lot of research, I was able to do it in the customized template.
in the custom template I added the code below after the line 2 in the template:
<?php $countries_obj = new WC_Countries(); $countries_array = $countries_obj->get_countries(); $country_states_array = $countries_obj->get_states(); // Get the country name: $country_name = $countries_array['SA']; // Get the state name: $state_name = WC()->countries->states[$order->shipping_country][$order->shipping_state]; ?>
in the shipping address area I added the code below
<tr> <td><?php // Display state names: echo $state_name; ?></td> </tr>
It’s working fine now. I hope someone finds this useful.
- This reply was modified 3 years, 6 months ago by Bassam Radi.
thanks for your replay
ok i will
Yeah, I get it now @alexmigf . Thanks a lot for your time.
Is there a demo for the premium features?
- This reply was modified 3 years, 6 months ago by Bassam Radi.