Changeset 1812170
- Timestamp:
- 01/30/2018 07:06:02 PM (8 years ago)
- Location:
- woo-default-attributes/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (4 diffs)
-
admin/class-wdat-admin.php (modified) (3 diffs)
-
admin/class-wdat-settings.php (modified) (3 diffs)
-
uninstall.php (modified) (1 diff)
-
woo-default-attributes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-default-attributes/trunk/README.txt
r1533720 r1812170 3 3 Tags: woocommerce, attribute, attributes, admin, administration 4 4 Requires at least: 4.4 5 Tested up to: 4. 6.16 Stable tag: 1.0. 05 Tested up to: 4.9.1 6 Stable tag: 1.0.1 7 7 Requires at least WooCommerce: 2.5 8 Tested up to WooCommerce: 2.6.88 Tested up to WooCommerce: 3.2.6 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 14 14 == Description == 15 15 16 After setting up WooCommerce and defining product attributes, you can width this plugin 17 define the default attributes, as well as there order, to be automatically added to new product. 16 After setting up WooCommerce and defining product attributes, you can define the default attributes, as well as there order, to be automatically added to new product. 18 17 19 18 It will make the creation of new product more efficient and fast as you won't need … … 28 27 == Frequently Asked Questions == 29 28 29 = Why does the default attributes do not show in an already created product ? = 30 31 This is a WooCommerce limitation. 32 33 = Is this plugin kept up to date = 34 35 I unfortunately didn't have much time to keep this plugin up to date in the pas year, but will now find some time to keep this updated. 36 37 == Contribute == 38 39 Don't hesitate to fork this plugin and submit pull request at https://github.com/Kuuak/woo-default-attributes. 40 30 41 == Screenshots == 31 42 … … 35 46 == Changelog == 36 47 48 = 1.0.1 = 49 * Fix default attributes order. thanks to @Spinal for the fix. 50 * Tested plugin with WordPress 4.9.2 and WooCommerce 3.2.6 51 37 52 = 1.0.0 = 38 53 * Initial release -
woo-default-attributes/trunk/admin/class-wdat-admin.php
r1533720 r1812170 3 3 * The admin-specific functionality of the plugin. 4 4 * 5 * @link http ://opusmagnum.ch5 * @link https://github.com/Kuuak/woo-default-attributes 6 6 * @since 1.0.0 7 7 * … … 18 18 * @package Woo_Default_Attributes 19 19 * @subpackage Woo_Default_Attributes/admin 20 * @author Felipe Paul Martins <fpm@opusmagnum.ch>20 * @author Kuuak 21 21 */ 22 22 if ( !class_exists( 'WDAT_Admin' ) ) { … … 108 108 'name' => $attr_name, 109 109 'value' => "", 110 'position' => "$1",110 'position' => $i, 111 111 'is_visible' => 1, 112 112 'is_variation' => 0, -
woo-default-attributes/trunk/admin/class-wdat-settings.php
r1533720 r1812170 3 3 * The Settings page of the plugin. 4 4 * 5 * @link http ://opusmagnum.ch5 * @link https://github.com/Kuuak/woo-default-attributes 6 6 * @since 1.0.0 7 7 * … … 18 18 * @package Woo_Default_Attributes 19 19 * @subpackage Woo_Default_Attributes/admin 20 * @author Felipe Paul Martins <fpm@opusmagnum.ch>20 * @author Kuuak 21 21 */ 22 22 if ( !class_exists( 'WADT_Settings' ) ) { … … 114 114 */ 115 115 public function register_settings_menu(){ 116 117 if ( !function_exists('wc_get_attribute_taxonomies') ) {118 return;119 }120 116 121 117 $this->wc_attrs = wc_get_attribute_taxonomies(); -
woo-default-attributes/trunk/uninstall.php
r1533720 r1812170 4 4 * 5 5 * @package Woo_Default_Attributes 6 * @author Felipe Paul Martins <fpm@opusmagnum.ch>6 * @author Kuuak 7 7 * @license GPL-2.0+ 8 * @link http ://opusmagnum.ch8 * @link https://github.com/Kuuak/woo-default-attributes 9 9 */ 10 10 -
woo-default-attributes/trunk/woo-default-attributes.php
r1533720 r1812170 3 3 * Plugin Name: Woo Default Attributes 4 4 * Description: Define default attributes to be automatically added in WooCommerce new product page. 5 * Author: Felipe Paul Martins - Opus Magnum5 * Author: Kuuak 6 6 * Version: 1.0.0 7 * Author URI: https:// opusmagnum.ch7 * Author URI: https://wordpress.org/support/users/kuuak/ 8 8 * License: GPL-2.0+ 9 9 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 19 19 * 20 20 * @package Woo_Default_Attributes 21 * @author Felipe Paul Martins <fpm@opusmagnum.ch>21 * @author Kuuak 22 22 * @license GPL-2.0+ 23 * @link https:// opusmagnum.ch23 * @link https://github.com/Kuuak/woo-default-attributes 24 24 */ 25 25
Note: See TracChangeset
for help on using the changeset viewer.