Plugin Directory

Changeset 1875243


Ignore:
Timestamp:
05/16/2018 08:39:13 AM (7 years ago)
Author:
Grandy
Message:

version 1.3

Location:
wc-gift-packaging
Files:
7 added
4 edited

Legend:

Unmodified
Added
Removed
  • wc-gift-packaging/trunk/languages/woocommerce-gift-packaging-de_DE.po

    r1523097 r1875243  
    22msgstr ""
    33"Project-Id-Version: WooCommerce Gift Packaging\n"
    4 "POT-Creation-Date: 2016-10-18 10:07+0200\n"
    5 "PO-Revision-Date: 2016-10-18 11:30+0200\n"
    6 "Last-Translator: \n"
     4"POT-Creation-Date: 2018-05-16 10:38+0200\n"
     5"PO-Revision-Date: 2018-05-16 10:38+0200\n"
     6"Last-Translator: Johannes Grandy <[email protected]>\n"
    77"Language-Team: Johannes Grandy <[email protected]>\n"
    88"Language: de\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 1.8.10\n"
     12"X-Generator: Poedit 2.0.6\n"
    1313"X-Poedit-KeywordsList: __;_e;_n:1,2\n"
    1414"X-Poedit-Basepath: .\n"
     
    1717"X-Poedit-SearchPath-0: ..\n"
    1818
    19 #: ../woo_gift_options.php:46
     19#: ../wc-gift-packaging.php:50
    2020msgid "Send this order packaged as gift"
    2121msgstr "Diese Bestellung als Geschenk verpackt versenden"
    2222
    23 #: ../woo_gift_options.php:88 ../woo_gift_options.php:131
    24 #: ../woo_gift_options.php:153 ../woo_gift_options.php:176
     23#: ../wc-gift-packaging.php:99 ../wc-gift-packaging.php:138
     24#: ../wc-gift-packaging.php:156 ../wc-gift-packaging.php:175
    2525msgid "Gift packaging"
    2626msgstr "Geschenkverpackung"
    2727
    28 #: ../woo_gift_options.php:123 ../woo_gift_options.php:145
    29 #: ../woo_gift_options.php:168
     28#: ../wc-gift-packaging.php:136 ../wc-gift-packaging.php:154
     29#: ../wc-gift-packaging.php:173
    3030msgid "Yes"
    3131msgstr "Ja"
    3232
    33 #: ../woo_gift_options.php:127 ../woo_gift_options.php:149
    34 #: ../woo_gift_options.php:172
     33#: ../wc-gift-packaging.php:136 ../wc-gift-packaging.php:154
     34#: ../wc-gift-packaging.php:173
    3535msgid "No"
    3636msgstr "Nein"
    3737
    38 #: ../woo_gift_options.php:190
     38#: ../wc-gift-packaging.php:191
    3939msgid "Gift packaging cost"
    4040msgstr "Kosten für die Geschenkverpackung"
    4141
    42 #: ../woo_gift_options.php:191
     42#: ../wc-gift-packaging.php:192
    4343msgid "Set here the cost for gift packaging"
    4444msgstr "Gib hier die Kosten für die Geschenkverpackung an"
  • wc-gift-packaging/trunk/readme.txt

    r1820345 r1875243  
    88Copyright: Arpit Tambi
    99Copyright URI: http://aheadzen.com/
    10 Stable tag: 1.2
     10Stable tag: 1.3
    1111
    1212This plugin adds a 'Send this order packaged as gift' option on the WooCommerce checkout.
     
    123123== Changelog ==
    124124
     125= 1.3 =
     126* Bugfix that removes a PHP-Undefined-Index-Notice
     127
    125128= 1.2 =
    126129* Bugfix that changes `$order->id` to `$order->get_order_number()`
  • wc-gift-packaging/trunk/wc-gift-packaging.php

    r1666255 r1875243  
    1111        Copyright: Arpit Tambi
    1212        Copyright URI: http://aheadzen.com/
    13         Version: 1.2
     13        Version: 1.3
    1414
    1515    */
     
    9595            parse_str( $_POST[ 'post_data' ], $data );
    9696
    97             if( ( $data[ 'wc-gift-packaging' ] OR $_POST[ 'wc-gift-packaging' ] ) AND !empty( $gift_packaging_fee ) ):
     97            if( ( isset( $data[ 'wc-gift-packaging' ] ) OR isset( $_POST[ 'wc-gift-packaging' ] ) ) AND !empty( $gift_packaging_fee ) ):
    9898
    9999                $woocommerce->cart->add_fee( __( 'Gift packaging', 'wc-gift-packaging' ), $gift_packaging_fee );
Note: See TracChangeset for help on using the changeset viewer.