Changeset 3353917 – WordPress Plugin Repository (original) (raw)
posten-bring-checkout/tags/1.1.29/admin/Backoffice.php
| r3338708 | r3353917 | |
|---|---|---|
| 539 | 539 | public function add_custom_product_variant_meta_data( index,index, index,variation_data, $variation ) { |
| 540 | 540 | productvariation=wcgetproduct(product_variation = wc_get_product( productvariation=wcgetproduct(variation->ID ); |
| 541 | ?> | |
| 542 | ||
| 543 | ||
| 544 | ||
| 545 | ||
| 546 | ||
| 547 | <?php | |
| 548 | woocommerce_wp_checkbox( | |
| 549 | array( | |
| 550 | 'id' => '_posten_bring_checkout_too_large_for_parcel_locker[' . $index . ']', | |
| 551 | 'class' => 'checkbox', | |
| 552 | 'label' => __( 'Too large for parcel locker', 'posten-bring-checkout' ), | |
| 553 | 'description' => __( 'When checked, product is treated as too large for a parcel locker. This will make all parcel locker pickup points unavailable during checkout.', 'posten-bring-checkout' ), | |
| 554 | 'desc_tip' => true, | |
| 555 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_too_large_for_parcel_locker' ), | |
| 556 | ) | |
| 557 | ); | |
| 558 | woocommerce_wp_checkbox( | |
| 559 | array( | |
| 560 | 'id' => '_posten_bring_checkout_too_large_for_mailbox[' . $index . ']', | |
| 561 | 'class' => 'checkbox', | |
| 562 | 'label' => __( 'Too large for mailbox', 'posten-bring-checkout' ), | |
| 563 | 'description' => __( 'When checked, product is treated as too large for a mailbox. This will make the Mailbox parcel shipping option unavailable during checkout.', 'posten-bring-checkout' ), | |
| 564 | 'desc_tip' => true, | |
| 565 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_too_large_for_mailbox' ), | |
| 566 | ) | |
| 567 | ); | |
| 568 | woocommerce_wp_checkbox( | |
| 569 | array( | |
| 570 | 'id' => '_posten_bring_checkout_disable_all[' . $index . ']', | |
| 571 | 'class' => 'checkbox', | |
| 572 | 'label' => __( "Disable Posten Bring's shipping options", 'posten-bring-checkout' ), | |
| 573 | 'description' => __( 'When checked, all shipping options provided via Posten Bring Checkout are unavailable for this product during checkout.', 'posten-bring-checkout' ), | |
| 574 | 'desc_tip' => true, | |
| 575 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_disable_all' ), | |
| 576 | ) | |
| 577 | ); | |
| 578 | ?> | |
| 541 | if ($product_variation) { | |
| 542 | ?> | |
| 543 | ||
| 544 | ||
| 545 | ||
| 546 | ||
| 547 | ||
| 548 | <?php | |
| 549 | woocommerce_wp_checkbox( | |
| 550 | array( | |
| 551 | 'id' => '_posten_bring_checkout_too_large_for_parcel_locker[' . $index . ']', | |
| 552 | 'class' => 'checkbox', | |
| 553 | 'label' => __( 'Too large for parcel locker', 'posten-bring-checkout' ), | |
| 554 | 'description' => __( 'When checked, product is treated as too large for a parcel locker. This will make all parcel locker pickup points unavailable during checkout.', 'posten-bring-checkout' ), | |
| 555 | 'desc_tip' => true, | |
| 556 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_too_large_for_parcel_locker' ), | |
| 557 | ) | |
| 558 | ); | |
| 559 | woocommerce_wp_checkbox( | |
| 560 | array( | |
| 561 | 'id' => '_posten_bring_checkout_too_large_for_mailbox[' . $index . ']', | |
| 562 | 'class' => 'checkbox', | |
| 563 | 'label' => __( 'Too large for mailbox', 'posten-bring-checkout' ), | |
| 564 | 'description' => __( 'When checked, product is treated as too large for a mailbox. This will make the Mailbox parcel shipping option unavailable during checkout.', 'posten-bring-checkout' ), | |
| 565 | 'desc_tip' => true, | |
| 566 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_too_large_for_mailbox' ), | |
| 567 | ) | |
| 568 | ); | |
| 569 | woocommerce_wp_checkbox( | |
| 570 | array( | |
| 571 | 'id' => '_posten_bring_checkout_disable_all[' . $index . ']', | |
| 572 | 'class' => 'checkbox', | |
| 573 | 'label' => __( "Disable Posten Bring's shipping options", 'posten-bring-checkout' ), | |
| 574 | 'description' => __( 'When checked, all shipping options provided via Posten Bring Checkout are unavailable for this product during checkout.', 'posten-bring-checkout' ), | |
| 575 | 'desc_tip' => true, | |
| 576 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_disable_all' ), | |
| 577 | ) | |
| 578 | ); | |
| 579 | ?> | |
| 580 | ||
| 579 | 581 | |
| 580 | ||
| 581 | ||
| 582 | <?php | |
| 583 | } | |
| 582 | 584 | } |
| 583 | 585 |
posten-bring-checkout/tags/1.1.29/changelog.txt
| r3344034 | r3353917 | |
|---|---|---|
| 1 | 1 | *** Posten Bring Checkout Changelog *** |
| 2 | ||
| 3 | 2025-09-01 - version 1.1.29 | |
| 4 | * Bugfixes | |
| 2 | 5 | |
| 3 | 6 | 2025-08-13 - version 1.1.28 |
posten-bring-checkout/tags/1.1.29/posten-bring-checkout.php
| r3344034 | r3353917 | |
|---|---|---|
| 4 | 4 | * Plugin URI: https://wordpress.org/plugins/posten-bring-checkout/ |
| 5 | 5 | * Description: Posten Bring Checkout plugin for WooCommerce |
| 6 | * Version: 1.1.2 |
|
| 6 | * Version: 1.1.29 | |
| 7 | 7 | * Author: Posten Bring AS |
| 8 | 8 | * Author URI: https://www.postenbring.no/en |
posten-bring-checkout/tags/1.1.29/readme.txt
| r3344034 | r3353917 | |
|---|---|---|
| 3 | 3 | Tags: woocommerce, posten, bring, shipping, checkout |
| 4 | 4 | Tested up to: 6.8 |
| 5 | Stable tag: 1.1.2 |
|
| 5 | Stable tag: 1.1.29 | |
| 6 | 6 | License: GPLv2 or later |
| 7 | 7 | License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| … | … | |
| 60 | 60 | |
| 61 | 61 | == Changelog == |
| 62 | ||
| 63 | = 1.1.29 = | |
| 64 | * Bugfixes | |
| 62 | 65 | |
| 63 | 66 | = 1.1.28 = |
posten-bring-checkout/trunk/admin/Backoffice.php
| r3338708 | r3353917 | |
|---|---|---|
| 539 | 539 | public function add_custom_product_variant_meta_data( index,index, index,variation_data, $variation ) { |
| 540 | 540 | productvariation=wcgetproduct(product_variation = wc_get_product( productvariation=wcgetproduct(variation->ID ); |
| 541 | ?> | |
| 542 | ||
| 543 | ||
| 544 | ||
| 545 | ||
| 546 | ||
| 547 | <?php | |
| 548 | woocommerce_wp_checkbox( | |
| 549 | array( | |
| 550 | 'id' => '_posten_bring_checkout_too_large_for_parcel_locker[' . $index . ']', | |
| 551 | 'class' => 'checkbox', | |
| 552 | 'label' => __( 'Too large for parcel locker', 'posten-bring-checkout' ), | |
| 553 | 'description' => __( 'When checked, product is treated as too large for a parcel locker. This will make all parcel locker pickup points unavailable during checkout.', 'posten-bring-checkout' ), | |
| 554 | 'desc_tip' => true, | |
| 555 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_too_large_for_parcel_locker' ), | |
| 556 | ) | |
| 557 | ); | |
| 558 | woocommerce_wp_checkbox( | |
| 559 | array( | |
| 560 | 'id' => '_posten_bring_checkout_too_large_for_mailbox[' . $index . ']', | |
| 561 | 'class' => 'checkbox', | |
| 562 | 'label' => __( 'Too large for mailbox', 'posten-bring-checkout' ), | |
| 563 | 'description' => __( 'When checked, product is treated as too large for a mailbox. This will make the Mailbox parcel shipping option unavailable during checkout.', 'posten-bring-checkout' ), | |
| 564 | 'desc_tip' => true, | |
| 565 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_too_large_for_mailbox' ), | |
| 566 | ) | |
| 567 | ); | |
| 568 | woocommerce_wp_checkbox( | |
| 569 | array( | |
| 570 | 'id' => '_posten_bring_checkout_disable_all[' . $index . ']', | |
| 571 | 'class' => 'checkbox', | |
| 572 | 'label' => __( "Disable Posten Bring's shipping options", 'posten-bring-checkout' ), | |
| 573 | 'description' => __( 'When checked, all shipping options provided via Posten Bring Checkout are unavailable for this product during checkout.', 'posten-bring-checkout' ), | |
| 574 | 'desc_tip' => true, | |
| 575 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_disable_all' ), | |
| 576 | ) | |
| 577 | ); | |
| 578 | ?> | |
| 541 | if ($product_variation) { | |
| 542 | ?> | |
| 543 | ||
| 544 | ||
| 545 | ||
| 546 | ||
| 547 | ||
| 548 | <?php | |
| 549 | woocommerce_wp_checkbox( | |
| 550 | array( | |
| 551 | 'id' => '_posten_bring_checkout_too_large_for_parcel_locker[' . $index . ']', | |
| 552 | 'class' => 'checkbox', | |
| 553 | 'label' => __( 'Too large for parcel locker', 'posten-bring-checkout' ), | |
| 554 | 'description' => __( 'When checked, product is treated as too large for a parcel locker. This will make all parcel locker pickup points unavailable during checkout.', 'posten-bring-checkout' ), | |
| 555 | 'desc_tip' => true, | |
| 556 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_too_large_for_parcel_locker' ), | |
| 557 | ) | |
| 558 | ); | |
| 559 | woocommerce_wp_checkbox( | |
| 560 | array( | |
| 561 | 'id' => '_posten_bring_checkout_too_large_for_mailbox[' . $index . ']', | |
| 562 | 'class' => 'checkbox', | |
| 563 | 'label' => __( 'Too large for mailbox', 'posten-bring-checkout' ), | |
| 564 | 'description' => __( 'When checked, product is treated as too large for a mailbox. This will make the Mailbox parcel shipping option unavailable during checkout.', 'posten-bring-checkout' ), | |
| 565 | 'desc_tip' => true, | |
| 566 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_too_large_for_mailbox' ), | |
| 567 | ) | |
| 568 | ); | |
| 569 | woocommerce_wp_checkbox( | |
| 570 | array( | |
| 571 | 'id' => '_posten_bring_checkout_disable_all[' . $index . ']', | |
| 572 | 'class' => 'checkbox', | |
| 573 | 'label' => __( "Disable Posten Bring's shipping options", 'posten-bring-checkout' ), | |
| 574 | 'description' => __( 'When checked, all shipping options provided via Posten Bring Checkout are unavailable for this product during checkout.', 'posten-bring-checkout' ), | |
| 575 | 'desc_tip' => true, | |
| 576 | 'value' => $product_variation->get_meta( '_posten_bring_checkout_disable_all' ), | |
| 577 | ) | |
| 578 | ); | |
| 579 | ?> | |
| 580 | ||
| 579 | 581 | |
| 580 | ||
| 581 | ||
| 582 | <?php | |
| 583 | } | |
| 582 | 584 | } |
| 583 | 585 |
posten-bring-checkout/trunk/changelog.txt
| r3344034 | r3353917 | |
|---|---|---|
| 1 | 1 | *** Posten Bring Checkout Changelog *** |
| 2 | ||
| 3 | 2025-09-01 - version 1.1.29 | |
| 4 | * Bugfixes | |
| 2 | 5 | |
| 3 | 6 | 2025-08-13 - version 1.1.28 |
posten-bring-checkout/trunk/posten-bring-checkout.php
| r3344034 | r3353917 | |
|---|---|---|
| 4 | 4 | * Plugin URI: https://wordpress.org/plugins/posten-bring-checkout/ |
| 5 | 5 | * Description: Posten Bring Checkout plugin for WooCommerce |
| 6 | * Version: 1.1.2 |
|
| 6 | * Version: 1.1.29 | |
| 7 | 7 | * Author: Posten Bring AS |
| 8 | 8 | * Author URI: https://www.postenbring.no/en |
posten-bring-checkout/trunk/readme.txt
| r3344034 | r3353917 | |
|---|---|---|
| 3 | 3 | Tags: woocommerce, posten, bring, shipping, checkout |
| 4 | 4 | Tested up to: 6.8 |
| 5 | Stable tag: 1.1.2 |
|
| 5 | Stable tag: 1.1.29 | |
| 6 | 6 | License: GPLv2 or later |
| 7 | 7 | License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| … | … | |
| 60 | 60 | |
| 61 | 61 | == Changelog == |
| 62 | ||
| 63 | = 1.1.29 = | |
| 64 | * Bugfixes | |
| 62 | 65 | |
| 63 | 66 | = 1.1.28 = |