Changeset 2956495
- Timestamp:
- 08/22/2023 04:45:51 AM (3 years ago)
- Location:
- managedorg-product-driver
- Files:
-
- 59 added
- 3 edited
-
tags/1.0.7.5.4 (added)
-
tags/1.0.7.5.4/LICENSE.txt (added)
-
tags/1.0.7.5.4/css (added)
-
tags/1.0.7.5.4/css/ajax-loader.gif (added)
-
tags/1.0.7.5.4/css/bootstrap.min.css (added)
-
tags/1.0.7.5.4/css/bootstrap.min.css.map (added)
-
tags/1.0.7.5.4/css/font-awesome.min.css (added)
-
tags/1.0.7.5.4/css/modd_style.css (added)
-
tags/1.0.7.5.4/css/payment.css (added)
-
tags/1.0.7.5.4/css/simplePagination.min.css (added)
-
tags/1.0.7.5.4/css/simplePagination.min.css.map (added)
-
tags/1.0.7.5.4/css/slick-theme.css (added)
-
tags/1.0.7.5.4/css/slick.css (added)
-
tags/1.0.7.5.4/css/toastr.min.css (added)
-
tags/1.0.7.5.4/donative.php (added)
-
tags/1.0.7.5.4/fonts (added)
-
tags/1.0.7.5.4/fonts/fontawesome-webfont.ttf (added)
-
tags/1.0.7.5.4/fonts/fontawesome-webfont.woff (added)
-
tags/1.0.7.5.4/fonts/fontawesome-webfont.woff2 (added)
-
tags/1.0.7.5.4/images (added)
-
tags/1.0.7.5.4/images/ab-logo-black.svg (added)
-
tags/1.0.7.5.4/images/ab-logo-white.svg (added)
-
tags/1.0.7.5.4/images/cards.png (added)
-
tags/1.0.7.5.4/images/cart_logo.png (added)
-
tags/1.0.7.5.4/images/cash-donation.svg (added)
-
tags/1.0.7.5.4/images/delete-sign.png (added)
-
tags/1.0.7.5.4/images/donate.png (added)
-
tags/1.0.7.5.4/images/empty-cart.png (added)
-
tags/1.0.7.5.4/images/featured-1.png (added)
-
tags/1.0.7.5.4/images/featured-2.png (added)
-
tags/1.0.7.5.4/images/high-priority.png (added)
-
tags/1.0.7.5.4/images/icon.png (added)
-
tags/1.0.7.5.4/images/important-old.jpg (added)
-
tags/1.0.7.5.4/images/important.png (added)
-
tags/1.0.7.5.4/images/inputLoading.gif (added)
-
tags/1.0.7.5.4/images/loading.gif (added)
-
tags/1.0.7.5.4/images/noImage.png (added)
-
tags/1.0.7.5.4/images/project.jpg (added)
-
tags/1.0.7.5.4/images/red_ribbon_featured.png (added)
-
tags/1.0.7.5.4/images/sreyologo-1.png (added)
-
tags/1.0.7.5.4/images/ss.jpg (added)
-
tags/1.0.7.5.4/js (added)
-
tags/1.0.7.5.4/js/axios.min.js (added)
-
tags/1.0.7.5.4/js/axios.min.map (added)
-
tags/1.0.7.5.4/js/bootstrap.bundle.min.js (added)
-
tags/1.0.7.5.4/js/bootstrap.bundle.min.js.map (added)
-
tags/1.0.7.5.4/js/jquery.simplePagination.min.js (added)
-
tags/1.0.7.5.4/js/modd_myscript.js (added)
-
tags/1.0.7.5.4/js/payment-internal.js (added)
-
tags/1.0.7.5.4/js/payment.1.3.min.js (added)
-
tags/1.0.7.5.4/js/payments-donative.js (added)
-
tags/1.0.7.5.4/js/popper.min.js.map (added)
-
tags/1.0.7.5.4/js/slick.min.js (added)
-
tags/1.0.7.5.4/js/toastr.min.js (added)
-
tags/1.0.7.5.4/lib (added)
-
tags/1.0.7.5.4/lib/admin_settings.php (added)
-
tags/1.0.7.5.4/lib/countrylist.php (added)
-
tags/1.0.7.5.4/readme.txt (added)
-
tags/1.0.7.5.4/uninstall.php (added)
-
trunk/donative.php (modified) (2 diffs)
-
trunk/js/modd_myscript.js (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
managedorg-product-driver/trunk/donative.php
r2954666 r2956495 4 4 Plugin URI: https://wordpress.org/plugins/managedorg-product-driver/ 5 5 Description: Managedorg Product Driver for Amazon Business Integration. 6 Version: 1.0.7.5. 36 Version: 1.0.7.5.4 7 7 Author: Managedorg 8 8 Author URI: https://managedorg.io/ … … 11 11 12 12 if (!class_exists('MODD_Donation')) : 13 define('MODD_VERSION', '1.0.7.5. 3');13 define('MODD_VERSION', '1.0.7.5.4'); 14 14 define('MODD_PLUGIN_URL', plugin_dir_url(__FILE__)); 15 15 define('MODD_PLUGIN_MAIN_PATH', plugin_dir_path(__FILE__)); -
managedorg-product-driver/trunk/js/modd_myscript.js
r2954666 r2956495 1205 1205 } 1206 1206 var all_product_array = []; 1207 function update_product_price(asin,pid) { 1208 axios({ 1209 method: "post", 1210 url: server+"general/getProductByAsin", 1211 headers: {'Content-Type': 'application/json'}, 1212 data: {"asin":asin, "customerID": customerId, "targetServerIP": server} 1213 }).then(res => { 1214 var item_amount; 1215 var result_offers = res.data.includedDataTypes.OFFERS; 1216 if (result_offers.length !==0) { 1217 item_amount = res.data.includedDataTypes.OFFERS[0].price.value.amount; 1218 } 1219 if(item_amount > 0) { 1220 $(".lblAmount_"+asin).html(item_amount); 1221 axios({ 1222 method: "put", 1223 url: server+"products/"+pid, 1224 headers: {'Content-Type': 'application/json'}, 1225 data:{ "data": { "itemAmount": item_amount } } 1226 }).then(res => { 1227 }); 1228 } 1229 }); 1230 } 1207 1231 async function loadProductListOnClick(campaignId, sort){ 1208 1232 var item_array = []; … … 1233 1257 pCount++; 1234 1258 var product_asin = pList[j].attributes.product.data.attributes.asin; 1259 if(pList[j].attributes.product.data.attributes.itemAmount ==0){ 1260 var up_pid= pList[j].attributes.product.data.id; 1261 update_product_price(product_asin, up_pid); 1262 } 1235 1263 var single_product_asin = 0; 1236 1264 if(asin_in_url !== null) { -
managedorg-product-driver/trunk/readme.txt
r2954666 r2956495 4 4 Requires at least: 4.7 5 5 Tested up to: 6.2 6 Stable tag: 1.0.7.5. 36 Stable tag: 1.0.7.5.4 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 144 144 * Pricing format modified. 145 145 146 = 1.0.7.5. 3=146 = 1.0.7.5.4= 147 147 * New design 148 148 * New shortcode attributes products_per_page, campaigns_per_page, cart_checkbox
Note: See TracChangeset
for help on using the changeset viewer.