Changeset 1293858
- Timestamp:
- 11/24/2015 11:56:53 PM (10 years ago)
- Location:
- foxyshop
- Files:
-
- 145 added
- 5 edited
-
tags/4.7.1 (added)
-
tags/4.7.1/LICENSE (added)
-
tags/4.7.1/README.md (added)
-
tags/4.7.1/adminajax.php (added)
-
tags/4.7.1/adminfunctions.php (added)
-
tags/4.7.1/bulkeditor.php (added)
-
tags/4.7.1/categorysorting.php (added)
-
tags/4.7.1/css (added)
-
tags/4.7.1/css/chosen.css (added)
-
tags/4.7.1/css/cloud-zoom.css (added)
-
tags/4.7.1/css/dropzone.css (added)
-
tags/4.7.1/css/foxyshop-admin.css (added)
-
tags/4.7.1/css/foxyshop.css (added)
-
tags/4.7.1/css/jquery.jqzoom.css (added)
-
tags/4.7.1/css/magnific-popup.css (added)
-
tags/4.7.1/customers.php (added)
-
tags/4.7.1/customposttype.php (added)
-
tags/4.7.1/customsorting.php (added)
-
tags/4.7.1/datafeedfunctions.php (added)
-
tags/4.7.1/foxyshop.php (added)
-
tags/4.7.1/generatesitemap.php (added)
-
tags/4.7.1/googleproductfeed.php (added)
-
tags/4.7.1/helperfunctions.php (added)
-
tags/4.7.1/images (added)
-
tags/4.7.1/images/add-new-image.png (added)
-
tags/4.7.1/images/chosen-sprite.png (added)
-
tags/4.7.1/images/delete.png (added)
-
tags/4.7.1/images/editicon.png (added)
-
tags/4.7.1/images/featured.png (added)
-
tags/4.7.1/images/foxycart-icon.png (added)
-
tags/4.7.1/images/help.png (added)
-
tags/4.7.1/images/icon.png (added)
-
tags/4.7.1/images/iconsprite.png (added)
-
tags/4.7.1/images/logo.png (added)
-
tags/4.7.1/images/no-photo.png (added)
-
tags/4.7.1/images/paper-shadow.png (added)
-
tags/4.7.1/images/plusminus.png (added)
-
tags/4.7.1/images/refresh.png (added)
-
tags/4.7.1/images/rename.png (added)
-
tags/4.7.1/images/search-icon.png (added)
-
tags/4.7.1/images/visible.png (added)
-
tags/4.7.1/images/zoomloader.gif (added)
-
tags/4.7.1/inventory.php (added)
-
tags/4.7.1/js (added)
-
tags/4.7.1/js/chosen.jquery.min.js (added)
-
tags/4.7.1/js/cloud-zoom.1.0.2.js (added)
-
tags/4.7.1/js/dropzone.js (added)
-
tags/4.7.1/js/jquery.magnific-popup.min.js (added)
-
tags/4.7.1/js/jquery.tablesorter.js (added)
-
tags/4.7.1/js/multiship.jquery.js (added)
-
tags/4.7.1/js/multiship2.jquery.js (added)
-
tags/4.7.1/js/prettyphoto (added)
-
tags/4.7.1/js/prettyphoto/jquery.prettyPhoto.js (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto.css (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_rounded (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_rounded/btnNext.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_rounded/btnPrevious.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_rounded/contentPattern.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_rounded/default_thumbnail.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_rounded/loader.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_rounded/sprite.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_square (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_square/btnNext.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_square/btnPrevious.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_square/contentPattern.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_square/default_thumbnail.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_square/loader.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/dark_square/sprite.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/default (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/default/default_thumb.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/default/loader.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/default/sprite.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/default/sprite_next.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/default/sprite_prev.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/default/sprite_x.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/default/sprite_y.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook/btnNext.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook/btnPrevious.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook/contentPatternBottom.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook/contentPatternLeft.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook/contentPatternRight.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook/contentPatternTop.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook/default_thumbnail.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook/loader.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/facebook/sprite.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_rounded (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_rounded/btnNext.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_rounded/btnPrevious.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_rounded/default_thumbnail.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_rounded/loader.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_rounded/sprite.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_square (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_square/btnNext.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_square/btnPrevious.png (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_square/default_thumbnail.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_square/loader.gif (added)
-
tags/4.7.1/js/prettyphoto/prettyPhoto/light_square/sprite.png (added)
-
tags/4.7.1/js/products-admin.js (added)
-
tags/4.7.1/js/variation.process.jquery.js (added)
-
tags/4.7.1/languages (added)
-
tags/4.7.1/languages/foxyshop-de_DE.mo (added)
-
tags/4.7.1/languages/foxyshop-de_DE.po (added)
-
tags/4.7.1/languages/foxyshop-nb_NO.mo (added)
-
tags/4.7.1/languages/foxyshop-nb_NO.po (added)
-
tags/4.7.1/languages/foxyshop.pot (added)
-
tags/4.7.1/orders.php (added)
-
tags/4.7.1/productfeed.php (added)
-
tags/4.7.1/readme.txt (added)
-
tags/4.7.1/screenshot-1.jpg (added)
-
tags/4.7.1/screenshot-2.jpg (added)
-
tags/4.7.1/screenshot-3.jpg (added)
-
tags/4.7.1/screenshot-4.jpg (added)
-
tags/4.7.1/screenshot-5.jpg (added)
-
tags/4.7.1/settings-page.php (added)
-
tags/4.7.1/setup-page.php (added)
-
tags/4.7.1/shippingintegration.php (added)
-
tags/4.7.1/shortcodesettings.php (added)
-
tags/4.7.1/sso.php (added)
-
tags/4.7.1/ssoendpoint.php (added)
-
tags/4.7.1/subscriptions.php (added)
-
tags/4.7.1/templateredirect.php (added)
-
tags/4.7.1/themefiles (added)
-
tags/4.7.1/themefiles/foxyshop-all-categories.php (added)
-
tags/4.7.1/themefiles/foxyshop-all-products.php (added)
-
tags/4.7.1/themefiles/foxyshop-checkout-template-2.php (added)
-
tags/4.7.1/themefiles/foxyshop-checkout-template.php (added)
-
tags/4.7.1/themefiles/foxyshop-custom-upload.php (added)
-
tags/4.7.1/themefiles/foxyshop-datafeed-endpoint.php (added)
-
tags/4.7.1/themefiles/foxyshop-footer.php (added)
-
tags/4.7.1/themefiles/foxyshop-header.php (added)
-
tags/4.7.1/themefiles/foxyshop-product-loop.php (added)
-
tags/4.7.1/themefiles/foxyshop-receipt-template-2.php (added)
-
tags/4.7.1/themefiles/foxyshop-receipt-template.php (added)
-
tags/4.7.1/themefiles/foxyshop-receipt.php (added)
-
tags/4.7.1/themefiles/foxyshop-search.php (added)
-
tags/4.7.1/themefiles/foxyshop-single-category-shortcode.php (added)
-
tags/4.7.1/themefiles/foxyshop-single-category.php (added)
-
tags/4.7.1/themefiles/foxyshop-single-product-shortcode.php (added)
-
tags/4.7.1/themefiles/foxyshop-single-product.php (added)
-
tags/4.7.1/tools-page.php (added)
-
tags/4.7.1/uninstall.php (added)
-
tags/4.7.1/uploadprocessor.php (added)
-
tags/4.7.1/widgetcode.php (added)
-
trunk/foxyshop.php (modified) (2 diffs)
-
trunk/js/dropzone.js (modified) (1 diff)
-
trunk/js/products-admin.js (modified) (1 diff)
-
trunk/readme.txt (modified) (5 diffs)
-
trunk/shippingintegration.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
foxyshop/trunk/foxyshop.php
r1266209 r1293858 6 6 Description: FoxyShop is a full integration for FoxyCart and WordPress, providing a robust shopping cart and inventory management tool. 7 7 Author: SparkWeb Interactive, Inc. 8 Version: 4.7 8 Version: 4.7.1 9 9 Author URI: http://www.foxy-shop.com/ 10 10 … … 39 39 40 40 //Setup Plugin Variables 41 define('FOXYSHOP_VERSION', "4.7 ");41 define('FOXYSHOP_VERSION', "4.7.1"); 42 42 define('FOXYSHOP_DIR', (is_ssl() ? str_replace("http://", "https://", WP_PLUGIN_URL) : WP_PLUGIN_URL) . "/foxyshop"); 43 43 define('FOXYSHOP_PATH', dirname(__FILE__)); -
foxyshop/trunk/js/dropzone.js
r1266213 r1293858 1748 1748 }; 1749 1749 1750 contentLoaded(window, Dropzone._autoDiscoverFunction); 1750 //FoxyShop Disabled 1751 //contentLoaded(window, Dropzone._autoDiscoverFunction); 1751 1752 1752 1753 }).call(this); -
foxyshop/trunk/js/products-admin.js
r1266213 r1293858 516 516 }); 517 517 518 Dropzone.autoDiscover = false; 519 $("#foxyshop_new_product_image_container").dropzone({ 520 url: bloginfo_url + FOXYSHOP_URL_BASE + '/upload-' + datafeed_url_key + '/?foxyshop_product_id=' + post_id, 521 createImageThumbnails: false, 522 acceptedFiles: "image/*,*.pdf,*.doc,*.docx,*.odt,*.xmls,*.xlsx,*.txt,*.tif,*.psd,*.mp3", 523 dictDefaultMessage: 'Drop Images Here To Upload', 524 init: function() { 525 this.on("success", function(file) { 526 var data = { 527 'action': 'foxyshop_product_ajax_action', 528 'security': nonce_images, 529 'foxyshop_product_id': post_id, 530 'foxyshop_action': 'add_new_image' 531 }; 532 533 $("#foxyshop_image_waiter").show(); 534 $.post(ajaxurl, data, function(response) { 535 $("#foxyshop_product_image_list").html(response) 536 $("#foxyshop_image_waiter").hide(); 537 $(".dz-complete").delay(3000).fadeOut(400, function() { 538 $(".dropzone.dz-started").removeClass("dz-started"); 518 if (jQuery().dropzone) { 519 $("#foxyshop_new_product_image_container").dropzone({ 520 url: bloginfo_url + FOXYSHOP_URL_BASE + '/upload-' + datafeed_url_key + '/?foxyshop_product_id=' + post_id, 521 createImageThumbnails: false, 522 acceptedFiles: "image/*,*.pdf,*.doc,*.docx,*.odt,*.xmls,*.xlsx,*.txt,*.tif,*.psd,*.mp3", 523 dictDefaultMessage: 'Drop Images Here To Upload', 524 init: function() { 525 this.on("success", function(file) { 526 var data = { 527 'action': 'foxyshop_product_ajax_action', 528 'security': nonce_images, 529 'foxyshop_product_id': post_id, 530 'foxyshop_action': 'add_new_image' 531 }; 532 533 $("#foxyshop_image_waiter").show(); 534 $.post(ajaxurl, data, function(response) { 535 $("#foxyshop_product_image_list").html(response) 536 $("#foxyshop_image_waiter").hide(); 537 $(".dz-complete").delay(3000).fadeOut(400, function() { 538 $(".dropzone.dz-started").removeClass("dz-started"); 539 }); 539 540 }); 540 541 }); 541 } );542 } 543 } );542 } 543 }); 544 } 544 545 545 546 $("#foxyshop_product_image_list").sortable({ -
foxyshop/trunk/readme.txt
r1266685 r1293858 4 4 Tags: foxycart, shopping, cart, inventory, management, ecommerce, selling, subscription, foxy 5 5 Requires at least: 3.1 6 Tested up to: 4. 3.17 Stable tag: 4.7 6 Tested up to: 4.4 7 Stable tag: 4.7.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 14 FoxyShop is a complete shopping cart solution for WordPress. This plugin connects to [FoxyCart's]((http ://affiliate.foxycart.com/idevaffiliate.php?id=211)) hosted shopping cart service and will allow you to manage your inventory from a WordPress backend. FoxyShop was built to make the integration of FoxyCart and WordPress a breeze. Products are easy to manage and the flexible templates make it easy for developers to quickly build their storefront. The FoxyShop plugin is exhaustively documented, actively maintained, and completely free. And it's foxy, too.14 FoxyShop is a complete shopping cart solution for WordPress. This plugin connects to [FoxyCart's]((https://affiliate.foxycart.com/idevaffiliate.php?id=211)) hosted shopping cart service and will allow you to manage your inventory from a WordPress backend. FoxyShop was built to make the integration of FoxyCart and WordPress a breeze. Products are easy to manage and the flexible templates make it easy for developers to quickly build their storefront. The FoxyShop plugin is exhaustively documented, actively maintained, and completely free. And it's foxy, too. 15 15 16 16 Visit [foxy-shop.com](http://www.foxy-shop.com/) for full documentation and instructions. … … 35 35 * Internationalization support 36 36 * Field validation to prevent form tampering 37 * Lotsmore... [See Complete Feature List!](http://www.foxy-shop.com/foxyshop-features/)37 * Much more... [See Complete Feature List!](http://www.foxy-shop.com/foxyshop-features/) 38 38 39 39 = Translations Available = 40 40 * Norwegian (Kenneth from [KKTrends](http://kktrend.no/)) 41 * German (Andrei from [PixelDarkroom](http://www.pixeldarkroom.com/))41 * German (Andrei from PixelDarkroom) 42 42 43 43 … … 68 68 69 69 == Changelog == 70 71 = 4.7.1 = 72 * Remove Dropzone autodiscover to avoid potentials JavaScript errors 73 * Exported order lists now subtract future line items from the total 74 * WordPress 4.4 support 70 75 71 76 = 4.7 = … … 220 225 == Upgrade Notice == 221 226 222 = 4.7 =223 FoxyShop Image Upload Updates. NOTE: If you are currently using the product variation image upload feature for your cart (or a front-end datepicker), please read our upgrade notes before updating. 227 = 4.7.1 = 228 Permanently Disabling Dropzone Autodiscover -
foxyshop/trunk/shippingintegration.php
r622250 r1293858 332 332 333 333 $product_total = 0; 334 $future_product_total = 0; 334 335 foreach($transaction->transaction_details->transaction_detail as $transaction_detail) { 335 336 $product_price = (double)$transaction_detail->product_price; … … 338 339 } 339 340 $product_total += $product_price * (int)$transaction_detail->product_quantity; 341 if ($transaction_detail->is_future_line_item) { 342 $future_product_total += $product_price * (int)$transaction_detail->product_quantity; 343 } 340 344 } 341 345 342 346 $shipping_total = (double)$transaction->shipping_total; 343 $order_total = $product_total + $shipping_total + $discount_total + $tax_total ;347 $order_total = $product_total + $shipping_total + $discount_total + $tax_total - $future_product_total; 344 348 345 349
Note: See TracChangeset
for help on using the changeset viewer.