Changeset 2517345
- Timestamp:
- 04/19/2021 06:42:30 AM (5 years ago)
- Location:
- redbox-pickup
- Files:
-
- 3 edited
- 6 copied
-
tags/1.5 (copied) (copied from redbox-pickup/trunk)
-
tags/1.5/css/front.css (copied) (copied from redbox-pickup/trunk/css/front.css)
-
tags/1.5/front/front.php (copied) (copied from redbox-pickup/trunk/front/front.php)
-
tags/1.5/js/front.js (copied) (copied from redbox-pickup/trunk/js/front.js) (2 diffs)
-
tags/1.5/readme.txt (copied) (copied from redbox-pickup/trunk/readme.txt) (3 diffs)
-
tags/1.5/redbox.php (copied) (copied from redbox-pickup/trunk/redbox.php) (2 diffs)
-
trunk/js/front.js (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/redbox.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
redbox-pickup/tags/1.5/js/front.js
r2493015 r2517345 268 268 269 269 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 } 270 276 let marker = new google.maps.Marker({ 271 277 map: map, … … 275 281 }, 276 282 icon: { 277 url: "https://app.redboxsa.com/marker_redbox.png?1"283 url: markerUrl 278 284 }, 279 285 title: e.point_name -
redbox-pickup/tags/1.5/readme.txt
r2515504 r2517345 5 5 Requires at least: 3.3 6 6 Tested up to: 5.5.1 7 Stable tag: 1. 47 Stable tag: 1.5 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 39 39 = 1.4 = 40 40 Enhance hook to complete order 41 = 1.5 = 42 Edit marker icon. Now there are 3 types of Redbox point: Locker, Counter and Locker and Counter. 41 43 42 44 … … 48 50 = 1.4 = 49 51 Enhance hook to complete order 52 = 1.5 = 53 Edit marker icon 50 54 51 55 -
redbox-pickup/tags/1.5/redbox.php
r2515504 r2517345 4 4 * Description: This plugin allows customers pickup package at RedBox Locker. 5 5 * Plugin URI: https://woocommerce.com/ 6 * Version: 1. 46 * Version: 1.5 7 7 * Author: RedBox 8 8 * Author URI: https://redboxsa.com … … 117 117 function redbox_load_scrip_and_style_front() { 118 118 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' ); 120 120 wp_enqueue_style( 'redbox_font_roboto', 'https://fonts.googleapis.com/css?family=Roboto' ); 121 121 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' ); 123 123 wp_enqueue_script( 'redbox_front_js_map', 'https://maps.googleapis.com/maps/api/js?key=AIzaSyBY1xlGe6jLbugOJegCsUGnzlufYWa5CRw&sensor=false&libraries=places' ); 124 124 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 268 268 269 269 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 } 270 276 let marker = new google.maps.Marker({ 271 277 map: map, … … 275 281 }, 276 282 icon: { 277 url: "https://app.redboxsa.com/marker_redbox.png?1"283 url: markerUrl 278 284 }, 279 285 title: e.point_name -
redbox-pickup/trunk/readme.txt
r2515504 r2517345 5 5 Requires at least: 3.3 6 6 Tested up to: 5.5.1 7 Stable tag: 1. 47 Stable tag: 1.5 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 39 39 = 1.4 = 40 40 Enhance hook to complete order 41 = 1.5 = 42 Edit marker icon. Now there are 3 types of Redbox point: Locker, Counter and Locker and Counter. 41 43 42 44 … … 48 50 = 1.4 = 49 51 Enhance hook to complete order 52 = 1.5 = 53 Edit marker icon 50 54 51 55 -
redbox-pickup/trunk/redbox.php
r2515504 r2517345 4 4 * Description: This plugin allows customers pickup package at RedBox Locker. 5 5 * Plugin URI: https://woocommerce.com/ 6 * Version: 1. 46 * Version: 1.5 7 7 * Author: RedBox 8 8 * Author URI: https://redboxsa.com … … 117 117 function redbox_load_scrip_and_style_front() { 118 118 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' ); 120 120 wp_enqueue_style( 'redbox_font_roboto', 'https://fonts.googleapis.com/css?family=Roboto' ); 121 121 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' ); 123 123 wp_enqueue_script( 'redbox_front_js_map', 'https://maps.googleapis.com/maps/api/js?key=AIzaSyBY1xlGe6jLbugOJegCsUGnzlufYWa5CRw&sensor=false&libraries=places' ); 124 124 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.