Plugin Directory

Changeset 2517345


Ignore:
Timestamp:
04/19/2021 06:42:30 AM (5 years ago)
Author:
redboxsa
Message:

Update version 1.5

Location:
redbox-pickup
Files:
3 edited
6 copied

Legend:

Unmodified
Added
Removed
  • redbox-pickup/tags/1.5/js/front.js

    r2493015 r2517345  
    268268
    269269            points.map(e => {
     270                let markerUrl = "https://app.redboxsa.com/marker_locker.png"
     271                if (e.type_point == "Both") {
     272                    markerUrl = "https://app.redboxsa.com/marker_counter_locker.png"
     273                } else if (e.type_point == "Counter") {
     274                    markerUrl = "https://app.redboxsa.com/marker_counter.png"
     275                }
    270276                let marker = new google.maps.Marker({
    271277                    map: map,
     
    275281                    },
    276282                    icon: {                             
    277                         url: "https://app.redboxsa.com/marker_redbox.png?1"                          
     283                        url: markerUrl           
    278284                    },
    279285                    title: e.point_name
  • redbox-pickup/tags/1.5/readme.txt

    r2515504 r2517345  
    55Requires at least: 3.3
    66Tested up to: 5.5.1
    7 Stable tag: 1.4
     7Stable tag: 1.5
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3939= 1.4 =
    4040Enhance hook to complete order
     41= 1.5 =
     42Edit marker icon. Now there are 3 types of Redbox point: Locker, Counter and Locker and Counter.
    4143
    4244
     
    4850= 1.4 =
    4951Enhance hook to complete order
     52= 1.5 =
     53Edit marker icon
    5054
    5155
  • redbox-pickup/tags/1.5/redbox.php

    r2515504 r2517345  
    44        * Description: This plugin allows customers pickup package at RedBox Locker.
    55        * Plugin URI: https://woocommerce.com/
    6         * Version: 1.4
     6        * Version: 1.5
    77        * Author: RedBox
    88        * Author URI: https://redboxsa.com
     
    117117            function redbox_load_scrip_and_style_front() {
    118118                wp_enqueue_style( 'redbox_font_awesome', 'https://pro.fontawesome.com/releases/v5.10.0/css/all.css' );
    119                 wp_enqueue_style( 'redbox_front_css', REDBOX_PLUGIN_DIR . '/css/front.css', false, '1.0.6' );
     119                wp_enqueue_style( 'redbox_front_css', REDBOX_PLUGIN_DIR . '/css/front.css', false, '1.0.7' );
    120120                wp_enqueue_style( 'redbox_font_roboto', 'https://fonts.googleapis.com/css?family=Roboto' );
    121121                wp_enqueue_style( 'redbox_font_cario', 'https://fonts.googleapis.com/css?family=Cairo' );
    122                 wp_enqueue_script( 'redbox_front_js', REDBOX_PLUGIN_DIR . '/js/front.js', false, '1.0.6' );
     122                wp_enqueue_script( 'redbox_front_js', REDBOX_PLUGIN_DIR . '/js/front.js', false, '1.0.7' );
    123123                wp_enqueue_script( 'redbox_front_js_map', 'https://maps.googleapis.com/maps/api/js?key=AIzaSyBY1xlGe6jLbugOJegCsUGnzlufYWa5CRw&sensor=false&libraries=places' );
    124124                wp_enqueue_script( 'redbox_front_js_map_clustor', 'https://unpkg.com/@google/markerclustererplus@4.0.1/dist/markerclustererplus.min.js' );
  • redbox-pickup/trunk/js/front.js

    r2493015 r2517345  
    268268
    269269            points.map(e => {
     270                let markerUrl = "https://app.redboxsa.com/marker_locker.png"
     271                if (e.type_point == "Both") {
     272                    markerUrl = "https://app.redboxsa.com/marker_counter_locker.png"
     273                } else if (e.type_point == "Counter") {
     274                    markerUrl = "https://app.redboxsa.com/marker_counter.png"
     275                }
    270276                let marker = new google.maps.Marker({
    271277                    map: map,
     
    275281                    },
    276282                    icon: {                             
    277                         url: "https://app.redboxsa.com/marker_redbox.png?1"                          
     283                        url: markerUrl           
    278284                    },
    279285                    title: e.point_name
  • redbox-pickup/trunk/readme.txt

    r2515504 r2517345  
    55Requires at least: 3.3
    66Tested up to: 5.5.1
    7 Stable tag: 1.4
     7Stable tag: 1.5
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3939= 1.4 =
    4040Enhance hook to complete order
     41= 1.5 =
     42Edit marker icon. Now there are 3 types of Redbox point: Locker, Counter and Locker and Counter.
    4143
    4244
     
    4850= 1.4 =
    4951Enhance hook to complete order
     52= 1.5 =
     53Edit marker icon
    5054
    5155
  • redbox-pickup/trunk/redbox.php

    r2515504 r2517345  
    44        * Description: This plugin allows customers pickup package at RedBox Locker.
    55        * Plugin URI: https://woocommerce.com/
    6         * Version: 1.4
     6        * Version: 1.5
    77        * Author: RedBox
    88        * Author URI: https://redboxsa.com
     
    117117            function redbox_load_scrip_and_style_front() {
    118118                wp_enqueue_style( 'redbox_font_awesome', 'https://pro.fontawesome.com/releases/v5.10.0/css/all.css' );
    119                 wp_enqueue_style( 'redbox_front_css', REDBOX_PLUGIN_DIR . '/css/front.css', false, '1.0.6' );
     119                wp_enqueue_style( 'redbox_front_css', REDBOX_PLUGIN_DIR . '/css/front.css', false, '1.0.7' );
    120120                wp_enqueue_style( 'redbox_font_roboto', 'https://fonts.googleapis.com/css?family=Roboto' );
    121121                wp_enqueue_style( 'redbox_font_cario', 'https://fonts.googleapis.com/css?family=Cairo' );
    122                 wp_enqueue_script( 'redbox_front_js', REDBOX_PLUGIN_DIR . '/js/front.js', false, '1.0.6' );
     122                wp_enqueue_script( 'redbox_front_js', REDBOX_PLUGIN_DIR . '/js/front.js', false, '1.0.7' );
    123123                wp_enqueue_script( 'redbox_front_js_map', 'https://maps.googleapis.com/maps/api/js?key=AIzaSyBY1xlGe6jLbugOJegCsUGnzlufYWa5CRw&sensor=false&libraries=places' );
    124124                wp_enqueue_script( 'redbox_front_js_map_clustor', 'https://unpkg.com/@google/markerclustererplus@4.0.1/dist/markerclustererplus.min.js' );
Note: See TracChangeset for help on using the changeset viewer.