Plugin Directory

Changeset 2125723


Ignore:
Timestamp:
07/19/2019 10:49:02 AM (7 years ago)
Author:
xjohnyk
Message:

Ws_Woo_Class.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ws-coupon-woocommerce/trunk/woocommerce/Ws_Woo_Class.php

    r2124829 r2125723  
    44
    55    public static function showPopUp() {
    6         if( get_option( 'ws_show_popup' ) == 1 ) {
     6        if( get_option( 'ws_show_popup' ) == 1 &&  is_product() ) {
    77            $coupon = new WC_Coupon( get_option( 'ws_popup_coupon' ) );
    88            ob_start(); ?>
Note: See TracChangeset for help on using the changeset viewer.