Changeset 2983482
- Timestamp:
- 10/25/2023 07:03:34 AM (2 years ago)
- Location:
- shop-2-api/trunk
- Files:
-
- 5 edited
-
assets/bol2api_dashboard.js (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
-
shop-2-api.php (modified) (2 diffs)
-
templates/dashboard.php (modified) (2 diffs)
-
translation/shop2api_dashboard.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
shop-2-api/trunk/assets/bol2api_dashboard.js
r2962006 r2983482 44 44 }) 45 45 46 // Order Checks 47 populate_api_information_orders() 46 48 }) 47 49 … … 50 52 // If the connection is good, it will do Nothing else show connect popup. 51 53 if (!settings.connected) { 52 debugger;53 54 $('#register-free-account-modal').modal({ 54 55 escapeClose: false, … … 59 60 add_connection_error(); 60 61 } 61 62 62 // IF WC Connected and Boll connected then show STEP DATA. 63 63 if (!settings.wc_connected || !settings.bol_connected) { … … 155 155 } 156 156 157 // This will check/uncheck order boxes 158 function populate_api_information_orders() { 159 if (settings.bol_info && settings.bol_info.length > 0) { 160 if (settings.bol_info[0].order_active === "False") { 161 let $item = $('#shop2api-map-order-sync h3 span').first().removeClass('dashicons-yes-alt').removeClass('item-completed'); 162 $item.addClass('dashicons-dismiss').addClass('item-not-completed'); 163 } 164 if (settings.bol_info[0].sync_stock_active === "False") { 165 let $item = $('#shop2api-map-order-sync-stock h3 span').first().removeClass('dashicons-yes-alt').removeClass('item-completed'); 166 $item.addClass('dashicons-dismiss').addClass('item-not-completed'); 167 } 168 if (settings.bol_info[0].combi_deal_active === "False") { 169 let $item = $('#shop2api-map-order-sync-combi-deal h3 span').first().removeClass('dashicons-yes-alt').removeClass('item-completed'); 170 $item.addClass('dashicons-dismiss').addClass('item-not-completed'); 171 } 172 } 173 } 174 157 175 // This will save the bol data and trigger the save of WC data. 158 176 function save_bol_data() { -
shop-2-api/trunk/readme.txt
r2982472 r2983482 3 3 Plugin URI: https://wordpress.org/plugins/shop-2-api/ 4 4 Tags: WooCommerce, Bol 5 Stable Tag: 1.0.28. 25 Stable Tag: 1.0.28.3 6 6 Requires at least: 5.0 7 7 Requires PHP: 7.2 -
shop-2-api/trunk/shop-2-api.php
r2982472 r2983482 5 5 Plugin URI: https://wordpress.org/plugins/shop-2-api/ 6 6 Description: The plugin Shop2Api will sync products between e-Commerce platforms. The current supported e-Commerce platforms are WooCommerce to Bol.com, and we are working on Amazon, Shopify and others. We added a koopblok service so that you can check if you lower your price can you get koopblok. 7 Version: 1.0.28. 27 Version: 1.0.28.3 8 8 Requires at least: 5.0 9 9 Requires PHP: 7.2 … … 34 34 define('SHOP2API_PLUGIN_URL', plugin_dir_url( __FILE__ )); 35 35 define('SHOP2API_PLUGIN', plugin_basename( __FILE__ )); 36 define ('VERSION', '1.0.28. 2');36 define ('VERSION', '1.0.28.3'); 37 37 38 38 // Register items in the project. -
shop-2-api/trunk/templates/dashboard.php
r2982442 r2983482 143 143 <div class="card inline" id='order-card'> 144 144 <h1 style="font-weight: bold;"><?php echo $order_card_heading ; ?></h1> 145 <div id=" map-wc-fields-to-bol" class="tooltip">145 <div id="shop2api-map-order-sync" class="tooltip"> 146 146 <span class="tooltiptext tooltip-right"> 147 147 <?php echo $order_card_enabled_tooltip; ?> … … 152 152 <?php echo $order_card_active ?> <span 153 153 style="color: #008CBA"><?php echo $click_here; ?></span> 154 </h3> 155 </a> 156 </div> 157 <div id="shop2api-map-order-sync-stock" class="tooltip"> 158 <span class="tooltiptext tooltip-right"> 159 <?php echo $order_card_stock_sync_tooltip; ?> 160 </span> 161 <a href='<?php echo admin_url('admin'); ?>.php?page=shop2api_bol_order_service'> 162 <h3> 163 <span class="dashicons dashicons-yes-alt item-completed list-icons"></span> 164 <?php echo $order_card_stock_sync_active ?> <span 165 style="color: #008CBA"><?php echo $click_here; ?></span> 166 </h3> 167 </a> 168 </div> 169 <div id="shop2api-map-order-sync-combi-deal" class="tooltip"> 170 <span class="tooltiptext tooltip-right"> 171 <?php echo $order_card_combi_deal_tooltip; ?> 172 </span> 173 <a href='<?php echo admin_url('admin'); ?>.php?page=shop2api_bol_order_service'> 174 <h3> 175 <span class="dashicons dashicons-yes-alt item-completed list-icons"></span> 176 <?php echo $order_card_combi_deal_active ?> 177 <span style="color: #008CBA"><?php echo $click_here; ?></span> 154 178 </h3> 155 179 </a> -
shop-2-api/trunk/translation/shop2api_dashboard.php
r2982442 r2983482 34 34 $offer_product_heading = wp_kses(__("Sync Products/Offers"), $allowed_html); 35 35 $order_card_heading = wp_kses(__("Sync Orders/Stock"), $allowed_html); 36 $order_card_enabled_tooltip = wp_kses(__("Enable this to sync orders or stock"), $allowed_html); 37 $order_card_active = wp_kses(__("Enable Order Sync"), $allowed_html); 36 37 $order_card_enabled_tooltip = wp_kses(__("Link to the page to enable orders or stock"), $allowed_html); 38 $order_card_active = wp_kses(__("Sync Orders to Bol.com"), $allowed_html); 39 40 $order_card_combi_deal_tooltip = wp_kses(__("Combi Deals checked on stock update."), $allowed_html); 41 $order_card_combi_deal_active = wp_kses(__("Combi Deals Syncing Active"), $allowed_html); 42 43 $order_card_stock_sync_tooltip = wp_kses(__("Sync stock after order was synced,"), $allowed_html); 44 $order_card_stock_sync_active = wp_kses(__("Sync Stock After Order Synced"), $allowed_html);
Note: See TracChangeset
for help on using the changeset viewer.