WordPress.org

Plugin Directory

Changeset 1530348


Ignore:
Timestamp:
11/08/16 11:18:23 (12 months ago)
Author:
bobbingwide
Message:

v0.0.2 - v0.0.1 can't be used to implement multiple rates
Tested with WooCommerce 2.6.7

Location:
oik-weight-zone-shipping/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • oik-weight-zone-shipping/trunk/class-oik-weight-zone-shipping.php

    r1468709 r1530348  
    110110                ), 
    111111                'tax_status' => array( 
    112                     'title'       => __( 'Tax Status', 'woocommerce' ), 
     112                    'title'       => __( 'Tax Status', 'oik-weight-zone-shipping' ), 
    113113                    'type'        => 'select', 
    114114                    'class'             => 'wc-enhanced-select', 
     
    116116                    'default'     => 'taxable', 
    117117                    'options'     => array( 
    118                         'taxable'   => __( 'Taxable', 'woocommerce' ), 
    119                         'none'      => _x( 'None', 'Tax status', 'woocommerce' ) 
     118                        'taxable'   => __( 'Taxable', 'oik-weight-zone-shipping' ), 
     119                        'none'      => _x( 'None', 'Tax status', 'oik-weight-zone-shipping' ) 
    120120                        ) 
    121121                ), 
     
    171171            } 
    172172            $rate = array( 
    173                              'id'        => $this->id, 
     173                             'id'        => $this->id . "_" .  $this->instance_id,  
    174174                             'label'     => $this->shippingrate_title, 
    175175                             'cost'      => $final_rate, 
     
    177177                             'calc_tax'  => 'per_order' 
    178178                             ); 
     179            //bw_trace2( $rate, "rate" ); 
    179180            $this->add_rate( $rate ); 
    180181        } else { 
  • oik-weight-zone-shipping/trunk/languages/oik-weight-zone-shipping-bb_BB.po

    r1468709 r1530348  
    44msgstr """Project-Id-Version: oik weight zone shipping 0.0.1\n" 
    55"Report-Msgid-Bugs-To: http://wordpress.org/tag/oik-weight-zone-shipping\n" 
    6 "POT-Creation-Date: 2016-08-04 13:08:56+00:00\n" 
     6"POT-Creation-Date: 2016-08-09 14:07:07+00:00\n" 
    77"MIME-Version: 1.0\n" 
    88"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n" 
  • oik-weight-zone-shipping/trunk/languages/oik-weight-zone-shipping-fr_FR.po

    r1468709 r1530348  
    1 # Copyright (C) 2016 oik weight zone shipping 
    2 # This file is distributed under the same license as the oik weight zone shipping package. 
     1# Translation of Plugins - Weight zone shipping for WooCommerce 2.6 - Development (trunk) in French (France) 
     2# This file is distributed under the same license as the Plugins - Weight zone shipping for WooCommerce 2.6 - Development (trunk) package. 
    33msgid "" 
    44msgstr "" 
    5 "Project-Id-Version: oik weight zone shipping 0.0.1\n" 
    6 "Report-Msgid-Bugs-To: http://wordpress.org/tag/oik-weight-zone-shipping\n" 
    7 "POT-Creation-Date: 2016-08-04 13:08:56+00:00\n" 
     5"PO-Revision-Date: 2016-08-10 11:19:31+0000\n" 
    86"MIME-Version: 1.0\n" 
    9 "Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n" 
    10 "Language: fr_FR\n" 
    117"Content-Type: text/plain; charset=UTF-8\n" 
    128"Content-Transfer-Encoding: 8bit\n" 
    13 "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n" 
    14 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
    15 "Language-Team: LANGUAGE <LL@li.org>\n" 
    16 #: class-oik-weight-zone-shipping.php:39 
    17 msgid "Weight Zone" 
    18 msgstr "Poids Zone" 
     9"Plural-Forms: nplurals=2; plural=n > 1;\n" 
     10"X-Generator: GlotPress/2.3.0-alpha\n" 
     11"Language: fr\n" 
     12"Project-Id-Version: Plugins - Weight zone shipping for WooCommerce 2.6 - Development (trunk)\n" 
    1913 
    20 #: class-oik-weight-zone-shipping.php:40 
    21 msgid "Lets you charge based on cart weight." 
    22 msgstr "Vous permet de charger en fonction de panier poids." 
     14#. Author URI of the plugin/theme 
     15msgid "http://www.oik-plugins.com/author/bobbingwide" 
     16msgstr "http://www.oik-plugins.com/author/bobbingwide" 
    2317 
    24 #: class-oik-weight-zone-shipping.php:41 
    25 msgid "Weight and zone based shipping" 
    26 msgstr "Poids et de la zone à base d'expédition" 
     18#. Author of the plugin/theme 
     19msgid "bobbingwide" 
     20msgstr "bobbingwide" 
    2721 
    28 #: class-oik-weight-zone-shipping.php:42 
    29 msgid "Define rates for shipping by weight and zone" 
    30 msgstr "Définir les taux d'expédition en poids et de la zone" 
     22#. Description of the plugin/theme 
     23msgid "Weight zone shipping for WooCommerce 2.6" 
     24msgstr "Weight zone shipping pour WooCommerce 2.6" 
     25 
     26#. Plugin URI of the plugin/theme 
     27msgid "http://www.oik-plugins.com/oik-plugins/oik-weight-zone-shipping" 
     28msgstr "http://www.oik-plugins.com/oik-plugins/oik-weight-zone-shipping" 
     29 
     30#. Plugin Name of the plugin/theme 
     31msgid "oik weight zone shipping" 
     32msgstr "oik weight zone shipping" 
     33 
     34#: class-oik-weight-zone-shipping.php:126 
     35msgid "Fee excluding tax, e.g. 3.50. Leave blank to disable." 
     36msgstr "Frais excluant la TVA, par exemple 3.50. Laissez vide pour ignorer." 
     37 
     38#: class-oik-weight-zone-shipping.php:124 
     39msgid "Handling Fee" 
     40msgstr "Frais de traitement" 
     41 
     42#: class-oik-weight-zone-shipping.php:119 
     43msgctxt "Tax status" 
     44msgid "None" 
     45msgstr "Aucune" 
     46 
     47#: class-oik-weight-zone-shipping.php:118 
     48msgid "Taxable" 
     49msgstr "Taxable" 
     50 
     51#: class-oik-weight-zone-shipping.php:112 
     52msgid "Tax Status" 
     53msgstr "État de la TVA" 
     54 
     55#: class-oik-weight-zone-shipping.php:106 
     56msgid "Set your weight based rates in %1$s for this shipping zone (one per line).<br /> Format: Max weight|Cost|Method Title override<br />Example: 10|6.95|Standard rate <br />For decimal, use a dot not a comma." 
     57msgstr "Définissez vos tarifs en fonction du poids en %1$s pour cette zone de livraison (un par ligne). <br />Format : Poids Max | Coût | Titre de méthode<br />Exemple: 10|6.95|A domicile <br />Pour les décimales,  utilisez un point, pas une virgule." 
     58 
     59#: class-oik-weight-zone-shipping.php:104 
     60msgid "Shipping Rates" 
     61msgstr "Frais de livraison" 
     62 
     63#: class-oik-weight-zone-shipping.php:99 
     64msgid "Weight zone shipping" 
     65msgstr "Weight zone shipping" 
     66 
     67#: class-oik-weight-zone-shipping.php:98 
     68msgid "The title which the user sees during checkout, if not defined in Shipping Rates." 
     69msgstr "Le titre que l’utilisateur voit lors de la commande, s’il n'est pas défini dans les frais de livraison." 
    3170 
    3271#: class-oik-weight-zone-shipping.php:96 
     
    3473msgstr "Titre de la méthode" 
    3574 
    36 #: class-oik-weight-zone-shipping.php:98 
    37 msgid "" 
    38 "The title which the user sees during checkout, if not defined in Shipping " 
    39 "Rates." 
    40 msgstr "Le titre que l'utilisateur voit lors de la commande , si non défini dans Frais d'expédition ." 
     75#: class-oik-weight-zone-shipping.php:42 
     76msgid "Define rates for shipping by weight and zone" 
     77msgstr "Définir les frais de livraison par poids et par zone" 
    4178 
    42 #: class-oik-weight-zone-shipping.php:99 
    43 msgid "Weight zone shipping" 
    44 msgstr "expédition de la zone de poids" 
     79#: class-oik-weight-zone-shipping.php:41 
     80msgid "Weight and zone based shipping" 
     81msgstr "Livraison basée sur le poids et la zone" 
    4582 
    46 #: class-oik-weight-zone-shipping.php:104 
    47 msgid "Shipping Rates" 
    48 msgstr "Frais de livraison" 
     83#: class-oik-weight-zone-shipping.php:40 
     84msgid "Lets you charge based on cart weight." 
     85msgstr "Permettre de facturer en fonction du poids du panier." 
    4986 
    50 #: class-oik-weight-zone-shipping.php:106 
    51 msgid "" 
    52 "Set your weight based rates in %1$s for this shipping zone (one per line)." 
    53 "<br /> Format: Max weight|Cost|Method Title override<br />Example: 10|6.95|" 
    54 "Standard rate <br />For decimal, use a dot not a comma." 
    55 msgstr "Définissez vos tarifs en fonction du poids en %1$s pour cette zone d'expédition (un par ligne). <br />Format : Poids | Coût | Méthode Titre override<br />" 
    56  
    57 #: class-oik-weight-zone-shipping.php:112 
    58 msgid "Tax Status" 
    59 msgstr "État de la TVA" 
    60  
    61 #: class-oik-weight-zone-shipping.php:118 
    62 msgid "Taxable" 
    63 msgstr "Taxable" 
    64  
    65 #: class-oik-weight-zone-shipping.php:119 
    66 msgctxt "Tax status" 
    67 msgid "None" 
    68 msgstr "Aucun" 
    69  
    70 #: class-oik-weight-zone-shipping.php:124 
    71 msgid "Handling Fee" 
    72 msgstr "Frais de traitement" 
    73  
    74 #: class-oik-weight-zone-shipping.php:126 
    75 msgid "Fee excluding tax, e.g. 3.50. Leave blank to disable." 
    76 msgstr "Frais excluant la TVA, par exemple 3.5. Laisser vide pour ignorer." 
    77  
    78 #. Plugin Name of the plugin/theme 
    79 msgid "oik weight zone shipping" 
    80 msgstr "oik weight zone shipping" 
    81  
    82 #. Plugin URI of the plugin/theme 
    83 msgid "http://www.oik-plugins.com/oik-plugins/oik-weight-zone-shipping" 
    84 msgstr "http://www.oik-plugins.com/oik-plugins/oik-weight-zone-shipping" 
    85  
    86 #. Description of the plugin/theme 
    87 msgid "Weight zone shipping for WooCommerce 2.6" 
    88 msgstr "Poids d'expédition de zone pour WooCommerce 2.6" 
    89  
    90 #. Author of the plugin/theme 
    91 msgid "bobbingwide" 
    92 msgstr "bobbingwide" 
    93  
    94 #. Author URI of the plugin/theme 
    95 msgid "http://www.oik-plugins.com/author/bobbingwide" 
    96 msgstr "http://www.oik-plugins.com/author/bobbingwide" 
    97  
     87#: class-oik-weight-zone-shipping.php:39 
     88msgid "Weight Zone" 
     89msgstr "Zone de poids" 
  • oik-weight-zone-shipping/trunk/languages/oik-weight-zone-shipping.pot

    r1468709 r1530348  
    33msgid "" 
    44msgstr "" 
    5 "Project-Id-Version: oik weight zone shipping 0.0.0\n" 
     5"Project-Id-Version: oik weight zone shipping 0.0.1\n" 
    66"Report-Msgid-Bugs-To: http://wordpress.org/tag/oik-weight-zone-shipping\n" 
    7 "POT-Creation-Date: 2016-08-01 12:07:05+00:00\n" 
     7"POT-Creation-Date: 2016-08-09 14:07:07+00:00\n" 
    88"MIME-Version: 1.0\n" 
    99"Content-Type: text/plain; charset=UTF-8\n" 
     
    1313"Language-Team: LANGUAGE <LL@li.org>\n" 
    1414 
    15 #: class-oik-weight-zone-shipping.php:38 
     15#: class-oik-weight-zone-shipping.php:39 
    1616msgid "Weight Zone" 
    1717msgstr "" 
    1818 
    19 #: class-oik-weight-zone-shipping.php:39 
     19#: class-oik-weight-zone-shipping.php:40 
    2020msgid "Lets you charge based on cart weight." 
    2121msgstr "" 
    2222 
    23 #: class-oik-weight-zone-shipping.php:40 
     23#: class-oik-weight-zone-shipping.php:41 
    2424msgid "Weight and zone based shipping" 
    2525msgstr "" 
    2626 
    27 #: class-oik-weight-zone-shipping.php:41 
     27#: class-oik-weight-zone-shipping.php:42 
    2828msgid "Define rates for shipping by weight and zone" 
    2929msgstr "" 
    3030 
    31 #: class-oik-weight-zone-shipping.php:95 
     31#: class-oik-weight-zone-shipping.php:96 
    3232msgid "Method Title" 
    3333msgstr "" 
    3434 
    35 #: class-oik-weight-zone-shipping.php:97 
     35#: class-oik-weight-zone-shipping.php:98 
    3636msgid "" 
    3737"The title which the user sees during checkout, if not defined in Shipping " 
     
    3939msgstr "" 
    4040 
    41 #: class-oik-weight-zone-shipping.php:98 
     41#: class-oik-weight-zone-shipping.php:99 
    4242msgid "Weight zone shipping" 
    4343msgstr "" 
    4444 
    45 #: class-oik-weight-zone-shipping.php:103 
     45#: class-oik-weight-zone-shipping.php:104 
    4646msgid "Shipping Rates" 
    4747msgstr "" 
    4848 
    49 #: class-oik-weight-zone-shipping.php:105 
     49#: class-oik-weight-zone-shipping.php:106 
    5050msgid "" 
    5151"Set your weight based rates in %1$s for this shipping zone (one per line)." 
     
    5454msgstr "" 
    5555 
    56 #: class-oik-weight-zone-shipping.php:111 
     56#: class-oik-weight-zone-shipping.php:112 
    5757msgid "Tax Status" 
    5858msgstr "" 
    5959 
    60 #: class-oik-weight-zone-shipping.php:117 
     60#: class-oik-weight-zone-shipping.php:118 
    6161msgid "Taxable" 
    6262msgstr "" 
    6363 
    64 #: class-oik-weight-zone-shipping.php:118 
     64#: class-oik-weight-zone-shipping.php:119 
    6565msgctxt "Tax status" 
    6666msgid "None" 
    6767msgstr "" 
    6868 
    69 #: class-oik-weight-zone-shipping.php:123 
     69#: class-oik-weight-zone-shipping.php:124 
    7070msgid "Handling Fee" 
    7171msgstr "" 
    7272 
    73 #: class-oik-weight-zone-shipping.php:125 
     73#: class-oik-weight-zone-shipping.php:126 
    7474msgid "Fee excluding tax, e.g. 3.50. Leave blank to disable." 
    7575msgstr "" 
  • oik-weight-zone-shipping/trunk/oik-weight-zone-shipping.php

    r1470871 r1530348  
    44 * Plugin URI: http://www.oik-plugins.com/oik-plugins/oik-weight-zone-shipping 
    55 * Description: Weight zone shipping for WooCommerce 2.6 
    6  * Version: 0.0.1 
     6 * Version: 0.0.2 
    77 * Author: bobbingwide 
    88 * Author URI: http://www.oik-plugins.com/author/bobbingwide 
  • oik-weight-zone-shipping/trunk/readme.txt

    r1468709 r1530348  
    44Tags: shipping, weight, zone, woocommerce, commerce, ecommerce, shop 
    55Requires at least: 4.5.2 
    6 Tested up to: 4.6-RC1 
    7 Stable tag: 0.0.1 
     6Tested up to: 4.6.1 
     7Stable tag: 0.0.2 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    7171= Does this support multiple rates per weight/shipping zone combination? = 
    7272 
    73 Yes.  
     73Yes - from version 0.0.2 
    7474 
    7575Because this plugin is integrated with WooCommerce Shipping Zones you can achieve it by  
     
    8686= Are there any other FAQs? = 
    8787 
    88 Yes. See [oik weight zone shipping for WooCommerce 2.6 FAQS](http://www.oik-plugins.com/wordpress-plugins-from-oik-plugins/oik-weight-zone-shipping-faqs) 
     88Yes. See [oik weight zone shipping for WooCommerce 2.6 FAQS](http://www.oik-plugins.com/oik-plugins/oik-weight-zone-shipping/?oik-tab=faq) 
    8989and [Multi rate weight shipping for WooCommerce 2.6 FAQ's](http://www.oik-plugins.com/oik-plugins/oik-weight-zone-shipping-pro/?oik-tab=faq) 
     90                                                                                                                     
    9091 
    9192== Screenshots == 
     
    99100 
    100101== Upgrade Notice == 
     102= 0.0.2 =  
     103Contains a fix so that multiple weight zone shipping methods can be implemented. 
     104 
    101105= 0.0.1 =  
    102106Checks for WooCommerce 2.6 or higher 
     
    108112 
    109113== Changelog == 
     114= 0.0.2 =  
     115* Fixed: Support multiple rates using multiple methods [Issue 6](https://github.com/bobbingwide/oik-weight-zone-shipping/issues/6)   
     116* Tested: With WordPress 4.6.1 and WooCommerce 2.6.7  
     117* Updated: readme links 
     118 
    110119= 0.0.1 =  
    111 * Changed: Move shipping rates before tax status [github bobbingwide oik-weight-zone-shipping issue 1] 
    112 * Changed: Share OIK_Weight_Shipping class with oik-weight-zone-shipping-pro [github bobbingwide oik-weight-zone-shipping issue 3] 
    113 * Changed: Implement checks for WooCommerce 2.6 or higher [github bobbingwide oik-weight-zone-shipping issue 4] 
    114 * Changed: Update language files [github bobbingwide oik-weight-zone-shipping issue 5] 
     120* Changed: Move shipping rates before tax status [Issue 1](https://github.com/bobbingwide/oik-weight-zone-shipping/issues/1) 
     121* Changed: Share OIK_Weight_Shipping class with oik-weight-zone-shipping-pro [Issue 3](https://github.com/bobbingwide/oik-weight-zone-shipping/issues/3) 
     122* Changed: Implement checks for WooCommerce 2.6 or higher [Issue 4](https://github.com/bobbingwide/oik-weight-zone-shipping/issues/4) 
     123* Changed: Update language files [Issue 5](https://github.com/bobbingwide/oik-weight-zone-shipping/issues/5) 
    115124* Changed: Updated readme: description, screenshots and captions 
    116125 
Note: See TracChangeset for help on using the changeset viewer.