PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/seoshop.live/wp-content/plugins/cart66/pro/admin/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/seoshop.live/wp-content/plugins/cart66/pro/admin/inventory.php |
<?php if(CART66_PRO && $track != 1): ?> <div class="Cart66Error" style="width: 500px;"> <h1><?php _e( 'Inventory Tracking Is Not Active' , 'cart66' ); ?></h1> <p><?php _e( 'You must enable inventory tracking in in the <a href="'.$wpurl.'/wp-admin/admin.php?page=cart66-settings">settings panel</a>.' , 'cart66' ); ?></p> </div> <?php endif; ?> <p style="width: 400px;"><?php _e( 'Track your inventory by selecting the checkbox next to the products you want to track and enter the quantity you have in stock in the text field. If you are tracking inventory for a product, Cart66 will check the inventory levels every time a product is added to the shopping cart, every time the quantity of a product in the shopping cart is changed, and on the checkout page. Inventory is reduced after a successful sale, not when a product is added to the shopping cart.' , 'cart66' ); ?></p> <?php if(count($products)): ?> <div class="Cart66SelectAll"> <span class="Cart66BoxSelectAll"><?php _e( 'Select All' , 'cart66' ); ?></span> | <span class="Cart66BoxSelectNone"><?php _e( 'Select None' , 'cart66' ); ?></span> | <span class="Cart66BoxSelectQty"><?php _e( 'Select With Quantity' , 'cart66' ); ?></span> </div> <form action="" method="post"> <input type="hidden" name="cart66-task" value="save-inventory-form" id="cart66-task" /> <table class="widefat Cart66HighlightTable" style="margin: 0px; width: auto;" id="inventory_table"> <thead> <tr> <th><?php _e( 'Track' , 'cart66' ); ?></th> <th><?php _e( 'Product Name' , 'cart66' ); ?></th> <th><?php _e( 'Product Variation' , 'cart66' ); ?></th> <th><?php _e( 'Quantity' , 'cart66' ); ?></th> </tr> </thead> <tfoot> <tr> <th><?php _e( 'Track' , 'cart66' ); ?></th> <th><?php _e( 'Product Name' , 'cart66' ); ?></th> <th><?php _e( 'Product Variation' , 'cart66' ); ?></th> <th><?php _e( 'Quantity' , 'cart66' ); ?></th> </tr> </tfoot> </table> <input type="submit" name="submit" value="<?php _e('Save', 'cart66'); ?>" id="submit" style="width: 80px; margin-top: 20px;" class="button-primary" /> </form> <script type="text/javascript"> /* <![CDATA[ */ (function($){ $(document).ready(function(){ $('#inventory_table').dataTable({ "bProcessing": true, "bServerSide": true, "bPagination": true, "iDisplayLength": 5, "aLengthMenu": [[5, 15, 20, 30], [5, 15, 20, 30]], "sPaginationType": "bootstrap", "bAutoWidth": false, "sAjaxSource": ajaxurl + "?action=inventory_table", "aoColumns": [ { "bSortable": false, "fnRender": function(oObj) { return oObj.aData[0] === false ? '<input type="hidden" name="track_' + oObj.aData[4] + '"/><input type="checkbox" name="track_' + oObj.aData[4] + '" value="1" id="track_' + oObj.aData[4] + '" class="Cart66InventoryCheckbox" />' : '<input type="hidden" name="track_' + oObj.aData[4] + '" value="" /><input type="checkbox" name="track_' + oObj.aData[4] + '" value="1" id="track_' + oObj.aData[4] + '" class="Cart66InventoryCheckbox" checked="checked" />' }}, {"bSortable": false }, {"bSortable": false }, { "bSortable": false, "fnRender": function(oObj) { return '<input type="text" name="qty_' + oObj.aData[4] + '" value="' + oObj.aData[3] + '" id="qty_' + oObj.aData[4] + '" style="width:50px;" class="Cart66InventoryQty" />' }} ], "oLanguage": { "sZeroRecords": "<?php _e('No matching Inventory Items found', 'cart66'); ?>", "sSearch": "<?php _e('Search', 'cart66'); ?>:", "sInfo": "<?php _e('Showing', 'cart66'); ?> _START_ <?php _e('to', 'cart66'); ?> _END_ <?php _e('of', 'cart66'); ?> _TOTAL_ <?php _e('entries', 'cart66'); ?>", "sInfoEmpty": "<?php _e('Showing 0 to 0 of 0 entries', 'cart66'); ?>", "oPaginate": { "sNext": "<?php _e('Next', 'cart66'); ?>", "sPrevious": "<?php _e('Previous', 'cart66'); ?>", "sLast": "<?php _e('Last', 'cart66'); ?>", "sFirst": "<?php _e('First', 'cart66'); ?>" }, "sInfoFiltered": "(<?php _e('filtered from', 'cart66'); ?> _MAX_ <?php _e('total entries', 'cart66'); ?>)", "sLengthMenu": "<?php _e('Show', 'cart66'); ?> _MENU_ <?php _e('entries', 'cart66'); ?>", "sLoadingRecords": "<?php _e('Loading', 'cart66'); ?>...", "sProcessing": "<?php _e('Processing', 'cart66'); ?>..." } }); $(".Cart66BoxSelectAll").click(function(){ $(".Cart66InventoryCheckbox").attr('checked',true); }) $(".Cart66BoxSelectNone").click(function(){ $(".Cart66InventoryCheckbox").attr('checked',false); }) $(".Cart66BoxSelectQty").click(function(){ $(".Cart66InventoryCheckbox").each(function(){ if($(this).parent().parent().find(".Cart66InventoryQty").val()>0){ $(this).attr("checked",true); } }) }) }) })(jQuery); /* ]]> */ </script> <?php else: ?> <p><?php _e( 'You do not have any products' , 'cart66' ); ?></p> <?php endif; ?>