• Resolved fadhlba

    (@fadhlba)


    I have two questions:

    1. Is it possible to add a display condition?
    2. Can I position the map to appear after a specific field instead of just before or after the shipping address section or the other available locations?

    Here’s some context: I’m using WooCommerce Checkout Manager (https://wordpress.org/plugins/woocommerce-checkout-manager/) to apply display conditions to certain checkout fields. I created a new select-type field, and when the user selects “option 1,” several hidden fields—including a map—should become visible. If any other option is selected, these fields and the map should remain hidden. Additionally, I want the map to appear next to this custom field.

    Could you please advise me on how to set this up?
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Uriahs Victor

    (@uriahs-victor)

    Hi there,

    You can directly change where the map shows up on the checkout page by making use of this filter hook that is offered by Kikote: lpac_checkout_map_orientation

    In the function, return the checkout page hook you want to use instead of those offered by default in the plugin settings.



    However, based on what you’ve mentioned, I believe in your case you’d instead have to use a combination of JavaScript and CSS within JavaScript to hide/show the map based on interactions happening on your checkout page.

    Thread Starter fadhlba

    (@fadhlba)

    I appreciate your response.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.