• Resolved josesg95

    (@josesg95)


    Hello! How can I make the privacy notice on the payment page appear in a drop-down menu like the terms and conditions? this so that the customer does not leave the page when clicking on the link. So I wrote it, but only the terms and conditions are shown, the privacy page opens in a new window:
    I have read and accept the [privacy policy] and the [terms].

    https://snipboard.io/eVrqHk.jpg

Viewing 5 replies - 1 through 5 (of 5 total)
  • @josesg95

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.
    
    I can also recommend <a href="https://developer.woocommerce.com/" rel="noopener" target="_blank">the WooCommerce Developer Resources Portal</a> for resources on developing for WooCommerce.
    
    You can also visit the <a href="https://www.facebook.com/groups/advanced.woocommerce/" rel="noopener" target="_blank">WooCommerce Facebook group</a> or the <code>#developers</code> channel of the <a href="https://woocommerce.com/community-slack/" rel="noopener" target="_blank">WooCommerce Community Slack</a>. We're lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.
    Thread Starter josesg95

    (@josesg95)

    Hi @oaoyadeyi! Isn’t there a short code for it? the one I use for the terms and conditions is [terms] and it shows a drop-down window

    Mirko P.

    (@rainfallnixfig)

    Hi @josesg95,

    The shortcode for Privacy Policy is [privacy_policy] as found under WooCommerce > Settings > Accounts & Privacy > Privacy policy.

    WooCommerce uses an accordion effect to display the terms and conditions on the checkout page. Wrapping the Privacy Policy page within an accordion to get the same effect as the terms and conditions would require a custom-coded solution since this feature is not available out of the box in WooCommerce.

    If you would like to investigate that possibility further, you could reach out to some of the official WooCommerce development partners via the link below.

    https://woocommerce.com/customizations/

    Thanks.

    Thread Starter josesg95

    (@josesg95)

    Hi @rainfallnixfig! That’s what I meant hehe, no problem, I thought this function was made by some shortcode, have a great day!

    Mirko P.

    (@rainfallnixfig)

    I thought about that! But using just the shortcode wouldn’t help much without further customization with custom code.

    Feel free to start a new thread if you have any more questions.

    Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Privacy notice drop-down option’ is closed to new replies.