Changeset 3107309
- Timestamp:
- 06/25/2024 09:29:31 AM (22 months ago)
- Location:
- low-impack
- Files:
-
- 8 added
- 2 edited
-
tags/1.6.0 (added)
-
tags/1.6.0/beausite-classic.ttf (added)
-
tags/1.6.0/karp.jpg (added)
-
tags/1.6.0/koik.jpg (added)
-
tags/1.6.0/kott_umbrik.jpg (added)
-
tags/1.6.0/plugin-file.php (added)
-
tags/1.6.0/readme.txt (added)
-
tags/1.6.0/styles.css (added)
-
trunk/plugin-file.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
low-impack/trunk/plugin-file.php
r2959473 r3107309 3 3 Plugin Name: KIUD packaging for Woocommerce 4 4 Description: KIUD packaging for Woocommerce 5 Version: 1. 5.05 Version: 1.6.0 6 6 Author: Kiud packaging 7 7 */ … … 12 12 13 13 function low_impack_display_checkout_shortcode_before_summary() { 14 14 15 if ( get_option( 'show_before_summary_option_plugin' )) { 15 echo do_shortcode( '[low-impack]' );16 echo do_shortcode( '[low-impack]' ); 16 17 } 17 18 } 18 19 19 20 function low_impack_display_checkout_shortcode_after_payment() { 21 20 22 if ( get_option( 'show_after_summary_option_plugin' )) { 21 echo do_shortcode( '[low-impack]' );23 echo do_shortcode( '[low-impack]' ); 22 24 } 23 25 } … … 39 41 return $checkout_url; 40 42 } 43 41 44 function low_impack_create_product_on_install() { 42 45 if ( !class_exists( 'WooCommerce' ) ) { … … 131 134 add_action( 'admin_menu', array( $this, 'low_impack_admin_menu' ) ); 132 135 add_shortcode( 'low-impack', array( $this, 'low_impack_shortcode' ) ); 133 add_action( 'woocommerce_checkout_before_order_review', 'low_impack_display_checkout_shortcode_before_summary' );134 add_action( 'woocommerce_review_order_before_payment', 'low_impack_display_checkout_shortcode_after_payment' );135 136 add_action( 'woocommerce_add_to_cart', 'low_impack_myplugin_add_to_cart_action', 10, 6 ); 136 137 add_action( 'wp_enqueue_scripts', 'low_impack_enqueue_styles' ); 137 138 } 139 138 add_action( 'woocommerce_checkout_before_order_review', 'low_impack_display_checkout_shortcode_after_payment', 5 ); 139 add_action( 'woocommerce_review_order_before_payment', 'low_impack_display_checkout_shortcode_before_summary', 5 ); 140 } 141 140 142 function low_impack_admin_menu() { 141 143 add_options_page( 'KIUD-packaging', 'KIUD-packaging', 'manage_options', 'KIUD-packaging', array( $this, 'low_impack_settings_page' ) ); … … 244 246 245 247 new LowImpack(); 246 247 248 249 -
low-impack/trunk/readme.txt
r3092890 r3107309 6 6 Tags: WooCommerce, eCommerce, shopping cart 7 7 Requires at least: 4.7 8 Tested up to: 6. 1.19 Stable tag: 1. 5.08 Tested up to: 6.5.5 9 Stable tag: 1.6.0 10 10 Requires PHP: 7.0 11 11 License: GPLv2 or later … … 57 57 = 1.5.0 = 58 58 59 Fix bugs 60 61 = 1.6.0 = 62 63 Fix bugs 64 59 65 KIUD packaging
Note: See TracChangeset
for help on using the changeset viewer.