Tagged: opt-in
-
AuthorPosts
-
January 17, 2020 at 3:05 pm #1175462
hi,
Force shipping to the customer billing address is enabled. i want to integrate google survey opt-in on order received thank you page. but when i see browser console that says Error: delivery_country cannot be empty!this error message coming from google. so how can i show shipping address as well along with billing address which is used as same shipping address by enabling Force shipping to the customer billing address. https://prnt.sc/qosaksJanuary 17, 2020 at 3:23 pm #1175480Hi,
Thanks for contacting us!
I tried to reproduce the issue on my local installation however i was not able to. Could you please create temporary admin logins and post them here privately so we can look into it?
Best regards,
YigitJanuary 17, 2020 at 6:10 pm #1175549This reply has been marked as private.January 17, 2020 at 8:48 pm #1175644Hi amanrajveer,
We do not see any credentials anywhere, where did you send them?
Best regards,
VictoriaJanuary 18, 2020 at 3:59 pm #1175851This reply has been marked as private.January 18, 2020 at 4:45 pm #1175863Hi, Sent the login
January 19, 2020 at 3:54 pm #1176012Hello, anyone here to respond please?
January 20, 2020 at 1:58 pm #1176295Hi,
Private content fields are empty in your posts. Could you please try posting WP admin logins in private content field?
Best regards,
YigitJanuary 20, 2020 at 2:05 pm #1176297Hi please find yigit in private below
January 20, 2020 at 2:18 pm #1176303Hey,
Thanks for the info!
I tried to checkout to see thank you page but due to error in private content field, i am not able to.
Regards,
YigitJanuary 20, 2020 at 2:29 pm #1176310Hello yigit, please check it now again. I have allowed all countries.
January 21, 2020 at 1:40 pm #1176713Hi,
Thanks but i am still not able to make an order. Attached the errors in private content field. I would not like to reset your settings :)
Best regards,
YigitJanuary 21, 2020 at 3:38 pm #1176784Hi, yigit, please don’t reset the settings because that product website. Well, this is something related about geography. But that is not my issue. My issue is just I want to see both shipping and billing address together with country on thankyou page. Remember force shipping to default billing address will be enabled.
January 21, 2020 at 3:42 pm #1176788Hey,
I understand. Since we could not reproduce the issue on our local installations, i am not really sure how to solve this. I have not seen such error before. Could you please try contacting WooCommerce team and ask if they have any insight or how to fix it?
Best regards,
YigitJanuary 21, 2020 at 3:48 pm #1176797Ahh.. I am sure you didn’t understand my concern. My concern is not any error. I just want to show both shipping and billing address on Thank you page. Let me drive you to exact issue. Go to your demo woocommcer setting and enable force shipping to billing address in shipping setting. Then come to enfold demo and order anything and see the Thank you page. Are you able to see both billing and shipping address together even in demo? 😊
January 21, 2020 at 4:22 pm #1176811Hi,
Please download pre-built Enfold child theme here – https://kriesi.at/documentation/enfold/child-theme/ and install it on your website. Please make sure to update theme name as you have modified theme name in parent theme. Child theme name should match parent theme name.
Then create /woocommerce/order/ folders inside “enfold-child” folder and inside that folder create a file named “order-details-customer.php” with content – https://pastebin.com/S7Yzap1N and save.
That should display shipping field even when Force shipping to the customer billing address is enabled which is hidden by default :)
Best regards,
YigitJanuary 22, 2020 at 6:37 pm #1177246Hi yigit, i implemented the codes as you suggested but output is not coming. in shipping address section it is saying N/A. While same address should pull as the billing address in shipping section as well. and address formatting is not correct. I wanted full state name and country name as well but it billing address formatting short form of the state and country name is missing. i have attached the output screenshot in private.
January 23, 2020 at 5:23 pm #1177760Hi,
Please try replacing the file with this one – https://pastebin.com/G4hdLnAP. This should basically echo billing adress with “shipping address” title.
If that too does not help, please consider to hire a freelance developer for the task. As i mentioned, this is expected behaviour when you choose “Force shipping to the customer billing address” option.
Best regards,
YigitJanuary 23, 2020 at 5:45 pm #1177776Hi yigit, that is working but country is missing and state name is in abbreviated form. i wanted country to be there and full state name.
January 23, 2020 at 6:12 pm #1177783Hi,
All the info in billing address should be duplicated in shipping address except for the title.
For further customization please hire a freelance developer.
Best regards,
YigitJanuary 23, 2020 at 6:43 pm #1177798hi yigit, Thanks for the code. I will manage it by my own. i got few code by googling and that solved my issue. thanks for your efforts.
please see these structure data errors. links are in private.
January 28, 2020 at 11:56 am #1178969Hi,
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
We’ll close this thread now. Thank you for understanding!
Best regards,
Ismael -
AuthorPosts
- The topic ‘Show Shipping address on thank you page.’ is closed to new replies.