Home Forums WoodMart support forum Conditional Message On Checkout Page

Conditional Message On Checkout Page

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #637761

    Little Panda
    Participant

    Hello,

    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

    #638093

    Hung Pham
    Keymaster

    Hi 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.
    #638592

    Little Panda
    Participant

    Okay 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?

    #638734

    Hung Pham
    Keymaster

    Hi Little Panda,

    Thanks for details.

    Admin credential is incorrect, please check again.

    Regards,

    #638735

    Little Panda
    Participant

    Okay try again please

    thank you

    LP

    #638972

    Hung Pham
    Keymaster

    Hi 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,

    #639026

    Little Panda
    Participant

    Hello,

    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.

    #639239

    Hung Pham
    Keymaster

    Hi Little Panda,

    I am using dynamic IPs so it’s hard to give you an exact one. I am come from Viet Nam.

    Regards,

    #639241

    Little Panda
    Participant

    Okay We will give you access to our staging site instead so you can take a look.

    See the private area for access details

    #639255

    Hung Pham
    Keymaster

    Hi 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,

    #639600

    Little Panda
    Participant

    Hello,

    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?

    #639813

    Hung Pham
    Keymaster

    Hi 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,

    #639823

    Little Panda
    Participant

    Hello,

    You don’t need to use an Ireland VPN to see anything. You just need to select Ireland as a shipping country at checkout?

    #640098

    Hung Pham
    Keymaster

    Hi 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,

    #640105

    Little Panda
    Participant

    Hello,

    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
    LP

    Attachments:
    You must be logged in to view attached files.
    #640310

    Hung Pham
    Keymaster

    Hi 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 select after_checkout hook, it worked now. https://ibb.co/NnZRLhpX https://ibb.co/N6FtKkvW

    Please refer to this article for more details https://xtemos.com/docs-topic/custom-hooks-and-plugins-compatibility/

    Regards,

    #640524

    Little Panda
    Participant

    Hello,

    Thank you. That’s perfect and works!

    Regards

    LP

    #640553

    Hung Pham
    Keymaster

    Hi 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,

Viewing 18 posts - 1 through 18 (of 18 total)