Support » Plugin: WooCommerce Checkout Terms Conditions Popup » List items, shortcodes, and the close button

  • Resolved pulsewebdesigns

    (@pulsewebdesigns)


    Unfortunately list items that show up on my regular Terms and Conditions page aren’t displaying when it is shown by the plugin. I’m thinking it might be a CSS conflict, but cannot figure it out. I’ve used your plugin on another site, so I know bulleted lists can be used. Any help would be appreciated. Example at http://staging.maxhalloween.com/checkout/.

    The close button option is extremely ugly so I don’t use it. However, with it turned off, I still get a text “X” at the top of the window, which when clicked does nothing. Could you maybe implement the close button to, by default, be a small circle with an “X” that stays relatively positioned in the top right hand corner? That would still be universal to all users and would accommodate scrolling for longer pages. You could use a graphic like https://commons.wikimedia.org/wiki/File:No_icon_(white_X_on_red_circle).svg which is public domain and free for commercial use.

    Feature request: Can you allow the use of shortcodes for pages displayed by the plugin? We use Visual Composer and pages that use its shortcodes do not display properly.

    Thank you for your time, attention, and consideration!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WC Marketplace

    (@dualcube)

    @pulsewebdesigns Sorry to see that you ran into this issue, after visiting your site, we have found that due to plugin confliction the list items was not getting displayed.
    However you can fix that using this in your child theme css :

    .simplepopup .modal-body ul li {
    list-style: disc !important;
    }

    Regarding the close button, we have also found that you have removed the “simplepopup.js” file, therefore the close button is not working.
    We would request you to add our default js file and check this again.

    Regarding your features requests, I have forwarded that to the development team, we will defiantly keep this in our To-Do list.

    Let me know if you have any more queries or need any other assistance.

    Regards,
    Moumita

    Hi Moumita,

    Thank you for the CSS code. That worked quite well.

    The simplepopup.js file wasn’t actually removed – the code was just combined with all of my other JS files and minified using the Autoptimize plugin. I have disabled Autoptimize for JS for the time being to illustrate. Looking at the source code, will show that the script is located at http://staging.maxhalloween.com/wp-content/plugins/woocommerce-checkout-terms-conditions-popup/assets/frontend/js/simplepopup.js. Even with the script in its regular usage, clicking the ‘X’ produces no results.

    Could this be a result of plugin conflict as well? Thanks!!

    Best,

    Justin

    pro-tip; you can disable Autoptimize on a per request basis (removing the need to disable it altogether) by adding ?ao_noptimize=1 to the URL or that page you want to debug.

    have a nice day,
    frank (ao dev)

    Plugin Author WC Marketplace

    (@dualcube)

    @pulsewebdesigns Will yo please get in touch with us through our contact form :https://wc-marketplace.com/contact-us/, so that we can help you out.

    Please don’t forget to mention this thread there.

    @futtta Thanks for the pro-tip Frank. That’s good to know and will be useful. Really like your plugin.

    @dualcube I will do that. I’ll reach out to your support directly via your contact form and reference this thread. I will also mark this thread as closed in the meanwhile. Thanks!!

    @dualcube for the shortcodes issue, changing file /classes/class-dc-checkout-terms-conditions-popup-frontend.php, line 227, to add do_shortcode function will do the trick. Leaving that line like this:

    <p><?php echo do_shortcode( get_post_field('post_content',$woocommerce_terms_page_id) ); ?></p>

    Plugin Author WC Marketplace

    (@dualcube)

    @sefo262 Thank you for your suggestion 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘List items, shortcodes, and the close button’ is closed to new replies.