Plugin Directory

Changeset 3401630


Ignore:
Timestamp:
11/24/2025 08:03:12 AM (4 months ago)
Author:
ordersyncplugin
Message:

Update to version 1.17.4 from GitHub

Location:
order-sync-with-google-sheets-for-woocommerce
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • order-sync-with-google-sheets-for-woocommerce/tags/1.17.4/includes/classes/class-hooks.php

    r3378559 r3401630  
    348348                $default_image = OSGSW_URL . '/includes/ordersync-sdk/background-image.png';
    349349                $osgs_plugin = wppool_plugin_init( 'order_sync_with_google_sheets_for_woocommerce', $default_image );
    350                 $image = OSGSW_URL . '/includes/ordersync-sdk/OSGS.png';
    351                 $from = '2024-11-21';
    352                 $to = '2024-12-4';
    353                 $cta_text = esc_html__( 'Grab Your Treat!', 'sheetstowptable' );
     350                $image = OSGSW_URL . '/includes/ordersync-sdk/osgs.png';
     351                $to = '2025-12-04 16:00:00';
     352                $from = '2025-11-17 16:00:00';
     353                $cta_text = esc_html__( 'Grab Your Deals!', 'sheetstowptable' );
     354                $black_friday_link = 'https://lnk.wppool.dev/Ypp9huC';
    354355                if ( $osgs_plugin && is_object( $osgs_plugin ) && method_exists( $osgs_plugin, 'set_campaign' ) ) {
    355                     $osgs_plugin->set_campaign($image, $to, $from, $cta_text );
     356                    $osgs_plugin->set_campaign($image, $to, $from, $cta_text, $black_friday_link );
    356357                }
    357358            }
  • order-sync-with-google-sheets-for-woocommerce/tags/1.17.4/includes/ordersync-sdk/class-plugin.php

    r3319384 r3401630  
    800800         */
    801801        public function get_inline_styles() {
    802             $css =
    803                 ':root {
    804                 --wppool-popup-color: #FF631A;
    805             }
    806        
    807             ._wppool-popup * {
    808                 all: initial;
    809                 font-family: -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, Oxygen, Ubuntu, Cantarell, \'Open Sans\', \'Helvetica Neue\', sans-serif;
    810             }
    811        
    812             ._wppool-popup {
    813                 position: fixed;
    814                 width: 100%;
    815                 height: 100%;
    816                 padding: 0;
    817                 margin: 0;
    818                 border: 0;
    819                 top: 0;
    820                 left: 0;
    821                 display: flex;
    822                 align-items: center;
    823                 justify-content: center;
    824                 z-index: 99999999 !important;
    825             }
    826        
    827             ._wppool-popup-overlay {
    828                 position: absolute;
    829                 top: 0;
    830                 left: 0;
    831                 width: 100%;
    832                 height: 100%;
    833                 background: rgba(0, 0, 0, 0.2);
    834             }
    835        
    836             ._wppool-popup-modal {
    837                 width: 600px;
    838                 max-width: 600px !important;
    839                 height: 600px;
    840                 max-height: 600px !important;
    841                 color: white;
    842                 background: #222 url(' . esc_url( $this->get_image_url() ) . ') no-repeat center center;
    843                 background-position: center;
    844                 background-size: cover;
    845                 background-repeat: no-repeat;
    846                 padding: 0;
    847                 margin: 0;
    848                 transform: scale(0.9);
    849                 display: flex;
    850                 align-items: flex-end;
    851                 justify-content: center;
    852                 border-radius: 3px;
    853                 box-shadow: 0 0 10px 0 rgb(0 0 0 / 50%);
    854             }
    855 
    856             ._wppool-popup-modal-close {
    857                 position: absolute;
    858                 top: 5px;
    859                 right: 10px;
    860                 font-size: 50px;
    861                 cursor: pointer;
    862                 color: var(--wppool-popup-color);
    863                 transition: .3s;
    864                 display: flex;
    865                 justify-content: center;
    866                 align-items: center;
    867                 width: 40px;
    868                 height: 40px;
    869                 padding: 0;
    870                 margin: 0;
    871                 opacity: .5;
    872             }
    873 
    874             ._wppool-popup-modal-close:hover {
    875                 opacity: 1;
    876             }
    877 
    878             ._wppool-popup-modal-footer {
    879                 width: 100%;
    880                 height: 225px;
    881                 max-height: 225px !important;
    882                 display: flex;
    883                 flex-direction: column;
    884                 align-items: center;
    885                 justify-content: flex-end;
    886                 padding: 15px 0;
    887             }
    888 
    889             ._wppool-popup-countdown {
    890                 display: flex;
    891                 flex-direction: column;
    892                 align-items: center;
    893                 justify-content: space-evenly;
    894                 gap: 10px;
    895             }
    896 
    897             ._wppool-popup-countdown-text {
    898                 font-size: 14px;
    899                 font-weight: 600;
    900                 color: white;
    901                 position: relative;
    902                 line-height: 1.4;
    903             }
    904 
    905             ._wppool-popup-countdown-time {
    906                 display: flex;
    907                 align-items: center;
    908                 justify-content: space-evenly;
    909                 gap: 15px;
    910             }
    911 
    912             ._wppool-popup-countdown-time>div {
    913                 display: flex;
    914                 flex-direction: column;
    915                 align-items: center;
    916                 justify-content: space-evenly;
    917                 gap: 8px;
    918             }
    919 
    920             ._wppool-popup-countdown-time>div>span {
    921                 font-size: 20px;
    922                 font-weight: 600;
    923                 color: white;
    924             }
    925 
    926             ._wppool-popup-countdown-time>div>span:nth-child(1) {
    927                 border: 2px solid rgba(255, 255, 255, 0.6);
    928                 height: 60px;
    929                 width: 56px;
    930                 font-size: 26px;
    931                 display: flex;
    932                 align-items: center;
    933                 justify-content: center;
    934                 border-radius: 5px;
    935             }
    936 
    937             ._wppool-popup-countdown-time>div>span:nth-child(2) {
    938                 font-size: 12px;
    939                 font-weight: 500;
    940                 color: rgb(255, 255, 255 / .8);
    941             }
    942 
    943             ._wppool-popup-countdown-time>span {
    944                 font-size: 50px;
    945                 color: white;
    946                 margin-top: -25px;
    947             }
    948 
    949             ._wppool-popup-button {
    950                 height: 60px;
    951                 background: var(--wppool-popup-color);
    952                 color: #222;
    953                 font-size: 18px;
    954                 font-weight: 600;
    955                 letter-spacing: 0.5px;
    956                 display: inline-flex;
    957                 align-items: center;
    958                 justify-content: center;
    959                 border: 0;
    960                 border-radius: 5px;
    961                 cursor: pointer !important;
    962                 transition: .3s;
    963                 color: white;
    964                 padding: 0 30px;
    965                 margin: 35px 0 20px 0;
    966                 transition: .2s;
    967                 position: relative;
    968             }
    969 
    970             ._wppool-popup-button:after {
    971                 content: "";
    972                 position: absolute;
    973                 top: 0;
    974                 left: 0;
    975                 width: 0%;
    976                 height: 100%;
    977                 background: rgba(255, 255, 255, 0.2);
    978                 transition: .3s;
    979             }
    980 
    981             ._wppool-popup-button:hover {
    982                 color: white;
    983             }
    984 
    985             ._wppool-popup-button:hover:after {
    986                 width: 100%;
    987             }
    988 
    989             @media (max-width: 576px) {
    990                 ._wppool-popup-countdown {
    991                     transform: scale(.99);
    992                 }
    993             }
    994             ._wppool-popup-demo-link {
    995                 color: #ddd;
    996                 transition: .2s ease-in-out;
    997                 cursor: pointer;
    998                 text-decoration: none;
    999                 padding-bottom: 10px;
    1000             }
    1001             ._wppool-popup-demo-link:hover {
    1002                 color: #ddd;
    1003                 opacity: .9;
    1004             }
    1005             ';
    1006 
    1007             return apply_filters( 'wppool_inline_styles', $css );
    1008         }
     802            $css =
     803                ':root {
     804                --wppool-popup-color: #FF631A;
     805            }
     806       
     807            ._wppool-popup * {
     808                all: initial;
     809                font-family: -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, Oxygen, Ubuntu, Cantarell, \'Open Sans\', \'Helvetica Neue\', sans-serif;
     810            }
     811       
     812            ._wppool-popup {
     813                position: fixed;
     814                width: 100%;
     815                height: 100%;
     816                padding: 0;
     817                margin: 0;
     818                border: 0;
     819                top: 0;
     820                left: 0;
     821                display: flex;
     822                align-items: center;
     823                justify-content: center;
     824                z-index: 99999999 !important;
     825            }
     826       
     827            ._wppool-popup-overlay {
     828                position: absolute;
     829                top: 0;
     830                left: 0;
     831                width: 100%;
     832                height: 100%;
     833                background: rgba(0, 0, 0, 0.2);
     834            }
     835       
     836            ._wppool-popup-modal {
     837                width: 600px;
     838                max-width: 600px !important;
     839                height: 600px;
     840                max-height: 600px !important;
     841                color: white;
     842                background: #222 url(' . esc_url( $this->get_image_url() ) . ') no-repeat center center;
     843                background-position: center;
     844                background-size: cover;
     845                background-repeat: no-repeat;
     846                padding: 0;
     847                margin: 0;
     848                transform: scale(0.9);
     849                display: flex;
     850                align-items: flex-end;
     851                justify-content: center;
     852                border-radius: 3px;
     853                box-shadow: 0 0 10px 0 rgb(0 0 0 / 50%);
     854            }
     855
     856            ._wppool-popup-modal-close {
     857                position: absolute;
     858                top: 5px;
     859                right: 10px;
     860                font-size: 50px;
     861                cursor: pointer;
     862                color: var(--wppool-popup-color);
     863                transition: .3s;
     864                display: flex;
     865                justify-content: center;
     866                align-items: center;
     867                width: 40px;
     868                height: 40px;
     869                padding: 0;
     870                margin: 0;
     871                opacity: .5;
     872            }
     873
     874            ._wppool-popup-modal-close:hover {
     875                opacity: 1;
     876            }
     877
     878            ._wppool-popup-modal-footer {
     879                width: 100%;
     880                min-height: 225px;
     881                display: flex;
     882                flex-direction: column;
     883                align-items: center;
     884                justify-content: flex-end;
     885                padding: 15px 0;
     886                gap: 15px;
     887            }
     888
     889            ._wppool-popup-countdown {
     890                display: flex;
     891                flex-direction: column;
     892                align-items: center;
     893                justify-content: space-evenly;
     894                gap: 10px;
     895                margin-bottom: 10px;
     896            }
     897
     898            ._wppool-popup-countdown-text {
     899                font-size: 14px;
     900                font-weight: 600;
     901                color: white;
     902                position: relative;
     903                line-height: 1.4;
     904            }
     905
     906            ._wppool-popup-countdown-time {
     907                display: flex;
     908                align-items: center;
     909                justify-content: space-evenly;
     910                gap: 15px;
     911            }
     912
     913            ._wppool-popup-countdown-time>div {
     914                display: flex;
     915                flex-direction: column;
     916                align-items: center;
     917                justify-content: space-evenly;
     918                gap: 8px;
     919            }
     920
     921            ._wppool-popup-countdown-time>div>span {
     922                font-size: 20px;
     923                font-weight: 600;
     924                color: white;
     925            }
     926
     927            ._wppool-popup-countdown-time>div>span:nth-child(1) {
     928                border: 2px solid rgba(255, 255, 255, 0.6);
     929                height: 60px;
     930                width: 56px;
     931                font-size: 26px;
     932                display: flex;
     933                align-items: center;
     934                justify-content: center;
     935                border-radius: 5px;
     936            }
     937
     938            ._wppool-popup-countdown-time>div>span:nth-child(2) {
     939                font-size: 12px;
     940                font-weight: 500;
     941                color: rgb(255, 255, 255 / .8);
     942            }
     943
     944            ._wppool-popup-countdown-time>span {
     945                font-size: 50px;
     946                color: white;
     947                margin-top: -25px;
     948            }
     949
     950            ._wppool-popup-button {
     951                height: 60px;
     952                background: var(--wppool-popup-color);
     953                color: #222;
     954                font-size: 18px;
     955                font-weight: 600;
     956                letter-spacing: 0.5px;
     957                display: inline-flex;
     958                align-items: center;
     959                justify-content: center;
     960                border: 0;
     961                border-radius: 5px;
     962                cursor: pointer !important;
     963                transition: .3s;
     964                color: white;
     965                padding: 0 30px;
     966                margin: 0;
     967                transition: .2s;
     968                position: relative;
     969            }
     970
     971            ._wppool-popup-button:after {
     972                content: "";
     973                position: absolute;
     974                top: 0;
     975                left: 0;
     976                width: 0%;
     977                height: 100%;
     978                background: rgba(255, 255, 255, 0.2);
     979                transition: .3s;
     980            }
     981
     982            ._wppool-popup-button:hover {
     983                color: white;
     984            }
     985
     986            ._wppool-popup-button:hover:after {
     987                width: 100%;
     988            }
     989
     990            @media (max-width: 576px) {
     991                ._wppool-popup-countdown {
     992                    transform: scale(.99);
     993                }
     994            }
     995            ._wppool-popup-demo-link {
     996                color: #ddd;
     997                transition: .2s ease-in-out;
     998                cursor: pointer;
     999                text-decoration: none;
     1000                padding-bottom: 10px;
     1001            }
     1002            ._wppool-popup-demo-link:hover {
     1003                color: #ddd;
     1004                opacity: .9;
     1005            }
     1006            ';
     1007
     1008            return apply_filters( 'wppool_inline_styles', $css );
     1009        }
    10091010
    10101011        /**
     
    12991300         * @return mixed
    13001301         */
    1301         public function set_campaign( $image_url = null, $to = null, $from = null, $button_text = 'Get Premium' ) {
     1302        public function set_campaign( $image_url = null, $to = null, $from = null, $button_text = 'Get Premium', $button_link = 'https://go.wppool.dev/8aCD' ) {
    13021303            // Bailout if image url is not valid.
    13031304            if ( ! $image_url ) {
     
    13161317
    13171318            // Modify the plugin data to include the campaign image, date range, and button text.
    1318             add_filter( 'wppool_plugins', function ( $plugins ) use ( $image_url, $to, $from, $button_text ) {
     1319            add_filter( 'wppool_plugins', function ( $plugins ) use ( $image_url, $to, $from, $button_text, $button_link ) {
    13191320                $plugins[ $this->plugin_id ]['background_image'] = $image_url;
    13201321                $plugins[ $this->plugin_id ]['from'] = $from;
    13211322                $plugins[ $this->plugin_id ]['to'] = $to;
    13221323                $plugins[ $this->plugin_id ]['button_text'] = $button_text;
     1324                $plugins[ $this->plugin_id ]['button_link'] = $button_link;
    13231325
    13241326                return $plugins;
  • order-sync-with-google-sheets-for-woocommerce/tags/1.17.4/order-sync-with-google-sheets-for-woocommerce.php

    r3392607 r3401630  
    44 * Plugin URI: https://wcordersync.com/
    55 * Description: Sync WooCommerce orders with Google Sheets. Perform WooCommerce order sync, e-commerce order management and sales order management from Google Sheets.
    6  * Version: 1.17.3
     6 * Version: 1.17.4
    77 * Author: WC Order Sync
    88 * Author URI: https://wcordersync.com/
     
    2121 */
    2222define( 'OSGSW_FILE', __FILE__ );
    23 define( 'OSGSW_VERSION', '1.17.3' );
     23define( 'OSGSW_VERSION', '1.17.4' );
    2424/**
    2525 * Loading base file
  • order-sync-with-google-sheets-for-woocommerce/tags/1.17.4/readme.txt

    r3392607 r3401630  
    55Tested up to: 6.8
    66Requires PHP: 5.6
    7 Stable tag: 1.17.3
     7Stable tag: 1.17.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    278278
    279279== Upgrade Notice ==
     280
    280281= 1.16.0 =
    281282This version introduces editing feature for shipping & billing addresses from the connected sheet
    282283
    283284== Changelog ==
     285
     286= 1.17.4 - 24 November 2025 =
     287* **Improvement:** Regular update & maintenance release.
    284288
    285289= 1.17.3 - 10 November 2025 =
  • order-sync-with-google-sheets-for-woocommerce/trunk/includes/classes/class-hooks.php

    r3378559 r3401630  
    348348                $default_image = OSGSW_URL . '/includes/ordersync-sdk/background-image.png';
    349349                $osgs_plugin = wppool_plugin_init( 'order_sync_with_google_sheets_for_woocommerce', $default_image );
    350                 $image = OSGSW_URL . '/includes/ordersync-sdk/OSGS.png';
    351                 $from = '2024-11-21';
    352                 $to = '2024-12-4';
    353                 $cta_text = esc_html__( 'Grab Your Treat!', 'sheetstowptable' );
     350                $image = OSGSW_URL . '/includes/ordersync-sdk/osgs.png';
     351                $to = '2025-12-04 16:00:00';
     352                $from = '2025-11-17 16:00:00';
     353                $cta_text = esc_html__( 'Grab Your Deals!', 'sheetstowptable' );
     354                $black_friday_link = 'https://lnk.wppool.dev/Ypp9huC';
    354355                if ( $osgs_plugin && is_object( $osgs_plugin ) && method_exists( $osgs_plugin, 'set_campaign' ) ) {
    355                     $osgs_plugin->set_campaign($image, $to, $from, $cta_text );
     356                    $osgs_plugin->set_campaign($image, $to, $from, $cta_text, $black_friday_link );
    356357                }
    357358            }
  • order-sync-with-google-sheets-for-woocommerce/trunk/includes/ordersync-sdk/class-plugin.php

    r3319384 r3401630  
    800800         */
    801801        public function get_inline_styles() {
    802             $css =
    803                 ':root {
    804                 --wppool-popup-color: #FF631A;
    805             }
    806        
    807             ._wppool-popup * {
    808                 all: initial;
    809                 font-family: -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, Oxygen, Ubuntu, Cantarell, \'Open Sans\', \'Helvetica Neue\', sans-serif;
    810             }
    811        
    812             ._wppool-popup {
    813                 position: fixed;
    814                 width: 100%;
    815                 height: 100%;
    816                 padding: 0;
    817                 margin: 0;
    818                 border: 0;
    819                 top: 0;
    820                 left: 0;
    821                 display: flex;
    822                 align-items: center;
    823                 justify-content: center;
    824                 z-index: 99999999 !important;
    825             }
    826        
    827             ._wppool-popup-overlay {
    828                 position: absolute;
    829                 top: 0;
    830                 left: 0;
    831                 width: 100%;
    832                 height: 100%;
    833                 background: rgba(0, 0, 0, 0.2);
    834             }
    835        
    836             ._wppool-popup-modal {
    837                 width: 600px;
    838                 max-width: 600px !important;
    839                 height: 600px;
    840                 max-height: 600px !important;
    841                 color: white;
    842                 background: #222 url(' . esc_url( $this->get_image_url() ) . ') no-repeat center center;
    843                 background-position: center;
    844                 background-size: cover;
    845                 background-repeat: no-repeat;
    846                 padding: 0;
    847                 margin: 0;
    848                 transform: scale(0.9);
    849                 display: flex;
    850                 align-items: flex-end;
    851                 justify-content: center;
    852                 border-radius: 3px;
    853                 box-shadow: 0 0 10px 0 rgb(0 0 0 / 50%);
    854             }
    855 
    856             ._wppool-popup-modal-close {
    857                 position: absolute;
    858                 top: 5px;
    859                 right: 10px;
    860                 font-size: 50px;
    861                 cursor: pointer;
    862                 color: var(--wppool-popup-color);
    863                 transition: .3s;
    864                 display: flex;
    865                 justify-content: center;
    866                 align-items: center;
    867                 width: 40px;
    868                 height: 40px;
    869                 padding: 0;
    870                 margin: 0;
    871                 opacity: .5;
    872             }
    873 
    874             ._wppool-popup-modal-close:hover {
    875                 opacity: 1;
    876             }
    877 
    878             ._wppool-popup-modal-footer {
    879                 width: 100%;
    880                 height: 225px;
    881                 max-height: 225px !important;
    882                 display: flex;
    883                 flex-direction: column;
    884                 align-items: center;
    885                 justify-content: flex-end;
    886                 padding: 15px 0;
    887             }
    888 
    889             ._wppool-popup-countdown {
    890                 display: flex;
    891                 flex-direction: column;
    892                 align-items: center;
    893                 justify-content: space-evenly;
    894                 gap: 10px;
    895             }
    896 
    897             ._wppool-popup-countdown-text {
    898                 font-size: 14px;
    899                 font-weight: 600;
    900                 color: white;
    901                 position: relative;
    902                 line-height: 1.4;
    903             }
    904 
    905             ._wppool-popup-countdown-time {
    906                 display: flex;
    907                 align-items: center;
    908                 justify-content: space-evenly;
    909                 gap: 15px;
    910             }
    911 
    912             ._wppool-popup-countdown-time>div {
    913                 display: flex;
    914                 flex-direction: column;
    915                 align-items: center;
    916                 justify-content: space-evenly;
    917                 gap: 8px;
    918             }
    919 
    920             ._wppool-popup-countdown-time>div>span {
    921                 font-size: 20px;
    922                 font-weight: 600;
    923                 color: white;
    924             }
    925 
    926             ._wppool-popup-countdown-time>div>span:nth-child(1) {
    927                 border: 2px solid rgba(255, 255, 255, 0.6);
    928                 height: 60px;
    929                 width: 56px;
    930                 font-size: 26px;
    931                 display: flex;
    932                 align-items: center;
    933                 justify-content: center;
    934                 border-radius: 5px;
    935             }
    936 
    937             ._wppool-popup-countdown-time>div>span:nth-child(2) {
    938                 font-size: 12px;
    939                 font-weight: 500;
    940                 color: rgb(255, 255, 255 / .8);
    941             }
    942 
    943             ._wppool-popup-countdown-time>span {
    944                 font-size: 50px;
    945                 color: white;
    946                 margin-top: -25px;
    947             }
    948 
    949             ._wppool-popup-button {
    950                 height: 60px;
    951                 background: var(--wppool-popup-color);
    952                 color: #222;
    953                 font-size: 18px;
    954                 font-weight: 600;
    955                 letter-spacing: 0.5px;
    956                 display: inline-flex;
    957                 align-items: center;
    958                 justify-content: center;
    959                 border: 0;
    960                 border-radius: 5px;
    961                 cursor: pointer !important;
    962                 transition: .3s;
    963                 color: white;
    964                 padding: 0 30px;
    965                 margin: 35px 0 20px 0;
    966                 transition: .2s;
    967                 position: relative;
    968             }
    969 
    970             ._wppool-popup-button:after {
    971                 content: "";
    972                 position: absolute;
    973                 top: 0;
    974                 left: 0;
    975                 width: 0%;
    976                 height: 100%;
    977                 background: rgba(255, 255, 255, 0.2);
    978                 transition: .3s;
    979             }
    980 
    981             ._wppool-popup-button:hover {
    982                 color: white;
    983             }
    984 
    985             ._wppool-popup-button:hover:after {
    986                 width: 100%;
    987             }
    988 
    989             @media (max-width: 576px) {
    990                 ._wppool-popup-countdown {
    991                     transform: scale(.99);
    992                 }
    993             }
    994             ._wppool-popup-demo-link {
    995                 color: #ddd;
    996                 transition: .2s ease-in-out;
    997                 cursor: pointer;
    998                 text-decoration: none;
    999                 padding-bottom: 10px;
    1000             }
    1001             ._wppool-popup-demo-link:hover {
    1002                 color: #ddd;
    1003                 opacity: .9;
    1004             }
    1005             ';
    1006 
    1007             return apply_filters( 'wppool_inline_styles', $css );
    1008         }
     802            $css =
     803                ':root {
     804                --wppool-popup-color: #FF631A;
     805            }
     806       
     807            ._wppool-popup * {
     808                all: initial;
     809                font-family: -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, Oxygen, Ubuntu, Cantarell, \'Open Sans\', \'Helvetica Neue\', sans-serif;
     810            }
     811       
     812            ._wppool-popup {
     813                position: fixed;
     814                width: 100%;
     815                height: 100%;
     816                padding: 0;
     817                margin: 0;
     818                border: 0;
     819                top: 0;
     820                left: 0;
     821                display: flex;
     822                align-items: center;
     823                justify-content: center;
     824                z-index: 99999999 !important;
     825            }
     826       
     827            ._wppool-popup-overlay {
     828                position: absolute;
     829                top: 0;
     830                left: 0;
     831                width: 100%;
     832                height: 100%;
     833                background: rgba(0, 0, 0, 0.2);
     834            }
     835       
     836            ._wppool-popup-modal {
     837                width: 600px;
     838                max-width: 600px !important;
     839                height: 600px;
     840                max-height: 600px !important;
     841                color: white;
     842                background: #222 url(' . esc_url( $this->get_image_url() ) . ') no-repeat center center;
     843                background-position: center;
     844                background-size: cover;
     845                background-repeat: no-repeat;
     846                padding: 0;
     847                margin: 0;
     848                transform: scale(0.9);
     849                display: flex;
     850                align-items: flex-end;
     851                justify-content: center;
     852                border-radius: 3px;
     853                box-shadow: 0 0 10px 0 rgb(0 0 0 / 50%);
     854            }
     855
     856            ._wppool-popup-modal-close {
     857                position: absolute;
     858                top: 5px;
     859                right: 10px;
     860                font-size: 50px;
     861                cursor: pointer;
     862                color: var(--wppool-popup-color);
     863                transition: .3s;
     864                display: flex;
     865                justify-content: center;
     866                align-items: center;
     867                width: 40px;
     868                height: 40px;
     869                padding: 0;
     870                margin: 0;
     871                opacity: .5;
     872            }
     873
     874            ._wppool-popup-modal-close:hover {
     875                opacity: 1;
     876            }
     877
     878            ._wppool-popup-modal-footer {
     879                width: 100%;
     880                min-height: 225px;
     881                display: flex;
     882                flex-direction: column;
     883                align-items: center;
     884                justify-content: flex-end;
     885                padding: 15px 0;
     886                gap: 15px;
     887            }
     888
     889            ._wppool-popup-countdown {
     890                display: flex;
     891                flex-direction: column;
     892                align-items: center;
     893                justify-content: space-evenly;
     894                gap: 10px;
     895                margin-bottom: 10px;
     896            }
     897
     898            ._wppool-popup-countdown-text {
     899                font-size: 14px;
     900                font-weight: 600;
     901                color: white;
     902                position: relative;
     903                line-height: 1.4;
     904            }
     905
     906            ._wppool-popup-countdown-time {
     907                display: flex;
     908                align-items: center;
     909                justify-content: space-evenly;
     910                gap: 15px;
     911            }
     912
     913            ._wppool-popup-countdown-time>div {
     914                display: flex;
     915                flex-direction: column;
     916                align-items: center;
     917                justify-content: space-evenly;
     918                gap: 8px;
     919            }
     920
     921            ._wppool-popup-countdown-time>div>span {
     922                font-size: 20px;
     923                font-weight: 600;
     924                color: white;
     925            }
     926
     927            ._wppool-popup-countdown-time>div>span:nth-child(1) {
     928                border: 2px solid rgba(255, 255, 255, 0.6);
     929                height: 60px;
     930                width: 56px;
     931                font-size: 26px;
     932                display: flex;
     933                align-items: center;
     934                justify-content: center;
     935                border-radius: 5px;
     936            }
     937
     938            ._wppool-popup-countdown-time>div>span:nth-child(2) {
     939                font-size: 12px;
     940                font-weight: 500;
     941                color: rgb(255, 255, 255 / .8);
     942            }
     943
     944            ._wppool-popup-countdown-time>span {
     945                font-size: 50px;
     946                color: white;
     947                margin-top: -25px;
     948            }
     949
     950            ._wppool-popup-button {
     951                height: 60px;
     952                background: var(--wppool-popup-color);
     953                color: #222;
     954                font-size: 18px;
     955                font-weight: 600;
     956                letter-spacing: 0.5px;
     957                display: inline-flex;
     958                align-items: center;
     959                justify-content: center;
     960                border: 0;
     961                border-radius: 5px;
     962                cursor: pointer !important;
     963                transition: .3s;
     964                color: white;
     965                padding: 0 30px;
     966                margin: 0;
     967                transition: .2s;
     968                position: relative;
     969            }
     970
     971            ._wppool-popup-button:after {
     972                content: "";
     973                position: absolute;
     974                top: 0;
     975                left: 0;
     976                width: 0%;
     977                height: 100%;
     978                background: rgba(255, 255, 255, 0.2);
     979                transition: .3s;
     980            }
     981
     982            ._wppool-popup-button:hover {
     983                color: white;
     984            }
     985
     986            ._wppool-popup-button:hover:after {
     987                width: 100%;
     988            }
     989
     990            @media (max-width: 576px) {
     991                ._wppool-popup-countdown {
     992                    transform: scale(.99);
     993                }
     994            }
     995            ._wppool-popup-demo-link {
     996                color: #ddd;
     997                transition: .2s ease-in-out;
     998                cursor: pointer;
     999                text-decoration: none;
     1000                padding-bottom: 10px;
     1001            }
     1002            ._wppool-popup-demo-link:hover {
     1003                color: #ddd;
     1004                opacity: .9;
     1005            }
     1006            ';
     1007
     1008            return apply_filters( 'wppool_inline_styles', $css );
     1009        }
    10091010
    10101011        /**
     
    12991300         * @return mixed
    13001301         */
    1301         public function set_campaign( $image_url = null, $to = null, $from = null, $button_text = 'Get Premium' ) {
     1302        public function set_campaign( $image_url = null, $to = null, $from = null, $button_text = 'Get Premium', $button_link = 'https://go.wppool.dev/8aCD' ) {
    13021303            // Bailout if image url is not valid.
    13031304            if ( ! $image_url ) {
     
    13161317
    13171318            // Modify the plugin data to include the campaign image, date range, and button text.
    1318             add_filter( 'wppool_plugins', function ( $plugins ) use ( $image_url, $to, $from, $button_text ) {
     1319            add_filter( 'wppool_plugins', function ( $plugins ) use ( $image_url, $to, $from, $button_text, $button_link ) {
    13191320                $plugins[ $this->plugin_id ]['background_image'] = $image_url;
    13201321                $plugins[ $this->plugin_id ]['from'] = $from;
    13211322                $plugins[ $this->plugin_id ]['to'] = $to;
    13221323                $plugins[ $this->plugin_id ]['button_text'] = $button_text;
     1324                $plugins[ $this->plugin_id ]['button_link'] = $button_link;
    13231325
    13241326                return $plugins;
  • order-sync-with-google-sheets-for-woocommerce/trunk/order-sync-with-google-sheets-for-woocommerce.php

    r3392607 r3401630  
    44 * Plugin URI: https://wcordersync.com/
    55 * Description: Sync WooCommerce orders with Google Sheets. Perform WooCommerce order sync, e-commerce order management and sales order management from Google Sheets.
    6  * Version: 1.17.3
     6 * Version: 1.17.4
    77 * Author: WC Order Sync
    88 * Author URI: https://wcordersync.com/
     
    2121 */
    2222define( 'OSGSW_FILE', __FILE__ );
    23 define( 'OSGSW_VERSION', '1.17.3' );
     23define( 'OSGSW_VERSION', '1.17.4' );
    2424/**
    2525 * Loading base file
  • order-sync-with-google-sheets-for-woocommerce/trunk/readme.txt

    r3392607 r3401630  
    55Tested up to: 6.8
    66Requires PHP: 5.6
    7 Stable tag: 1.17.3
     7Stable tag: 1.17.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    278278
    279279== Upgrade Notice ==
     280
    280281= 1.16.0 =
    281282This version introduces editing feature for shipping & billing addresses from the connected sheet
    282283
    283284== Changelog ==
     285
     286= 1.17.4 - 24 November 2025 =
     287* **Improvement:** Regular update & maintenance release.
    284288
    285289= 1.17.3 - 10 November 2025 =
Note: See TracChangeset for help on using the changeset viewer.