Home › Forums › WoodMart support forum › Conditional Message On Checkout Page
Conditional Message On Checkout Page
- This topic has 17 replies, 2 voices, and was last updated 1 month ago by
Hung Pham.
-
AuthorPosts
-
February 13, 2025 at 11:28 am #637761
Little PandaParticipantHello,
We use Woodmart Layouts to customise our checkout.
On the original/default woodmart checkout page we could add CSS so that when shipping country was selected as Ireland at checkout a message could be displayed (we can’t post the CSS here as your wordfence plugin stops the publishing of it) however since using the Woomdart checkout layout the code no longer works. Can you advise the issue please?
Regards
LP
February 14, 2025 at 1:10 pm #638093
Hung PhamKeymasterHi Little Panda,
Thanks for reaching to us.
To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) and screenshots that illustrate the problem to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.
Regards,
-
This reply was modified 1 month, 1 week ago by
Hung Pham.
February 17, 2025 at 11:23 am #638592
Little PandaParticipantOkay sure.
The code we normally use to add the shipping country conditional message (for only Ireland) on the checkout page is added using the plugin WPCode snippets. You can see the code in the Code Snippets.
As we use woodmart custom checkout this code no longer works. Can you advise?
February 17, 2025 at 4:12 pm #638734
Hung PhamKeymasterHi Little Panda,
Thanks for details.
Admin credential is incorrect, please check again.
Regards,
February 17, 2025 at 4:15 pm #638735
Little PandaParticipantOkay try again please
thank you
LP
February 18, 2025 at 12:42 pm #638972
Hung PhamKeymasterHi Little Panda,
I cannot access to your site https://ibb.co/67SCtC5N, Please provide URL of the mentioned page, so I can take a closer look.
Regards,
February 18, 2025 at 2:14 pm #639026
Little PandaParticipantHello,
It looks like you are getting blocked by our CDN firewall for some reason. If you can privately send your IP we can look into it. The URLs and credentials are correct.
February 19, 2025 at 7:31 am #639239
Hung PhamKeymasterHi Little Panda,
I am using dynamic IPs so it’s hard to give you an exact one. I am come from Viet Nam.
Regards,
February 19, 2025 at 7:40 am #639241
Little PandaParticipantOkay We will give you access to our staging site instead so you can take a look.
See the private area for access details
February 19, 2025 at 8:13 am #639255
Hung PhamKeymasterHi Little Panda,
To assist you in the best possible manner, I kindly ask that you please provide me screenshots that illustrate the problem to the Private Content area, I tried to use fews Ireland vpn but it’s too slow, this will allow me to thoroughly investigate and address your concerns more efficiently.
Appreciate your patience.
Regards,
February 20, 2025 at 12:02 pm #639600
Little PandaParticipantHello,
We were using a Code Snippet to add some code to the standard Woocommerce checkout so that when the shipping address was set to the country of Ireland a custom message would appear near the payment button to say ‘does not include UK plug’.
As we use Woodmarts layout for the checkout page the code snippet no longer works.
The code we were using is on our website in the code snippets plugin.
Does this help explain the issue?
February 21, 2025 at 10:01 am #639813
Hung PhamKeymasterHi Little Panda,
Yes, I understood but I tried to use fews Ireland vpn to check your site but it’s too slow.
Please see recorded video for better understanding.
I am appreciate your patience.
Regards,
February 21, 2025 at 10:27 am #639823
Little PandaParticipantHello,
You don’t need to use an Ireland VPN to see anything. You just need to select Ireland as a shipping country at checkout?
February 22, 2025 at 10:49 am #640098
Hung PhamKeymasterHi Little Panda,
1. I didn’t see Custom CSS code as you mentioned, only PHP snippets. I checked one of these and it seems you are referring to this snippet but the country code is GB not IE (Ireland) https://ibb.co/1YtTkDwR
2. Also, try to save it as Shortcode https://ibb.co/n5p6N0S and navigate to Layouts > edit the checkout layout and use HTML widget to place the shortcode, because you are using a Custom Product layout.
3. Additional to better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.
Regards,
February 22, 2025 at 11:44 am #640105
Little PandaParticipantHello,
The active snippets have the correct country IE. See screenshots attached
The shortcode when placed into the Woodmart checkout page affects the layout when using the shortcode widget or doesn’t do anything when using the HTML widget.
The shortcode works okay when the theme is not Woodmart.Regards
LPAttachments:
You must be logged in to view attached files.February 24, 2025 at 9:22 am #640310
Hung PhamKeymasterHi Little Panda,
First of all, I’m really sorry have taken long time to reply you due to the weekend.
Few customers faced same issue and here solutions we provided which are worked for them.
WoodMart has a special widget called
Hook
in Elementor that you can place to your custom layout and then the plugin will be able to add its custom content there. I tried to help you and selectafter_checkout
hook, it worked now. https://ibb.co/NnZRLhpX https://ibb.co/N6FtKkvWPlease refer to this article for more details https://xtemos.com/docs-topic/custom-hooks-and-plugins-compatibility/
Regards,
February 24, 2025 at 3:47 pm #640524
Little PandaParticipantHello,
Thank you. That’s perfect and works!
Regards
LP
February 24, 2025 at 4:32 pm #640553
Hung PhamKeymasterHi Little Panda,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492
Your feedback is the motivation to improve our work and services.
Regards,
-
This reply was modified 1 month, 1 week ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register