Changeset 2994746
- Timestamp:
- 11/12/2023 04:38:33 PM (2 years ago)
- Location:
- cpt-woo-integration
- Files:
-
- 60 added
- 4 edited
-
tags/1.1.3 (added)
-
tags/1.1.3/README.txt (added)
-
tags/1.1.3/TinyApp (added)
-
tags/1.1.3/TinyApp/Abs (added)
-
tags/1.1.3/TinyApp/Abs/Base.php (added)
-
tags/1.1.3/TinyApp/Controllers (added)
-
tags/1.1.3/TinyApp/Controllers/Admin (added)
-
tags/1.1.3/TinyApp/Controllers/Admin/AdminMenu.php (added)
-
tags/1.1.3/TinyApp/Controllers/Admin/Api.php (added)
-
tags/1.1.3/TinyApp/Controllers/Admin/ProductAdminAssets.php (added)
-
tags/1.1.3/TinyApp/Controllers/Admin/ProductMetaBoxes.php (added)
-
tags/1.1.3/TinyApp/Controllers/Admin/Review.php (added)
-
tags/1.1.3/TinyApp/Controllers/AdminController.php (added)
-
tags/1.1.3/TinyApp/Controllers/AssetsController.php (added)
-
tags/1.1.3/TinyApp/Controllers/Dependencies.php (added)
-
tags/1.1.3/TinyApp/Controllers/Installation.php (added)
-
tags/1.1.3/TinyApp/Controllers/ShortCodes.php (added)
-
tags/1.1.3/TinyApp/Helpers (added)
-
tags/1.1.3/TinyApp/Helpers/Fns.php (added)
-
tags/1.1.3/TinyApp/Hooks (added)
-
tags/1.1.3/TinyApp/Hooks/ActionHooks.php (added)
-
tags/1.1.3/TinyApp/Hooks/FilterHooks.php (added)
-
tags/1.1.3/TinyApp/Modal (added)
-
tags/1.1.3/TinyApp/Modal/CPTOrderItemProduct.php (added)
-
tags/1.1.3/TinyApp/Modal/CPTProductDataStore.php (added)
-
tags/1.1.3/TinyApp/Traits (added)
-
tags/1.1.3/TinyApp/Traits/CptProductDataStoreReadTrait.php (added)
-
tags/1.1.3/TinyApp/Traits/SingletonTrait.php (added)
-
tags/1.1.3/TinyApp/cptwooint.php (added)
-
tags/1.1.3/assets (added)
-
tags/1.1.3/assets/css (added)
-
tags/1.1.3/assets/css/backend (added)
-
tags/1.1.3/assets/css/backend/admin-settings.css (added)
-
tags/1.1.3/assets/css/frontend (added)
-
tags/1.1.3/assets/css/frontend/frontend.css (added)
-
tags/1.1.3/assets/images (added)
-
tags/1.1.3/assets/images/pngtree-gold-premium-quality-100-money-back-guaranteed-2.jpg (added)
-
tags/1.1.3/assets/js (added)
-
tags/1.1.3/assets/js/backend (added)
-
tags/1.1.3/assets/js/backend/admin-settings.js (added)
-
tags/1.1.3/assets/js/backend/cptwooint-metabox-scripts.js (added)
-
tags/1.1.3/assets/js/frontend (added)
-
tags/1.1.3/assets/js/frontend/frontend.js (added)
-
tags/1.1.3/cpt-woo-integration.php (added)
-
tags/1.1.3/languages (added)
-
tags/1.1.3/languages/cpt-woo-integration.pot (added)
-
tags/1.1.3/uninstall.php (added)
-
tags/1.1.3/vendor (added)
-
tags/1.1.3/vendor/autoload.php (added)
-
tags/1.1.3/vendor/composer (added)
-
tags/1.1.3/vendor/composer/ClassLoader.php (added)
-
tags/1.1.3/vendor/composer/InstalledVersions.php (added)
-
tags/1.1.3/vendor/composer/LICENSE (added)
-
tags/1.1.3/vendor/composer/autoload_classmap.php (added)
-
tags/1.1.3/vendor/composer/autoload_namespaces.php (added)
-
tags/1.1.3/vendor/composer/autoload_psr4.php (added)
-
tags/1.1.3/vendor/composer/autoload_real.php (added)
-
tags/1.1.3/vendor/composer/autoload_static.php (added)
-
tags/1.1.3/vendor/composer/installed.json (added)
-
tags/1.1.3/vendor/composer/installed.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/TinyApp/Helpers/Fns.php (modified) (3 diffs)
-
trunk/cpt-woo-integration.php (modified) (2 diffs)
-
trunk/languages/cpt-woo-integration.pot (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cpt-woo-integration/trunk/README.txt
r2994727 r2994746 4 4 Requires at least: 6.0 5 5 Tested up to: 6.4 6 Stable tag: 1.1. 26 Stable tag: 1.1.3 7 7 Requires PHP: 7.4 8 8 License: GPLv3 … … 122 122 == Changelog == 123 123 124 = 1.1.3 ( November 12, 2023 ) = 125 * Fixed: Sale Price Issue 126 124 127 = 1.1.2 ( November 12, 2023 ) = 125 128 * Added: Regular Price and Sale Price Field Added -
cpt-woo-integration/trunk/TinyApp/Helpers/Fns.php
r2994720 r2994746 107 107 } else { 108 108 $options = self::get_options(); 109 $meta_key = ! empty( $options['selected_post_types'][ $current_post_type ][ $key ] ) ? $options['selected_post_types'][ $current_post_type ][ $key ] : ' _regular_price';109 $meta_key = ! empty( $options['selected_post_types'][ $current_post_type ][ $key ] ) ? $options['selected_post_types'][ $current_post_type ][ $key ] : ''; 110 110 } 111 111 … … 146 146 */ 147 147 public static function cptwoo_get_price_meta_value( $product_id, $key = 'regular_price' ) { 148 $price = 0;148 $price = ''; 149 149 if ( ! $product_id ) { 150 150 return $price; … … 155 155 } 156 156 $meta_key = Fns::price_meta_key( $current_post_type, $key ); 157 157 158 if ( $meta_key ) { 158 159 $price = get_post_meta( $product_id, $meta_key, true ); -
cpt-woo-integration/trunk/cpt-woo-integration.php
r2994720 r2994746 5 5 * Plugin URI: https://www.wptinysolutions.com/tiny-products/cpt-woo-integration 6 6 * Description: Integrate custom post type with woocommerce. Sell Any Kind Of Custom Post 7 * Version: 1.1. 27 * Version: 1.1.3 8 8 * Author: Tiny Solutions 9 9 * Author URI: https://www.wptinysolutions.com/ 10 * Tested up to: 6.411 * WC tested up to: 8.2.110 * Tested up to: 6.4 11 * WC tested up to: 8.2.2 12 12 * Text Domain: cptwooint 13 13 * Domain Path: /languages … … 25 25 */ 26 26 27 define( 'CPTWI_VERSION', '1.1. 2' );27 define( 'CPTWI_VERSION', '1.1.3' ); 28 28 29 29 define( 'CPTWI_FILE', __FILE__ ); -
cpt-woo-integration/trunk/languages/cpt-woo-integration.pot
r2994720 r2994746 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2023-11-12 1 4:52+0000\n"9 "POT-Creation-Date: 2023-11-12 16:34+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
Note: See TracChangeset
for help on using the changeset viewer.