Changeset 3257795
- Timestamp:
- 03/18/2025 12:02:23 PM (11 months ago)
- Location:
- barcode-generator-for-woocommerce
- Files:
-
- 60 added
- 26 edited
-
assets/banner-1544x500.png (modified) (previous)
-
assets/banner-772x250.png (modified) (previous)
-
assets/screenshot-1.png (modified) (previous)
-
assets/screenshot-2.png (modified) (previous)
-
assets/screenshot-3.png (modified) (previous)
-
assets/screenshot-4.png (modified) (previous)
-
assets/screenshot-5.png (modified) (previous)
-
assets/screenshot-6.png (modified) (previous)
-
assets/screenshot-7.png (added)
-
assets/screenshot-8.png (added)
-
assets/screenshot-9.png (added)
-
tags/1.0.3 (added)
-
tags/1.0.3/README.txt (added)
-
tags/1.0.3/admin (added)
-
tags/1.0.3/admin/class_barcodgenfwoo-admin.php (added)
-
tags/1.0.3/admin/class_barcodgenfwoo-dashboard.php (added)
-
tags/1.0.3/admin/css (added)
-
tags/1.0.3/admin/css/barcodgenfwoo-admin.css (added)
-
tags/1.0.3/admin/extenstion (added)
-
tags/1.0.3/admin/extenstion/DlaodVAriable.php (added)
-
tags/1.0.3/admin/extenstion/datapbarcodes.php (added)
-
tags/1.0.3/admin/extenstion/pbarcode_download.php (added)
-
tags/1.0.3/admin/extenstion/preview-extntion.php (added)
-
tags/1.0.3/admin/img (added)
-
tags/1.0.3/admin/img/admin.png (added)
-
tags/1.0.3/admin/img/fancyloaders.svg (added)
-
tags/1.0.3/admin/img/logo.png (added)
-
tags/1.0.3/admin/img/placeholder.png (added)
-
tags/1.0.3/admin/img/sds.png (added)
-
tags/1.0.3/admin/index.php (added)
-
tags/1.0.3/admin/js (added)
-
tags/1.0.3/admin/js/JsBarcode.all.min.js (added)
-
tags/1.0.3/admin/js/barcodgenfwoo-admin.js (added)
-
tags/1.0.3/admin/js/barcodgenfwoo.js (added)
-
tags/1.0.3/admin/js/jQuery.print.js (added)
-
tags/1.0.3/admin/js/loadmore_new.js (added)
-
tags/1.0.3/barcode-generator-for-woocommerce.php (added)
-
tags/1.0.3/includes (added)
-
tags/1.0.3/includes/class-barcodgenfwoo-activator.php (added)
-
tags/1.0.3/includes/class-barcodgenfwoo-deactivator.php (added)
-
tags/1.0.3/includes/class-barcodgenfwoo-loader.php (added)
-
tags/1.0.3/includes/class-barcodgenfwoo-number.php (added)
-
tags/1.0.3/includes/class-barcodgenfwoo-shortcode.php (added)
-
tags/1.0.3/includes/class-barcodgenfwoo.php (added)
-
tags/1.0.3/includes/index.php (added)
-
tags/1.0.3/index.php (added)
-
tags/1.0.3/languages (added)
-
tags/1.0.3/languages/barcode-generator-woocommerce.pot (added)
-
tags/1.0.3/uninstall.php (added)
-
tags/1.0.3/vendor (added)
-
tags/1.0.3/vendor/wordpress-plugin-installer-main (added)
-
tags/1.0.3/vendor/wordpress-plugin-installer-main/.phpcs.xml (added)
-
tags/1.0.3/vendor/wordpress-plugin-installer-main/LICENSE (added)
-
tags/1.0.3/vendor/wordpress-plugin-installer-main/README.md (added)
-
tags/1.0.3/vendor/wordpress-plugin-installer-main/assets (added)
-
tags/1.0.3/vendor/wordpress-plugin-installer-main/assets/installer.css (added)
-
tags/1.0.3/vendor/wordpress-plugin-installer-main/assets/installer.js (added)
-
tags/1.0.3/vendor/wordpress-plugin-installer-main/class-connekt-plugin-installer.php (added)
-
trunk/README.txt (modified) (9 diffs)
-
trunk/admin/class_barcodgenfwoo-admin.php (modified) (16 diffs)
-
trunk/admin/class_barcodgenfwoo-dashboard.php (modified) (4 diffs)
-
trunk/admin/css/barcodgenfwoo-admin.css (modified) (6 diffs)
-
trunk/admin/extenstion/DlaodVAriable.php (modified) (2 diffs)
-
trunk/admin/extenstion/datapbarcodes.php (modified) (2 diffs)
-
trunk/admin/extenstion/pbarcode_download.php (modified) (3 diffs)
-
trunk/admin/extenstion/preview-extntion.php (modified) (2 diffs)
-
trunk/admin/js/barcodgenfwoo-admin.js (modified) (3 diffs)
-
trunk/admin/js/barcodgenfwoo.js (modified) (2 diffs)
-
trunk/barcode-generator-for-woocommerce.php (modified) (3 diffs)
-
trunk/includes/class-barcodgenfwoo-activator.php (modified) (3 diffs)
-
trunk/includes/class-barcodgenfwoo-deactivator.php (modified) (3 diffs)
-
trunk/includes/class-barcodgenfwoo-loader.php (modified) (8 diffs)
-
trunk/includes/class-barcodgenfwoo-number.php (modified) (4 diffs)
-
trunk/includes/class-barcodgenfwoo-shortcode.php (added)
-
trunk/includes/class-barcodgenfwoo.php (modified) (14 diffs)
-
trunk/languages/barcode-generator-woocommerce.pot (modified) (3 diffs)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/vendor (added)
-
trunk/vendor/wordpress-plugin-installer-main (added)
-
trunk/vendor/wordpress-plugin-installer-main/.phpcs.xml (added)
-
trunk/vendor/wordpress-plugin-installer-main/LICENSE (added)
-
trunk/vendor/wordpress-plugin-installer-main/README.md (added)
-
trunk/vendor/wordpress-plugin-installer-main/assets (added)
-
trunk/vendor/wordpress-plugin-installer-main/assets/installer.css (added)
-
trunk/vendor/wordpress-plugin-installer-main/assets/installer.js (added)
-
trunk/vendor/wordpress-plugin-installer-main/class-connekt-plugin-installer.php (added)
Legend:
- Unmodified
- Added
- Removed
-
barcode-generator-for-woocommerce/trunk/README.txt
r3249803 r3257795 7 7 Tested up to: 6.7.1 8 8 Requires PHP: 7.2 9 Stable tag: 1.0. 210 Version: 1.0. 29 Stable tag: 1.0.3 10 Version: 1.0.3 11 11 Text Domain: barcode-generator-woocommerce 12 12 Domain Path: /languages … … 14 14 License URI: https://www.gnu.org/licenses/gpl-2.0.html 15 15 16 Auto barcode generator for WooCommerce products.16 Barcode Generator for WooCommerce is a plugin that helps create product barcodes. 17 17 18 18 == Description == 19 19 20 This is an auto barcode generator plugin for WooCommerce products. Barcodes are generated automatically as soon as the plugin is activated. All product barcodes are unique and are created based on the Product SKU, the Product ID, and auto barcode number. 21 20 Barcode Generator for WooCommerce is a plugin that helps generate barcodes for all products on the WooCommerce website. Product barcodes are automatically generated as soon as the plugin is activated. All product barcodes are unique and are generated based on the product SKU, product ID, and automatic barcode number. 21 22 The barcode is automatically displayed on a single product page. it can be displayed in up to 4 (four) different locations on the product page, as well as in a custom location via a shortcode. 23 24 25 [Try the Demo](https://woocommercebarcode.com/ "Pro Demo of barcode pluign") | [Get The Premium](https://sharabindu.com/plugins/woocommerce-barcode-generator/) | [Documents](https://woocommercebarcode.com/docs/introduction/ "Documents") 22 26 23 27 ###BARCODE PLUGIN FEATURES … … 25 29 **WooCommerce Product Barcode:** Barcodes are generated automatically for all new and old products. 26 30 27 **Auto Generate barcode number**: The content (number) of the barcode is generated automatically. A unique 6 to 9-digit barcode number is automatically generated for each product as barcode content. 28 29 **Custom barcode number**: You can easily create custom barcodes for products from the quick edit option on the WooCommerce product page. Click on the quick edit option for the selected product and input the custom barcode number 30 31 **Product barcode from auto generate number**: This function enables the automatic generation of barcode values. A unique 6 to 9-digit number is automatically generated for each product as barcode value. You can easily create custom barcode values for a product from the quick edit option in the WooCommerce product dashboard. Click on the quick edit option for the selected product and input the custom barcode value and save. The barcode for the new value will be created immediately. 32 33 **Product barcode from Product SKU**: Product barcodes can be generated from the SKU value of each product. Changing the SKU value will immediately change the barcode value. 34 35 **Product barcode from Product ID**: Product barcodes can be generated from each product ID. Product IDs are automatically generated by WooCommerce. 36 37 38 **Barcode Download Page**: The plugin allows you to download all product barcodes from this download page. You will find several features on this page, including sorting or searching by category, pagination, etc. You can also print the product barcodes. 31 39 32 40 ###How to add barcode to WooCommerce website … … 36 44 = Extra Features for Premium = 37 45 38 [Try the Demo](https://woocommercebarcode.com/ "Pro Demo of barcode pluign") | [Premium version](https://sharabindu.com/plugins/woocommerce-barcode-generator/) | [Documents](https://woocommercebarcode.com/docs/introduction/ "Documents")39 40 46 41 47 ###Preview PRO Barcode for WooCommerce … … 43 49 44 50 45 In the premium version of this plugin, product barcodes, order barcodes, order email barcodes, and barcodes for PDF invoices are generated. , Each barcode is unique and highly customizable. 46 47 48 **Add product price and name on barcode:** In the Pro version, you can add a product price and product name to the barcode sticker 49 50 **Barcode Sticker design:** 100 types of barcode stickers can be designed by customizing the barcode label, custom text, price, and title. 51 52 **Custom text on barcode sticker:** Custom text can be added to barcode stickers. You will find two fields where you can add custom text to the barcode sticker. You can input the country name and the brand name, or input the desired text or number 53 54 **GTIN, UPC, EAN, or ISBN Supported:** You can create Product barcodes with the value of this field.WooCommerce added this field in its 9.3.0 version. 55 56 **barcodes from EAN for the WooCommerce Plugin**: The existing user of this plugin can generate barcodes from the value of EAN. 57 58 **Barcode on product page**: To add barcode in 4(four) different places on a single product page. For variable product barcodes, the variable barcode changes when the child product changes. 59 60 **14 types of barcode Format**: in the Premium version, you can create product barcodes from 14 types of formats. EAN13, EAN8, UPC), etc. 61 62 **Variable Child product The premium plugin generates barcodes for both variable parent and child products. 63 64 **WooCommerce Order barcode**: The premium plugin allows adding barcodes to the order dashboard page. Product barcodes are also added to this page. 65 66 **Order Barcode in Order email**: when a new order is completed, the order barcode will be printed on the order mail. 67 68 **WooCommerce Order Barcode in PDF Invoices**: We have integrated with three (3) PDF invoice plugins. So, you can add the order barcode to the below PDF plugins. 51 The premium version of this plugin offers a number of additional features, including designing product barcode stickers, adding product names and prices to barcode labels, adding custom text, creating order barcodes, creating barcodes in order emails, and creating barcodes inside PDF invoices. 52 53 54 **Add product price and product name to barcode label:** In the Pro version, USers can add product price and product name to the barcode sticker. 55 56 **Barcode Sticker design:** 100 types of barcode stickers can be designed by customizing the barcode label, custom text, price, and product name. 57 58 **Add Custom text on barcode sticker:** Custom text or Custom number can be added to barcode stickers. The plugin allows two fields where custom text or numbers can be added to the barcode sticker. For example, you can input the country name and brand name on the product's barcode sticker. 59 60 **GTIN, UPC, EAN, or ISBN Supported:** In the premium version, product barcodes can be generated using the product's GTIN, UPC, EAN, or ISBN value. WooCommerce added this field in its 9.3.0 version. 61 62 **EAN for the WooCommerce Plugin Supported**: Existing users of the [EAN for WooCommerce plugin](https://wordpress.org/plugins/ean-for-woocommerce/) can generate product barcodes from EAN values. 63 64 65 **14 types of barcode Format**: in the Premium version, you can create product barcodes from 14 types of formats. EAN13, EAN8, UPC, etc. 66 67 **Porduct barcode for Variable attribute or Child:** The premium plugin help to generates product barcodes for both variable parent and variable child products. 68 69 **WooCommerce Order barcode**:The premium plugin allows you to create order barcodes for each order on your WooCommerce website. The order barcode value is generated from the order number or transaction number. You can view the order barcodes on the WooCommerce order dashboard page. It also creates barcodes for products on the order dashboard page. 70 71 **Order Barcode on WooCommerce Order email**: When an order is created, an order barcode is generated and this barcode will be displayed in all order emails in WooCommerce. In order emails, the item barcode can be displayed in addition to the order barcode.. 72 73 **WooCommerce Order Barcode in PDF Invoices**: The Barcode Generator Pro plugin is integrated with three (3) WooCommerce PDF Invoice plugins. So, you can add order barcodes and item barcodes to the PDF plugins below. 69 74 70 75 * PDF invoices and packing slips plugin. … … 72 77 * WooCommerce PDF Invoices - Web Toffee 73 78 74 ** barcode print (Bulk Qty)**: Easily find all products from the Print page and can bulk print by category. also, you can print one product in a bulk quantity75 76 **bar code download**: The plugin allows you to download all the product's barcode from the download page. 79 **Bulk print of product barcodes**: You can easily find all product barcodes from the print page and you can print product barcodes in bulk. There is also the facility to sort product barcodes by category, set custom width and height of barcode sticker and print for all types of pages including A4, label printer etc. 80 81 77 82 78 83 … … 80 85 81 86 [GET PRO VERSION](https://sharabindu.com/plugins/woocommerce-barcode-generator/) 87 88 89 = You may also like other plugins = 90 91 92 93 ###[QR Code Composer(Auto QR Code Generator)](https://wordpress.org/plugins/qr-code-composer/) 94 95 The plugin allows you to Gnerate QR code for each pages, posts, WooComemrce Products, Custopm post, Custom URL, Cusrom Text, CstomNumber QR code. Also can Generate Whatsapp QR code, vCArd QR code with WordPress website. 96 97 98 ###[Mini Cart For WooCommerce](https://wordpress.org/plugins/mini-cart-for-woocommerce/) 99 100 This is a cart plugin for WooCommerce. It allows you to create beautiful side cart on your WooCommerce website. This shopping cart plugin add WooCommerce cart icon to the navigation bar and footer part of the webpage. vast custromization facility with live Preview. 101 102 ###[YooBar – Top and Footer Notification Bar ](https://wordpress.org/plugins/yoo-bar/) 103 104 With this plugin, you can display attractive and effective notifications at the top and bottom of your WordPress website. inform visitors of new publications, offers, messages, news, social links, advertisements, and promotions through a notification bar. 105 106 107 ###[ELFI Masonry Addon – Creating item showcase for Elementor ](https://wordpress.org/plugins/elfi-masonry-addon/) 108 109 “ELFI Masonry” is a filterable and gallery showcase addon for the Elementor page builder. With this addon, you can create showcases for portfolios, products, or post items. And setup a category-based filter button. 110 82 111 83 112 … … 91 120 == Frequently Asked Questions == 92 121 93 = What is a barcode or bar code = 94 95 A barcode (bar code) is a visual image or bar. which is a method of representing data in machine-readable form. Initially, barcodes represent data by varying the width, spacing, and shape of parallel lines. 96 97 = How long is the barcode valid? = 98 99 Its validity is lifetime. Barcodes will never be lost 122 = What is WooCommerce barcode = 123 124 WooCommerce Barcode generally refers to a plugin or extension that allows users to create and manage barcodes for their products, orders, and invoices. Primarily, barcodes represent data by varying the width, spacing, and shape of parallel lines. 125 126 = how can benefit from WooCommerce barcode Pluign = 127 128 Using barcodes with WooCommerce offers significant benefits, Faster product identification and accurate order processing and management. Product barcodes also help in tracking inventory levels, which helps avoid product stockouts and overstocking. 129 130 = How long is the WooCommerce product barcode valid? = 131 132 The product barcode is valid for life. The barcode will never be lost. If the barcode value changes, only the barcode will change. 100 133 101 134 … … 140 173 141 174 142 = = Credits ==175 = Credits = 143 176 144 177 This plugin includes a modified version of the [JsBarcode jQuery plugin](https://github.com/lindell/JsBarcode) by Johan Lindell, which is licensed under the MIT license. Original library copyright © Johan Lindell. The modified version complies with the MIT license. 145 178 179 180 = Privacy = 181 182 This plugin does not connect to any third-party applications. It does not collect or store any user information. This plugin only generates barcode image. 183 184 = Feedback = 185 Any suggestions or feedback are welcome, thank you for using or trying my plugin. Please let me know about your experience and rate this plugin. 186 187 146 188 == Changelog == 189 190 = 1.0.3 = 191 - New: Add barcode to single Product page 192 - Update: Compatibility Update 193 147 194 = 1.0.2 = 148 195 - New: Add Download page for product Barcode 149 196 - Update: Compatibility Update 197 150 198 = 1.0.1 = 151 199 - Fix: The plugin install issues -
barcode-generator-for-woocommerce/trunk/admin/class_barcodgenfwoo-admin.php
r3249803 r3257795 4 4 * 5 5 * @link https://sharabindu.com 6 * @since 1.0. 26 * @since 1.0.3 7 7 * 8 8 * @package barcode-generator-for-woocommerce … … 25 25 * The option page variable of this plugin. 26 26 * 27 * @since 1.0. 227 * @since 1.0.3 28 28 * @access private 29 29 * @var string … … 35 35 * The ID of this plugin. 36 36 * 37 * @since 1.0. 237 * @since 1.0.3 38 38 * @access private 39 39 * @var string $plugin_name The ID of this plugin. … … 44 44 * The version of this plugin. 45 45 * 46 * @since 1.0. 246 * @since 1.0.3 47 47 * @access private 48 48 * @var string $version The current version of this plugin. … … 53 53 * Initialize the class and set its properties. 54 54 * 55 * @since 1.0. 255 * @since 1.0.3 56 56 * @param string $plugin_name The name of this plugin. 57 57 * @param string $version The version of this plugin. … … 67 67 $plugin_name = new barcodgenfwoo_dashboard(); 68 68 69 add_action( 'manage_product_posts_custom_column', array( 70 $this,'barcogen_visibility_column_content'), 10, 2 ); 69 70 include_once plugin_dir_path(dirname(__FILE__)) . 'vendor/wordpress-plugin-installer-main/class-connekt-plugin-installer.php'; 71 71 72 } 72 73 … … 74 75 * Register the stylesheets for the admin area. 75 76 * 76 * @since 1.0. 277 * @since 1.0.3 77 78 */ 78 79 public function enqueue_styles() 79 80 { 80 81 81 wp_enqueue_style($this->plugin_name, BARCODE_GENERATOR_URL . 'admin/css/barcodgenfwoo-admin.css', array() , $this->version, 'all');82 wp_enqueue_style($this->plugin_name, BARCODE_GENERATOR_URL . 'admin/css/barcodgenfwoo-admin.css', array() , time(), 'all'); 82 83 83 84 wp_enqueue_style('wp-color-picker'); … … 88 89 * Register the JavaScript for the admin area. 89 90 * 90 * @since 1.0. 291 * @since 1.0.3 91 92 */ 92 93 public function enqueue_scripts() … … 96 97 if ( ! wp_verify_nonce( $nonce, 'barcodgenfwoo-nonce' ) ) return; 97 98 wp_register_script('JsBarcode', BARCODE_GENERATOR_URL . 'admin/js/JsBarcode.all.min.js', array('jquery') , $this->version, true); 98 wp_register_script('barcodgenfwoo', BARCODE_GENERATOR_URL . 'admin/js/barcodgenfwoo.js', array('jquery','JsBarcode') , $this->version, true);99 wp_register_script('barcodgenfwoo', BARCODE_GENERATOR_URL . 'admin/js/barcodgenfwoo.js', array('jquery','JsBarcode') , time(), true); 99 100 100 101 … … 114 115 if ( sanitize_title(isset($_GET['page'])) && strpos((sanitize_title(wp_unslash($_GET['page']))), BAROCGENFOO) !== false) { 115 116 116 wp_enqueue_script('JsBarcode', BARCODE_GENERATOR_URL . 'admin/js/JsBarcode.all.min.js', array('jquery') , $this->version, true);117 wp_enqueue_script('JsBarcode', BARCODE_GENERATOR_URL . 'admin/js/JsBarcode.all.min.js', array('jquery') , time(), true); 117 118 wp_enqueue_script('wp-color-picker'); 118 119 wp_enqueue_script('barcodgenfwoo-admin', BARCODE_GENERATOR_URL . 'admin/js/barcodgenfwoo-admin.js', array('jquery') , $this->version, true); … … 121 122 if (sanitize_title(isset($_GET['page'])) && strpos((sanitize_title(wp_unslash($_GET['page']))), BAROCGDOWN) !== false) { 122 123 123 wp_enqueue_script('JsBarcode' , BARCODE_GENERATOR_URL . 'admin/js/JsBarcode.all.min.js', array('jquery') , $this->version, true);124 wp_enqueue_script('print-js', BARCODE_GENERATOR_URL . 'admin/js/jQuery.print.js', array('jquery') , $this->version, true);124 wp_enqueue_script('JsBarcode'); 125 wp_enqueue_script('print-js', BARCODE_GENERATOR_URL . 'admin/js/jQuery.print.js', array('jquery') , time(), true); 125 126 wp_enqueue_script('barcodgenfwoo'); 126 127 wp_enqueue_script('loadmore_new'); … … 133 134 * Setting link. 134 135 * 135 * @since 1.0. 2136 * @since 1.0.3 136 137 */ 137 138 … … 159 160 'pbar_downbar' 160 161 )); 161 162 add_submenu_page('barcogen_print', 'Bulk Print(PRO)', 'Bulk Print(PRO)', 'manage_options', 'https://admin.woocommercebarcode.com/wp-admin/admin.php?page=pbargeprintpage'); 163 164 add_submenu_page('barcogen_print', 'Order barcode(PRO)', 'Order barcode(PRO)', 'manage_options','https://admin.woocommercebarcode.com/wp-admin/admin.php?page=pbar_orderemail'); 162 165 163 166 … … 229 232 <ul id="pbrtabs-nav"> 230 233 <li><a href="#tab1">barcode Design</a></li> 234 <li><a href="#tab2">Display Settings</a></li> 231 235 <li><a href="admin.php?page=pbar_downbar">Download Page</a></li> 236 <li><a href="https://admin.woocommercebarcode.com/wp-admin/admin.php?page=pbargeprintpage">Bulk Print (PRO)</a></li> 237 <li><a href="https://admin.woocommercebarcode.com/wp-admin/admin.php?page=pbar_orderemail">Order Barcode (PRO)</a></li> 238 239 <li><a href="#tab3">Our All Plugins</a></li> 232 240 </ul> 233 241 <div id="pbrtab-content"> 234 <div class="tab1-tab active">242 <div id="tab1" class="pbrtab-content"> 235 243 <div class="comwrapers"> 236 244 <div class="bacogern-md-8"> … … 263 271 </div> 264 272 </div> 273 <div id="tab2" class="pbrtab-content"> 274 <form method="post" action="options.php" id="barcogenshortcodesub"> 275 <?php 276 settings_fields("pbrshortcodesettings"); 277 do_settings_sections('pbar_shortcodesettings'); 278 279 ?> 280 <div class="qrcsubmits" bis_skin_checked="1"> 281 <button type="submit" id="pbrosiudi" class="button button-primary"><span class="dashicons dashicons-cloud-saved"></span>Save Changes <span class="qrcintegrates"></span></button> 282 <span class="qrcintegrates_djkfhjhj"></span> 283 </div> 284 </form> 285 </div> 286 287 288 <div id="tab3" class="pbrtab-content"> 289 <div class="poytgwbemfn"> 290 <?php 291 292 293 $plugins = [ 294 [ 295 'slug' => 'qr-code-composer', 296 ], 297 [ 298 'slug' => 'barcode-generator-for-woocommerce', 299 ], 300 [ 301 'slug' => 'mini-cart-for-woocommerce', 302 ], 303 [ 304 'slug' => 'elfi-masonry-addon' 305 ], 306 [ 307 'slug' => 'yoo-bar' 308 ], 309 [ 310 'slug' => 'fancy-fiter' 311 ], 312 [ 313 'slug' => 'master-qr-generator' 314 ] 315 ]; 316 317 if( class_exists( 'Connekt_Plugin_Installer' ) ) { 318 Connekt_Plugin_Installer::init( $plugins ); 319 } 320 ?> 321 </div> 322 </div> 323 265 324 266 325 </div> … … 273 332 274 333 275 276 277 function barcogen_visibility_column_content( $column, $product_id ){278 if ( $column == 'barcodes' ) {279 $product = wc_get_product(get_the_ID());280 include BARCODE_GENERATOR_PATH . '/admin/extenstion/datapbarcodes.php';281 wp_enqueue_script('barcodgenfwoo');282 $pbarcode_value = isset($options['pbarcode_value']) ? $options['pbarcode_value'] : 'pbrnumber';283 $pbrdigit = isset($options['pbrdigit']) ? $options['pbrdigit'] : '6';284 285 $jhsdg = substr(number_format('84834348' * get_the_ID(),0,'',''),0,$pbrdigit);286 $meta_value = get_post_meta(get_the_ID(), 'bargeno_meta_barcode', true);287 288 if ($pbarcode_value == 'sku'){289 $printSju = $product->get_sku();290 }291 if ($pbarcode_value == 'pbrnumber' && ! empty( $meta_value )){292 $printSju = $meta_value;293 }elseif($pbarcode_value == 'pbrnumber' && empty( $meta_value )){294 $printSju = $jhsdg;295 }296 297 if ($pbarcode_value == 'ID'){298 $printSju = get_the_ID();299 }300 301 302 303 echo '<div class="barcodgenfwoomodalwrapper" style="margin: 20px 0;"><button type="button" class="barcodgenfwoo-modal-toggle">barcode</button><div class="barcodgenfwoo-modal"><div class="barcodgenfwoo-overlay barcodgenfwoo-modal-toggle"></div><div class="barcodgenfwoo-modal-wrapper barcodgenfwoo-modal-transition"><span class="barcodgenfwoo-modal-toggle">×</span><div class="pbrbarcometabinov"><img id="Probarcode_metabox_'.esc_attr(get_the_ID()).'" class="pro_basdds" data-sku="'.esc_attr($printSju).'">304 <div class="download_barcogen_conwrap">305 <a class="pbrdowlaods" id="pbrdowlaods'.esc_attr(get_the_ID()).'" download="'.esc_attr(get_the_title()).'.png">306 <button type="button" class="button button-primary" title="Download Barcode">Download</button>307 </a></div></div></div></div></div>';308 309 310 }311 334 } 312 335 313 314 }315 -
barcode-generator-for-woocommerce/trunk/admin/class_barcodgenfwoo-dashboard.php
r3249803 r3257795 6 6 * 7 7 * @link https://sharabindu.com 8 * @since 1.0. 28 * @since 1.0.3 9 9 * 10 10 * @package barcode-generator-for-woocommerce … … 27 27 { 28 28 register_setting("pbarginerator_print_option", "pbarginerator_print_option", array()); 29 register_setting("pbrshortcodesettings", "pbrshortcodesettings", array()); 29 30 30 31 add_settings_section("pbr_section_setting", " ", array( … … 68 69 ) , 'barcogencode_print_setting', "pbr_section_setting",['class' => 'parcode_labeltaxonmy']); 69 70 70 } 71 72 add_settings_section("pbar_shortcodesetting", " ", array() , 'pbar_shortcodesettings'); 73 74 add_settings_field("pbarcode_productpagese", esc_html__("Single Product Page", "barcode-generator-for-woocommerce") , array( 75 $this, 76 "pbarcode_productpagese" 77 ) , 'pbar_shortcodesettings', "pbar_shortcodesetting",['class' => 'pbarcode_productpagese']); 78 79 80 add_settings_field("pbarcode_enable_frontend", esc_html__("Turn off product page auto display", "barcode-generator-for-woocommerce") , array( 81 $this, 82 "pbarcode_enable_frontend" 83 ) , 'pbar_shortcodesettings', "pbar_shortcodesetting",['class' => 'pbarcode_enable_frontend']); 84 85 add_settings_field("pbarcode_singlepage", esc_html__("Location on product page", "barcode-generator-for-woocommerce") , array( 86 $this, 87 "pbarcode_singlepage" 88 ) , 'pbar_shortcodesettings', "pbar_shortcodesetting",['class' => 'pbarcode_singlepage']); 89 90 add_settings_field("pbarcode_wc_ptab_name", esc_html__("Change Text of Product Tab", "barcode-generator-for-woocommerce") , array( 91 $this, 92 "pbarcode_wc_ptab_name" 93 ) , 'pbar_shortcodesettings', "pbar_shortcodesetting",['class' => 'pbarcode_wc_ptab_name']); 94 95 96 97 add_settings_field("barcode_for_signgle_Page", esc_html__("Shortcode for Single Product Page", "barcode-generator-for-woocommerce") , array( 98 $this, 99 "barcode_for_signgle_Page" 100 ) , 'pbar_shortcodesettings', "pbar_shortcodesetting",['class' => 'barcode_for_signgle_Page']); 101 } 102 function pbarcode_productpagese() { 103 return true; 104 } 105 function pbarcode_enable_frontend() { 106 $options = get_option('pbrshortcodesettings'); 107 printf('<input type="checkbox" name="pbrshortcodesettings[pbarcode_enable_frontend]" class="pbrapple-switch" value="pbarcode_enable_frontend" %s id="pbarcode_enable_frontend">', (isset($options['pbarcode_enable_frontend']) && $options['pbarcode_enable_frontend'] === 'pbarcode_enable_frontend') ? 'checked' : ''); 108 } 109 110 111 function barcode_for_signgle_Page() { 112 printf('<input type="text" class="shortcodereadoly" value="[pbar-display]" id="pbr_stcode_management">'); 113 } 114 function pbarcode_singlepage() 115 { 116 117 $options = get_option('pbrshortcodesettings'); 118 $pbrppagelocation = isset($options['pbrppagelocation']) ? $options['pbrppagelocation'] : 'bellowofcart'; 119 120 ?> 121 <select class="select" name="pbrshortcodesettings[pbrppagelocation]" id="pbrppagelocation"> 122 123 <option value="inatab" <?php echo esc_attr($pbrppagelocation) == 'inatab' ? 'selected' : '' ?>><?php esc_html_e('In a tab', 'barcode-generator-for-woocommerce'); ?></option> 124 <option value="endofpmeta" <?php echo esc_attr($pbrppagelocation) == 'endofpmeta' ? 'selected' : '' ?>><?php esc_html_e('End of Product Meta', 'barcode-generator-for-woocommerce'); ?></option> 125 126 <option value="bellowofcart" <?php echo esc_attr($pbrppagelocation) == 'bellowofcart' ? 'selected' : '' ?>><?php esc_html_e('Below the cart button', 'barcode-generator-for-woocommerce'); ?></option> 127 128 <option value="abvofcart" <?php echo esc_attr($pbrppagelocation) == 'abvofcart' ? 'selected' : '' ?>><?php esc_html_e('Above the cart Button', 'barcode-generator-for-woocommerce'); ?></option> 129 130 </select> 131 132 <?php 133 } 134 function pbarcode_wc_ptab_name() 135 { 136 137 $options = get_option('pbrshortcodesettings'); 138 $pbarcode_wc_ptab_name = isset($options['pbarcode_wc_ptab_name']) ? $options['pbarcode_wc_ptab_name'] : 'Barcode'; 139 140 printf('<input type="text" name="pbrshortcodesettings[pbarcode_wc_ptab_name]" value="%s" placeholder="e:g: Barcode" id="pbarcode_wc_ptab_name">', esc_attr($pbarcode_wc_ptab_name)); 141 142 } 143 71 144 72 145 function barcode_color_settings() … … 242 315 <?php 243 316 $placeholder = esc_html__('To display all barcodes under a category, input -1', 'barcode-generator-for-woocommerce'); 244 printf('<li><strong><label for="pbr_dwnper_page"> ' . esc_html__('Barcode Qty :', 'barcode-generator-for-woocommerce') . '</label></strong><input type="number" name="pbr_downlaod_page[pbr_dwnper_page]" value="%s" min="-1" placeholder="e.g:10" id="pbr_dwnper_page"><p class="pancehids"><em style="color: #9b9b9b;">%s</em></p></li>', $pbr_dwnper_page, $placeholder);317 printf('<li><strong><label for="pbr_dwnper_page"> ' . esc_html__('Barcode Qty :', 'barcode-generator-for-woocommerce') . '</label></strong><input type="number" name="pbr_downlaod_page[pbr_dwnper_page]" value="%s" min="-1" placeholder="e.g:10" id="pbr_dwnper_page"><p class="pancehids"><em style="color: #9b9b9b;">%s</em></p></li>', esc_attr($pbr_dwnper_page), esc_attr($placeholder)); 245 318 246 319 -
barcode-generator-for-woocommerce/trunk/admin/css/barcodgenfwoo-admin.css
r3249803 r3257795 1 tr.pbarcode_productpagese th { 2 font-size: 20px!important; 3 } 1 4 .pbrbarcometabinov.potyfetures a { 2 5 display: inline-block; … … 79 82 width: 86% 80 83 } 81 84 tr.pbarcode_singlepagedesign p, tr.orders_bareabled p, tr.barcode_invoicenotes p, tr.barcode_print_iobicea p, tr.pbarcode_enable_frontend p, tr.pbarcode_singlepage p, tr.pbarcode_downlaobtn p, tr.pbarcode_downlaobtn p, tr.barcode_for_signgle_Page p, tr.pbarcode_enable_shoppage p, tr.parcode_choosebalabel p, tr.parcode_linegap p, tr.parcode_barnd p, tr.parcode_prbehavior p, tr.parcode_pricecolor p, tr.orders_page_orbarcode p, tr.pdfshoes_types p, tr.orders_pdf_product p, tr.pbarcode_widths p, tr.orderbar_height p, tr.orders_types p, tr.barcode_print_css_labess p, tr.pbarcode_values p, tr.orders_mail_product p, tr.orders_page_product p, tr.barcode_print_css_labe p, tr.parcode_labeltaxonmy p, tr.parcode_titcolor p, tr.parcode_madeby p, tr.parcode_height p, tr.parcode_width p, tr.parcode_tye p, tr.parcode_vakus p, tr.parcode_format p, tr.parcode_hidemobi p { 85 max-width: 77%; 86 font-weight: 400; 87 color: #818181; 88 } 82 89 button.pbdwnssubmit, 83 90 .pbrpintsubmit { … … 352 359 } 353 360 354 div#pbrtab-content a {355 color: #03A9F4;356 }357 361 358 362 .qrc_pro_ftcs_cont img { … … 460 464 } 461 465 462 tr.orders_page_orbarcode p, 463 tr.pdfshoes_types p, 464 tr.orders_pdf_product p, 465 tr.barcogencode_widths p, 466 tr.orderbar_height p, 467 tr.orders_types p, 468 tr.barcode_print_css_labess p, 469 tr.pbarcode_values p, 470 tr.orders_mail_product p, 471 tr.orders_page_product p, 472 tr.barcode_print_css_labe p, 473 tr.parcode_labeltaxonmy p, 474 tr.parcode_titcolor p, 475 tr.parcode_madeby p, 476 tr.parcode_height p, 477 tr.parcode_width p, 478 tr.parcode_tye p, 479 tr.parcode_vakus p, 480 tr.parcode_format p, 481 tr.parcode_hidemobi p { 482 max-width: 77%; 483 font-weight: normal; 484 color: #818181; 485 } 466 486 467 487 468 .pbrmetaperid { … … 1789 1770 box-shadow: none; 1790 1771 } 1791 1792 .barcogen_dashboard_wrap table tr { 1793 border-bottom: 1px solid #ddd; 1794 } 1795 1772 tr.pbarcode_productpagese { 1773 border-bottom: 1px solid #ccc; 1774 } 1796 1775 ul#pbrtabs-nav { 1797 1776 display: flex; … … 1879 1858 max-width: 60%; 1880 1859 } 1881 1860 span.pbrpreview { 1861 text-align: center; 1862 text-transform: uppercase; 1863 color: #000; 1864 padding: 4px; 1865 display: block; 1866 font-size: 20px; 1867 letter-spacing: 2px; 1868 } 1882 1869 .bacogern-md-4 { 1883 background: #fbe521;1884 max-width: 30%;1870 min-width: 32%; 1871 background: #fbe521; 1885 1872 } 1886 1873 -
barcode-generator-for-woocommerce/trunk/admin/extenstion/DlaodVAriable.php
r3249803 r3257795 87 87 echo '<tr id ="prod_barcode_list" style="margin-bottom:10px;margin-right: 10px;"> 88 88 <td data-label="Product Type">variable child (PRO)</td> 89 <td data-label="Product Name"><a href="'.get_the_permalink( $pbr_id).'">' . $pbr_title. '</a></td>90 <td data-label="Product Image">' . $images. '</td>89 <td data-label="Product Name"><a href="'.get_the_permalink(esc_attr($pbr_id)).'">' . esc_html($pbr_title) . '</a></td> 90 <td data-label="Product Image">' .wp_kses_post($images). '</td> 91 91 <td data-label="Barcode Number"></td> 92 92 … … 110 110 } 111 111 echo '<tr id ="prod_barcode_list" style="margin-bottom:10px;margin-right: 10px;"> 112 <td data-label="Product Type">' . $pba_type. '</td>112 <td data-label="Product Type">' . esc_html($pba_type) . '</td> 113 113 <td data-label="Product Name"><a href="'.get_the_permalink().'">' . get_the_title() . '</a></td> 114 <td data-label="Product Image">' . $images. '</td>115 <td data-label="Barcode Number">' . $printSju.'</td>114 <td data-label="Product Image">' .wp_kses_post($images). '</td> 115 <td data-label="Barcode Number">' .esc_html($printSju).'</td> 116 116 117 <td data-label="Product Barcode">'. $pbarlef.'</td></tr>';117 <td data-label="Product Barcode">'.wp_kses_post($pbarlef).'</td></tr>'; -
barcode-generator-for-woocommerce/trunk/admin/extenstion/datapbarcodes.php
r3249803 r3257795 3 3 * 4 4 * @link https://sharabindu.com 5 * @since 1.0. 25 * @since 1.0.3 6 6 * 7 7 * @package barcode-generator-for-woocommerce … … 60 60 $qr_print_fontfamily = isset($options['qr_print_fontfamily']) ? $options['qr_print_fontfamily'] : 'sans-serif'; 61 61 62 $product = wc_get_product(get_the_ID());63 if ($qr_print_title_display == 'yes')64 {65 $title_show = '<li class="pbr_title_print" style="color:' . $barcogen_title_color . ';font-size:' . $barcogen_title_font . 'px">' . get_the_title() . '</li>';66 }67 else68 {69 $title_show = '';70 }71 if ($qr_print_price_display == 'yes' && get_post_type() == 'product')72 {73 $price_show = '<li class="pbrprice_print" style="color:' . $barcogen_price_color . ';font-size:' . $barcogen_price_font . 'px">' . $product->get_price_html() . '</li>';74 }75 else76 {77 $price_show = '';78 }79 80 if ($barcogencode_types == 'svg')81 {82 $barcogencode_typess = '<svg id="Probarcode_metabox"></svg>';83 }84 else85 {86 $barcogencode_typess = '<img id="Probarcode_metabox">';87 } -
barcode-generator-for-woocommerce/trunk/admin/extenstion/pbarcode_download.php
r3249803 r3257795 4 4 { 5 5 6 6 $nonce = wp_create_nonce( 'barcoddownload-nonce' ); 7 if ( ! wp_verify_nonce( $nonce, 'barcoddownload-nonce' ) ) return; 7 8 ?> 8 9 … … 21 22 $pbr_dwn_order = isset($dwnoptions['pbr_dwn_order']) ? $dwnoptions['pbr_dwn_order'] : 'DESC'; 22 23 23 $paged = isset($_GET['paged']) ? $_GET['paged']: 1;24 $paged = isset($_GET['paged']) ? wp_unslash($_GET['paged']) : 1; 24 25 if ($pbr_dwn_cat_type == 'all') 25 26 { … … 95 96 if ($max_pages > $paged) 96 97 { 97 echo '<a id="pbrloadmoreDownlaod" href="admin.php?page=pbar_downbar&paged=' . $nextpage. '">' . esc_html__('Load More', 'barcode-generator-for-woocommerce') . '</a>';98 echo '<a id="pbrloadmoreDownlaod" href="admin.php?page=pbar_downbar&paged=' .wp_kses_post($nextpage). '">' . esc_html__('Load More', 'barcode-generator-for-woocommerce') . '</a>'; 98 99 } 99 100 ?> -
barcode-generator-for-woocommerce/trunk/admin/extenstion/preview-extntion.php
r3249803 r3257795 3 3 * 4 4 * @link https://sharabindu.com 5 * @since 1.0. 25 * @since 1.0.3 6 6 * 7 7 * @package barcode-generator-for-woocommerce … … 42 42 43 43 44 echo '<div class="loaderpsd">Loading...</div><div id="lpreviewwrap"><input class="form-control" id="userInput" type="hidden" value="'.esc_attr($printSju).'" placeholder="Barcode" autofocus><ul id="prbpreviewpass" class="master_barcode djhfdhfuh" style="list-style:none;position:sticky"><li><img id="barcodedemo_"></li></ul><div class="barcogen_freeftcs_cont"> 45 <div class="parccintr">Go to <span class="dashicons-before dashicons-archive"></span> <a href="edit.php?post_type=product" style="color:#2c2c2c">Products</a>, then find the "View Barcode" column</div></div></div>'; 44 echo '<div class="loaderpsd">Loading...</div><div id="lpreviewwrap"><span class="pbrpreview">Preview</span><input class="form-control" id="userInput" type="hidden" value="'.esc_attr($printSju).'" placeholder="Barcode" autofocus><ul id="prbpreviewpass" class="master_barcode djhfdhfuh" style="list-style:none;position:sticky"><li><img id="barcodedemo_"></li></ul></div>'; 46 45 -
barcode-generator-for-woocommerce/trunk/admin/js/barcodgenfwoo-admin.js
r3222773 r3257795 276 276 277 277 $('.parcode_titcolor th').append("<p>This is the product title and price Typography section</p>"); 278 279 280 $('.pbarcode_singlepage th').append("<p>Select where you want to see the barcode on the WooCommerce Single product page</p>"); 281 $('.pbarcode_enable_frontend th').append("<p>Click to turn off automatically display the barcode on the single product page</p>"); 282 $('.barcode_for_signgle_Page th').append("<p>This is the shortcode for generating barcode for single product page</p>"); 283 284 285 $('tr.pbarcode_singlepagedesign th').append("<p>Choose barcode style and display settings</p>"); 286 287 288 289 $('select#pbrppagelocation').change(function () { 290 if ($(this).val() == 'inatab') { 291 $('.pbarcode_wc_ptab_name').show(); 292 } else { 293 $('.pbarcode_wc_ptab_name').hide(); 294 } 295 }); 296 if ($('select#pbrppagelocation').val() == 'inatab') { 297 $('.pbarcode_wc_ptab_name').show(); 298 } else { 299 $('.pbarcode_wc_ptab_name').hide(); 300 } 301 302 303 304 305 278 306 $('#barcogendesingsubmit').on('submit', function () { 279 307 $('.qrcintegrates').addClass("pbrfancyLoaderCss"); … … 289 317 return false; 290 318 }); 319 320 $('#barcogenshortcodesub').on('submit', function () { 321 $('.qrcintegrates').addClass("pbrfancyLoaderCss"); 322 $('.qrcintegrates_djkfhjhj').hide(); 323 var b = $(this).serialize(); 324 $.post('options.php', b).error(function () { 325 alert('error') 326 }).success(function () { 327 $(".qrcintegrates").removeClass("pbrfancyLoaderCss"); 328 $('.qrcintegrates_djkfhjhj').show(); 329 $('.qrcintegrates_djkfhjhj').html('<span class="dashicons dashicons-saved"></span>') 330 }); 331 return false; 332 }); 291 333 }) 292 334 })(jQuery); … … 295 337 (function ($) { 296 338 297 jQuery(document).ready(function ($) { 298 299 300 // Suffix that will be used on the classes of the content divs. 301 var tab_suffix = '-tab'; 302 303 // Not necessary, just to enable people to choose whatever tab_suffix they want. 304 function escape_regexp(str) { 305 return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); 306 } 307 308 // Get the class ending with tab_suffix from an element. 309 function get_tab_name_from_class(el) { 310 var tab_class_pattern = new RegExp('\\S*' + escape_regexp(tab_suffix)); 311 if ($(el) && $(el).attr('class')) { 312 return $(el).attr('class').match(tab_class_pattern)[0]; 313 } 314 } 315 316 // Update the dom with the selected tab. 317 function hash_content_update() { 318 319 var active_section, 320 tab_names; 321 322 // Get all classes ending with -tab from div elements directly inside #pbrtab-content. 323 tab_names = $('div#pbrtab-content > div').map(function () { 324 var tab_name = get_tab_name_from_class($(this)); 325 if (tab_name) { 326 return tab_name.split(tab_suffix)[0]; 327 } 328 }).get(); 329 330 if (tab_names.length > 0) { 331 332 // Show first tab initially. 333 active_section = tab_names[0]; 334 if (document.location.href.split('#')[1] && tab_names.indexOf(document.location.href.split('#')[1]) > -1) { 335 active_section = document.location.href.split('#')[1]; 336 } 337 $('div#pbrtab-content div.active').removeClass('active'); 338 $('div#pbrtab-content div.' + active_section + tab_suffix).addClass('active'); 339 $('div.pbrtabs ul li.active').removeClass('active'); 340 $('div.pbrtabs ul li a[href="#' + active_section + '"]').closest('li').addClass('active'); 341 342 } 343 } 344 $(window).on('bind', 'hashchange', function () { 345 hash_content_update(); 346 }); 347 348 hash_content_update(); 349 350 }); 339 // Show the first tab and hide the rest 340 $('#pbrtabs-nav li:first-child').addClass('active'); 341 $('.pbrtab-content').hide(); 342 $('.pbrtab-content:first').show(); 343 344 // Click function 345 $('#pbrtabs-nav li').click(function () { 346 $('#pbrtabs-nav li').removeClass('active'); 347 $(this).addClass('active'); 348 $('.pbrtab-content').hide(); 349 350 var activeTab = $(this).find('a').attr('href'); 351 $(activeTab).fadeIn(); 352 return false; 353 }); 351 354 352 355 }(jQuery)); -
barcode-generator-for-woocommerce/trunk/admin/js/barcodgenfwoo.js
r3249803 r3257795 49 49 50 50 51 function printDiv() {52 var printContents = document.getElementById("printarea").innerHTML;53 var originalContents = document.body.innerHTML;54 document.body.innerHTML = printContents;55 window.print();56 document.body.innerHTML = originalContents;57 }58 51 59 52 }); … … 61 54 barcogencodemetabox(); 62 55 63 function barcodgenfwoomodalwrapper() {64 jQuery(".barcodgenfwoomodalwrapper").each(function () {65 var modlabutton = $(this).find('.barcodgenfwoo-modal-toggle');66 var modla = $(this).find('.barcodgenfwoo-modal');67 $(modlabutton).on('click', function (e) {68 e.preventDefault();69 $(modla).toggleClass('is-visible');70 });71 72 });73 }74 barcodgenfwoomodalwrapper();75 56 76 57 -
barcode-generator-for-woocommerce/trunk/barcode-generator-for-woocommerce.php
r3249803 r3257795 4 4 * Plugin URI: https://wordpress.org/plugins/barcode-generator-for-woocommerce 5 5 * Description: Auto barcode generator for WooCommerce products. 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Author: Sharabindu 8 8 * Author URI: https://sharabindu.com … … 23 23 /** 24 24 * Currently plugin version. 25 * Start at version 1.0. 2and use SemVer - https://semver.org25 * Start at version 1.0.3 and use SemVer - https://semver.org 26 26 * Rename this for your plugin and update it as you release new versions. 27 27 */ 28 define('BARCODE_GENERATOR_VERSION', '1.0. 2');28 define('BARCODE_GENERATOR_VERSION', '1.0.3'); 29 29 30 30 /** … … 83 83 * not affect the page life cycle. 84 84 * 85 * @since 1.0. 285 * @since 1.0.3 86 86 */ 87 87 function barcodgenfwoo_run() -
barcode-generator-for-woocommerce/trunk/includes/class-barcodgenfwoo-activator.php
r3249803 r3257795 5 5 * 6 6 * @link https://sharabindu.com 7 * @since 1.0. 27 * @since 1.0.3 8 8 * 9 9 * @package barcode-generator-for-woocommerce … … 16 16 * This class defines all code necessary to run during the plugin's activation. 17 17 * 18 * @since 1.0. 218 * @since 1.0.3 19 19 * @package barcode-generator-for-woocommerce 20 20 * @subpackage barcode-generator-for-woocommerce/includes … … 28 28 * Long Description. 29 29 * 30 * @since 1.0. 230 * @since 1.0.3 31 31 */ 32 32 public static function activate() { -
barcode-generator-for-woocommerce/trunk/includes/class-barcodgenfwoo-deactivator.php
r3249803 r3257795 5 5 * 6 6 * @link https://sharabindu.com 7 * @since 1.0. 27 * @since 1.0.3 8 8 * 9 9 * @package barcode-generator-for-woocommerce … … 16 16 * This class defines all code necessary to run during the plugin's deactivation. 17 17 * 18 * @since 1.0. 218 * @since 1.0.3 19 19 * @package barcode-generator-for-woocommerce 20 20 * @subpackage barcode-generator-for-woocommerce/includes … … 28 28 * Long Description. 29 29 * 30 * @since 1.0. 230 * @since 1.0.3 31 31 */ 32 32 public static function deactivate() { -
barcode-generator-for-woocommerce/trunk/includes/class-barcodgenfwoo-loader.php
r3249803 r3257795 5 5 * 6 6 * @link https://sharabindu.com 7 * @since 1.0. 27 * @since 1.0.3 8 8 * 9 9 * @package barcode-generator-for-woocommerce … … 27 27 * The array of actions registered with WordPress. 28 28 * 29 * @since 1.0. 229 * @since 1.0.3 30 30 * @access protected 31 31 * @var array $actions The actions registered with WordPress to fire when the plugin loads. … … 36 36 * The array of filters registered with WordPress. 37 37 * 38 * @since 1.0. 238 * @since 1.0.3 39 39 * @access protected 40 40 * @var array $filters The filters registered with WordPress to fire when the plugin loads. … … 45 45 * Initialize the collections used to maintain the actions and filters. 46 46 * 47 * @since 1.0. 247 * @since 1.0.3 48 48 */ 49 49 public function __construct() { … … 57 57 * Add a new action to the collection to be registered with WordPress. 58 58 * 59 * @since 1.0. 259 * @since 1.0.3 60 60 * @param string $hook The name of the WordPress action that is being registered. 61 61 * @param object $component A reference to the instance of the object on which the action is defined. … … 71 71 * Add a new filter to the collection to be registered with WordPress. 72 72 * 73 * @since 1.0. 273 * @since 1.0.3 74 74 * @param string $hook The name of the WordPress filter that is being registered. 75 75 * @param object $component A reference to the instance of the object on which the filter is defined. … … 86 86 * collection. 87 87 * 88 * @since 1.0. 288 * @since 1.0.3 89 89 * @access private 90 90 * @param array $hooks The collection of hooks that is being registered (that is, actions or filters). … … 113 113 * Register the filters and actions with WordPress. 114 114 * 115 * @since 1.0. 2115 * @since 1.0.3 116 116 */ 117 117 public function run() { -
barcode-generator-for-woocommerce/trunk/includes/class-barcodgenfwoo-number.php
r3249803 r3257795 7 7 * 8 8 * @link https://sharabindu.com 9 * @since 1.0. 29 * @since 1.0.3 10 10 * 11 11 * @package barcode-generator-for-woocommerce … … 44 44 )); 45 45 46 add_action('woocommerce_product_meta_end', array(47 $this,48 'pabr_frontend_displaynumber'49 ));50 51 52 add_filter( 'manage_edit-product_columns', array(53 $this,'pbrproducts_visibility_column'), 9999 );54 46 55 47 add_filter('manage_edit-product_columns', array( … … 60 52 } 61 53 62 63 function pbrproducts_visibility_column( $columns ){64 $columns['barcodes'] = 'View barcode';65 return $columns;66 }67 54 68 55 function pbr_admin_products_visibility_column($columns) … … 173 160 174 161 175 176 177 178 function pabr_frontend_displaynumber()179 {180 181 182 $options = get_option('pbarginerator_print_option');183 $pbarcode_value = isset($options['pbarcode_value']) ? $options['pbarcode_value'] : 'pbrnumber';184 $enablefrontend = isset($options['barcogencode_enable_frontend']) && $options['barcogencode_enable_frontend'] === 'barcogencode_enable_frontend' ? 'checked' : '';185 if($enablefrontend != 'checked'){186 echo '<p id="pbrloaders">Loading...</p><p class="pbreotiri"><strong>' . esc_html__('Barcode', 'barcode-generator-for-woocommerce') . '</strong>: <span class="brlslds"></span></p>';187 }188 189 }190 191 162 } 192 163 if (class_exists('barcodgenfwoo_numbergenrate')) -
barcode-generator-for-woocommerce/trunk/includes/class-barcodgenfwoo.php
r3249803 r3257795 8 8 * 9 9 * @link https://sharabindu.com 10 * @since 1.0. 210 * @since 1.0.3 11 11 * 12 12 * @package barcode-generator-for-woocommerce … … 23 23 * version of the plugin. 24 24 * 25 * @since 1.0. 225 * @since 1.0.3 26 26 * @package barcode-generator-for-woocommerce 27 27 * @subpackage barcode-generator-for-woocommerce/includes … … 34 34 * the plugin. 35 35 * 36 * @since 1.0. 236 * @since 1.0.3 37 37 * @access protected 38 38 * @var barcodgenfwoo_Loader $loader Maintains and registers all hooks for the plugin. … … 43 43 * The unique identifier of this plugin. 44 44 * 45 * @since 1.0. 245 * @since 1.0.3 46 46 * @access protected 47 47 * @var string $plugin_name The string used to uniquely identify this plugin. … … 52 52 * The current version of the plugin. 53 53 * 54 * @since 1.0. 254 * @since 1.0.3 55 55 * @access protected 56 56 * @var string $version The current version of the plugin. … … 65 65 * the public-facing side of the site. 66 66 * 67 * @since 1.0. 267 * @since 1.0.3 68 68 */ 69 69 public function __construct() { … … 71 71 $this->version = BARCODE_GENERATOR_VERSION; 72 72 } else { 73 $this->version = '1.0. 2';73 $this->version = '1.0.3'; 74 74 } 75 75 $this->plugin_name = 'barcode-generator-for-woocommerce'; … … 94 94 * with WordPress. 95 95 * 96 * @since 1.0. 296 * @since 1.0.3 97 97 * @access private 98 98 */ … … 110 110 111 111 require_once BARCODE_GENERATOR_PATH . 'admin/class_barcodgenfwoo-admin.php'; 112 require_once BARCODE_GENERATOR_PATH . 'includes/class-barcodgenfwoo-shortcode.php'; 112 113 113 114 $this->loader = new barcodgenfwoo_Loader(); … … 119 120 * of the plugin. 120 121 * 121 * @since 1.0. 2122 * @since 1.0.3 122 123 * @access private 123 124 */ … … 138 139 * Run the loader to execute all of the hooks with WordPress. 139 140 * 140 * @since 1.0. 2141 * @since 1.0.3 141 142 */ 142 143 public function run() { … … 148 149 * WordPress and to define internationalization functionality. 149 150 * 150 * @since 1.0. 2151 * @since 1.0.3 151 152 * @return string The name of the plugin. 152 153 */ … … 158 159 * The reference to the class that orchestrates the hooks with the plugin. 159 160 * 160 * @since 1.0. 2161 * @since 1.0.3 161 162 * @return barcodgenfwoo_Loader Orchestrates the hooks of the plugin. 162 163 */ … … 168 169 * Retrieve the version number of the plugin. 169 170 * 170 * @since 1.0. 2171 * @since 1.0.3 171 172 * @return string The version number of the plugin. 172 173 */ -
barcode-generator-for-woocommerce/trunk/languages/barcode-generator-woocommerce.pot
r3249803 r3257795 3 3 msgstr "" 4 4 "Project-Id-Version: \n" 5 "POT-Creation-Date: 2025-03- 03 21:29+0600\n"5 "POT-Creation-Date: 2025-03-18 12:51+0600\n" 6 6 "PO-Revision-Date: 2024-12-22 22:51+0600\n" 7 7 "Last-Translator: \n" … … 17 17 "X-Poedit-SearchPath-1: includes\n" 18 18 19 #: admin/class_barcodgenfwoo-admin.php:14 019 #: admin/class_barcodgenfwoo-admin.php:141 20 20 msgid "Settings" 21 21 msgstr "" 22 22 23 #: admin/class_barcodgenfwoo-admin.php:152 24 #: includes/class-barcodgenfwoo-number.php:122 25 #: includes/class-barcodgenfwoo-number.php:186 23 #: admin/class_barcodgenfwoo-admin.php:153 24 #: includes/class-barcodgenfwoo-number.php:109 26 25 msgid "Barcode" 27 26 msgstr "" 28 27 29 #: admin/class_barcodgenfwoo-admin.php:17 528 #: admin/class_barcodgenfwoo-admin.php:178 30 29 msgid "Pluign Page" 31 30 msgstr "" 32 31 33 #: admin/class_barcodgenfwoo-admin.php:17 632 #: admin/class_barcodgenfwoo-admin.php:179 34 33 msgid "Pro Demo (Backend)" 35 34 msgstr "" 36 35 37 #: admin/class_barcodgenfwoo-admin.php:1 7736 #: admin/class_barcodgenfwoo-admin.php:180 38 37 msgid "Docs" 39 38 msgstr "" 40 39 41 #: admin/class_barcodgenfwoo-admin.php:18 440 #: admin/class_barcodgenfwoo-admin.php:187 42 41 msgid "Download All Barcodes" 43 42 msgstr "" 44 43 45 #: admin/class_barcodgenfwoo-admin.php:18 546 #: admin/class_barcodgenfwoo-admin.php:22 344 #: admin/class_barcodgenfwoo-admin.php:188 45 #: admin/class_barcodgenfwoo-admin.php:226 47 46 msgid "Barcode Generator For WooCommerce Products" 48 47 msgstr "" 49 48 50 #: admin/class_barcodgenfwoo-admin.php:21 149 #: admin/class_barcodgenfwoo-admin.php:214 51 50 msgid "Frontend Demo (PRO)" 52 51 msgstr "" 53 52 54 #: admin/class_barcodgenfwoo-admin.php:21 253 #: admin/class_barcodgenfwoo-admin.php:215 55 54 msgid "Backend Demo (PRO)" 56 55 msgstr "" 57 56 58 #: admin/class_barcodgenfwoo-admin.php:21 357 #: admin/class_barcodgenfwoo-admin.php:216 59 58 msgid "Get PRO" 60 59 msgstr "" 61 60 62 #: admin/class_barcodgenfwoo-admin.php:22 261 #: admin/class_barcodgenfwoo-admin.php:225 63 62 msgid "Barcode Generator for WooCommerce" 64 63 msgstr "" 65 64 66 #: admin/class_barcodgenfwoo-dashboard.php:5 465 #: admin/class_barcodgenfwoo-dashboard.php:55 67 66 msgid "Color Setting" 68 67 msgstr "" 69 68 70 #: admin/class_barcodgenfwoo-dashboard.php:6 069 #: admin/class_barcodgenfwoo-dashboard.php:61 71 70 msgid "Barcode Content:" 72 71 msgstr "" 73 72 74 #: admin/class_barcodgenfwoo-dashboard.php:6 573 #: admin/class_barcodgenfwoo-dashboard.php:66 75 74 msgid "Barcode Label Typography" 76 75 msgstr "" 77 76 78 #: admin/class_barcodgenfwoo-dashboard.php:78 77 #: admin/class_barcodgenfwoo-dashboard.php:74 78 msgid "Single Product Page" 79 msgstr "" 80 81 #: admin/class_barcodgenfwoo-dashboard.php:80 82 msgid "Turn off product page auto display" 83 msgstr "" 84 85 #: admin/class_barcodgenfwoo-dashboard.php:85 86 msgid "Location on product page" 87 msgstr "" 88 89 #: admin/class_barcodgenfwoo-dashboard.php:90 90 msgid "Change Text of Product Tab" 91 msgstr "" 92 93 #: admin/class_barcodgenfwoo-dashboard.php:97 94 msgid "Shortcode for Single Product Page" 95 msgstr "" 96 97 #: admin/class_barcodgenfwoo-dashboard.php:151 79 98 msgid "Barcode Color: " 80 99 msgstr "" 81 100 82 #: admin/class_barcodgenfwoo-dashboard.php: 79101 #: admin/class_barcodgenfwoo-dashboard.php:152 83 102 msgid "Background Color: " 84 103 msgstr "" 85 104 86 #: admin/class_barcodgenfwoo-dashboard.php: 99105 #: admin/class_barcodgenfwoo-dashboard.php:172 87 106 msgid "Font Size: " 88 107 msgstr "" 89 108 90 #: admin/class_barcodgenfwoo-dashboard.php:1 01109 #: admin/class_barcodgenfwoo-dashboard.php:174 91 110 msgid "Text Margin: " 92 111 msgstr "" 93 112 94 #: admin/class_barcodgenfwoo-dashboard.php:1 05113 #: admin/class_barcodgenfwoo-dashboard.php:178 95 114 msgid "Font Options: " 96 115 msgstr "" 97 116 98 #: admin/class_barcodgenfwoo-dashboard.php:1 14117 #: admin/class_barcodgenfwoo-dashboard.php:187 99 118 msgid "Text Align: " 100 119 msgstr "" 101 120 102 #: admin/class_barcodgenfwoo-dashboard.php:1 23121 #: admin/class_barcodgenfwoo-dashboard.php:196 103 122 msgid "Text Position: " 104 123 msgstr "" 105 124 106 #: admin/class_barcodgenfwoo-dashboard.php:2 25125 #: admin/class_barcodgenfwoo-dashboard.php:298 107 126 msgid "Choose Category: " 108 127 msgstr "" 109 128 110 #: admin/class_barcodgenfwoo-dashboard.php: 227129 #: admin/class_barcodgenfwoo-dashboard.php:300 111 130 msgid "All" 112 131 msgstr "" 113 132 114 #: admin/class_barcodgenfwoo-dashboard.php: 241133 #: admin/class_barcodgenfwoo-dashboard.php:314 115 134 msgid "Find barcodes by category" 116 135 msgstr "" 117 136 118 #: admin/class_barcodgenfwoo-dashboard.php: 243137 #: admin/class_barcodgenfwoo-dashboard.php:316 119 138 msgid "To display all barcodes under a category, input -1" 120 139 msgstr "" 121 140 122 #: admin/class_barcodgenfwoo-dashboard.php: 244141 #: admin/class_barcodgenfwoo-dashboard.php:317 123 142 msgid "Barcode Qty :" 124 143 msgstr "" 125 144 126 #: admin/class_barcodgenfwoo-dashboard.php: 247145 #: admin/class_barcodgenfwoo-dashboard.php:320 127 146 msgid "Order By:" 128 147 msgstr "" 129 148 130 #: admin/class_barcodgenfwoo-dashboard.php: 252149 #: admin/class_barcodgenfwoo-dashboard.php:325 131 150 msgid "ID " 132 151 msgstr "" 133 152 134 #: admin/class_barcodgenfwoo-dashboard.php: 253153 #: admin/class_barcodgenfwoo-dashboard.php:326 135 154 msgid "Title" 136 155 msgstr "" 137 156 138 #: admin/class_barcodgenfwoo-dashboard.php: 254157 #: admin/class_barcodgenfwoo-dashboard.php:327 139 158 msgid "Date" 140 159 msgstr "" 141 160 142 #: admin/class_barcodgenfwoo-dashboard.php: 255161 #: admin/class_barcodgenfwoo-dashboard.php:328 143 162 msgid "Name" 144 163 msgstr "" 145 164 146 #: admin/class_barcodgenfwoo-dashboard.php: 256165 #: admin/class_barcodgenfwoo-dashboard.php:329 147 166 msgid "Modified" 148 167 msgstr "" 149 168 150 #: admin/class_barcodgenfwoo-dashboard.php: 257169 #: admin/class_barcodgenfwoo-dashboard.php:330 151 170 msgid "Menu Order" 152 171 msgstr "" 153 172 154 #: admin/class_barcodgenfwoo-dashboard.php: 258173 #: admin/class_barcodgenfwoo-dashboard.php:331 155 174 msgid "None" 156 175 msgstr "" 157 176 158 #: admin/class_barcodgenfwoo-dashboard.php: 262177 #: admin/class_barcodgenfwoo-dashboard.php:335 159 178 msgid "Display barcode image as order by" 160 179 msgstr "" 161 180 162 #: admin/class_barcodgenfwoo-dashboard.php: 265181 #: admin/class_barcodgenfwoo-dashboard.php:338 163 182 msgid "Order:" 164 183 msgstr "" 165 184 166 #: admin/class_barcodgenfwoo-dashboard.php: 270185 #: admin/class_barcodgenfwoo-dashboard.php:343 167 186 msgid "DESC " 168 187 msgstr "" 169 188 170 #: admin/class_barcodgenfwoo-dashboard.php: 271189 #: admin/class_barcodgenfwoo-dashboard.php:344 171 190 msgid "ASC" 172 191 msgstr "" 173 192 174 #: admin/class_barcodgenfwoo-dashboard.php: 274193 #: admin/class_barcodgenfwoo-dashboard.php:347 175 194 msgid "Display barcode image as order" 176 195 msgstr "" 177 196 178 #: admin/class_barcodgenfwoo-dashboard.php: 279197 #: admin/class_barcodgenfwoo-dashboard.php:352 179 198 msgid "Apply Changes" 180 199 msgstr "" 181 200 182 #: admin/extenstion/pbarcode_download.php:6 2201 #: admin/extenstion/pbarcode_download.php:63 183 202 msgid "Product Type" 184 203 msgstr "" 185 204 186 #: admin/extenstion/pbarcode_download.php:6 3205 #: admin/extenstion/pbarcode_download.php:64 187 206 msgid "Product Name" 188 207 msgstr "" 189 208 190 #: admin/extenstion/pbarcode_download.php:6 4209 #: admin/extenstion/pbarcode_download.php:65 191 210 msgid "Product Image " 192 211 msgstr "" 193 212 194 #: admin/extenstion/pbarcode_download.php:6 5213 #: admin/extenstion/pbarcode_download.php:66 195 214 msgid "Barcode Namber " 196 215 msgstr "" 197 216 198 #: admin/extenstion/pbarcode_download.php:6 7217 #: admin/extenstion/pbarcode_download.php:68 199 218 msgid "Barcode " 200 219 msgstr "" 201 220 202 #: admin/extenstion/pbarcode_download.php:9 7221 #: admin/extenstion/pbarcode_download.php:98 203 222 msgid "Load More" 204 223 msgstr "" 205 224 206 #: admin/extenstion/pbarcode_download.php:11 2225 #: admin/extenstion/pbarcode_download.php:113 207 226 msgid "No Product Found.." 208 227 msgstr "" … … 215 234 msgid "$20" 216 235 msgstr "" 236 237 #: includes/class-barcodgenfwoo-shortcode.php:115 238 msgid "The [pbar-display] shortcode only works on WooCommerce single product pages" 239 msgstr "" -
barcode-generator-for-woocommerce/trunk/uninstall.php
r3249803 r3257795 21 21 * 22 22 * @link https://sharabindu.com 23 * @since 1.0. 223 * @since 1.0.3 24 24 * 25 25 * @package barcode-generator-for-woocommerce
Note: See TracChangeset
for help on using the changeset viewer.