• Resolved Andrea Veglia

    (@andrea0veglia)


    Hi,
    Thanks for the plugin, it’s very helpful. I have only one problem with the shortcode.
    I entered the shortcode: [wcb_widget type=”2″] in Home page, but the plugin show the form of the shortcode only when the popup is visible. How I can resolve this problem? I would like to show always the form of the shortcode. Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • kimvt1991

    (@kimvt1991)

    Hi,
    As default i force it to show shortcode if the visitor didn’t subsribe. Why do you need the shortcode when a customer already subscribe on your site?

    Thread Starter Andrea Veglia

    (@andrea0veglia)

    Thank you for your answer. Maybe I explained myself wrong. The problem is that the shortcode is non visible for all user (registered or not). It is visible only if the popup is active. I would like to put a form, always visible, in a widget in Homepage, where costumers can subscribe to newsletter. Is a problem with shortcode, not popup. I like that popup vanishes if costumers closes it, or if costumers are subscribed.
    I hope I have been clearer. thank you so much again for the answer!

    kimvt1991

    (@kimvt1991)

    So you want the shortcode form visible even when costumers are subscribed?

    Thread Starter Andrea Veglia

    (@andrea0veglia)

    I want shortcode visible for anyone and always. I’ll make an example.
    The first time I visit the sites, plugin shows the popup with the newsletter form and the widget on left with the same form. Image1
    if I close the popups and refresh the page, the popup disappears, but also the form in widget. Image 2.
    How I can block the form in widget?

    kimvt1991

    (@kimvt1991)

    Yes i understand. Please go to your plugins folder/woo-coupon-box/frontend and find the file shortcode.php, open it and delete line 44,45,46 which is like

    if ( isset( $_COOKIE['woo_coupon_box'] ) ) {
    			return '';
    		}
    Thread Starter Andrea Veglia

    (@andrea0veglia)

    Thanks for your help! I will try the solution

    Thread Starter Andrea Veglia

    (@andrea0veglia)

    Thank you very much! It works great.

    kimvt1991

    (@kimvt1991)

    But this will be lost when you update the plugin. I will add an option to always show shortcode, something like [wcb_widget type=”2″ always_visible=”true”]

    Thread Starter Andrea Veglia

    (@andrea0veglia)

    Yes, it can be a good solution!

    kimvt1991

    (@kimvt1991)

    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Form in page disappears when the popup is not visible.’ is closed to new replies.