Plugin Directory

Changeset 1812170


Ignore:
Timestamp:
01/30/2018 07:06:02 PM (8 years ago)
Author:
Kuuak
Message:

Fix attributes order & tested plugin with WP 4.9.2 & WC 3.2.6

Location:
woo-default-attributes/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • woo-default-attributes/trunk/README.txt

    r1533720 r1812170  
    33Tags: woocommerce, attribute, attributes, admin, administration
    44Requires at least: 4.4
    5 Tested up to: 4.6.1
    6 Stable tag: 1.0.0
     5Tested up to: 4.9.1
     6Stable tag: 1.0.1
    77Requires at least WooCommerce: 2.5
    8 Tested up to WooCommerce: 2.6.8
     8Tested up to WooCommerce: 3.2.6
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1414== Description ==
    1515
    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.
     16After 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.
    1817
    1918It will make the creation of new product more efficient and fast as you won't need
     
    2827== Frequently Asked Questions ==
    2928
     29= Why does the default attributes do not show in an already created product ? =
     30
     31This is a WooCommerce limitation.
     32
     33= Is this plugin kept up to date =
     34
     35I 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
     39Don't hesitate to fork this plugin and submit pull request at https://github.com/Kuuak/woo-default-attributes.
     40
    3041== Screenshots ==
    3142
     
    3546== Changelog ==
    3647
     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
    3752= 1.0.0 =
    3853* Initial release
  • woo-default-attributes/trunk/admin/class-wdat-admin.php

    r1533720 r1812170  
    33 * The admin-specific functionality of the plugin.
    44 *
    5  * @link       http://opusmagnum.ch
     5 * @link       https://github.com/Kuuak/woo-default-attributes
    66 * @since      1.0.0
    77 *
     
    1818 * @package    Woo_Default_Attributes
    1919 * @subpackage Woo_Default_Attributes/admin
    20  * @author     Felipe Paul Martins <fpm@opusmagnum.ch>
     20 * @author     Kuuak
    2121 */
    2222if ( !class_exists( 'WDAT_Admin' ) ) {
     
    108108                                'name'                  => $attr_name,
    109109                                'value'                 => "",
    110                                 'position'          => "$1",
     110                                'position'          => $i,
    111111                                'is_visible'        => 1,
    112112                                'is_variation'  => 0,
  • woo-default-attributes/trunk/admin/class-wdat-settings.php

    r1533720 r1812170  
    33 * The Settings page of the plugin.
    44 *
    5  * @link       http://opusmagnum.ch
     5 * @link       https://github.com/Kuuak/woo-default-attributes
    66 * @since      1.0.0
    77 *
     
    1818 * @package    Woo_Default_Attributes
    1919 * @subpackage Woo_Default_Attributes/admin
    20  * @author     Felipe Paul Martins <fpm@opusmagnum.ch>
     20 * @author     Kuuak
    2121 */
    2222if ( !class_exists( 'WADT_Settings' ) ) {
     
    114114         */
    115115        public function register_settings_menu(){
    116 
    117             if ( !function_exists('wc_get_attribute_taxonomies') ) {
    118                 return;
    119             }
    120116
    121117            $this->wc_attrs = wc_get_attribute_taxonomies();
  • woo-default-attributes/trunk/uninstall.php

    r1533720 r1812170  
    44 *
    55 * @package     Woo_Default_Attributes
    6  * @author      Felipe Paul Martins <fpm@opusmagnum.ch>
     6 * @author      Kuuak
    77 * @license     GPL-2.0+
    8  * @link            http://opusmagnum.ch
     8 * @link            https://github.com/Kuuak/woo-default-attributes
    99 */
    1010
  • woo-default-attributes/trunk/woo-default-attributes.php

    r1533720 r1812170  
    33 * Plugin Name:     Woo Default Attributes
    44 * Description:     Define default attributes to be automatically added in WooCommerce new product page.
    5  * Author:              Felipe Paul Martins - Opus Magnum
     5 * Author:              Kuuak
    66 * Version:             1.0.0
    7  * Author URI:      https://opusmagnum.ch
     7 * Author URI:      https://wordpress.org/support/users/kuuak/
    88 * License:             GPL-2.0+
    99 * License URI:     http://www.gnu.org/licenses/gpl-2.0.txt
     
    1919 *
    2020 * @package     Woo_Default_Attributes
    21  * @author      Felipe Paul Martins <fpm@opusmagnum.ch>
     21 * @author      Kuuak
    2222 * @license     GPL-2.0+
    23  * @link            https://opusmagnum.ch
     23 * @link            https://github.com/Kuuak/woo-default-attributes
    2424 */
    2525
Note: See TracChangeset for help on using the changeset viewer.