Showing with 32 additions and 11 deletions.
  1. BIN .wordpress-org/icon-128x128.jpg
  2. BIN .wordpress-org/icon-256x256.jpg
  3. +6 −0 CHANGELOG.md
  4. +1 −1 package.json
  5. +10 −1 readme.txt
  6. +13 −7 templates/frontend/ppom-fields.php
  7. +2 −2 woocommerce-product-addon.php
Binary file modified .wordpress-org/icon-128x128.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/icon-256x256.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
##### [Version 32.0.12](https://github.com/Codeinwp/woocommerce-product-addon/compare/v32.0.11...v32.0.12) (2024-03-01)

### Fixes
- Fixed the issue with fields not appearing on the front-end with the latest release
- Updated logo

##### [Version 32.0.11](https://github.com/Codeinwp/woocommerce-product-addon/compare/v32.0.10...v32.0.11) (2024-02-29)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "woocommerce-product-addon",
"version": "32.0.11",
"version": "32.0.12",
"description": "PPOM for WooCommerce",
"main": "index.js",
"repository": "https://github.com/Codeinwp/woocommerce-product-addon",
Expand Down
11 changes: 10 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: themeisle
Tags: woocommerce product addons, woocommerce product options, woocommerce product fields, woocommerce product, woocommerce product addon
Requires at least: 3.5
Tested up to: 6.4
Stable tag: 32.0.11
Stable tag: 32.0.12
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 7.2
Expand Down Expand Up @@ -122,6 +122,15 @@ If you feels that PPOM Free or PPOM PRO versions are not enough for your needs,

== Changelog ==

##### [Version 32.0.12](https://github.com/Codeinwp/woocommerce-product-addon/compare/v32.0.11...v32.0.12) (2024-03-01)

### Fixes
- Fixed the issue with fields not appearing on the front-end with the latest release
- Updated logo




##### [Version 32.0.11](https://github.com/Codeinwp/woocommerce-product-addon/compare/v32.0.10...v32.0.11) (2024-02-29)

### Bug Fixes
Expand Down
20 changes: 13 additions & 7 deletions templates/frontend/ppom-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* @version 1.0
**/

/*
**========== Block direct access ===========
/*
**========== Block direct access ===========
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
Expand All @@ -26,17 +26,23 @@

// ppom meta ids
$ppom_wrapper_id = is_array( $form_obj::$ppom->meta_id ) ? implode( '-', $form_obj::$ppom->meta_id ) : $form_obj::$ppom->meta_id;
$ppom_groups = isset( $form_obj::$ppom->meta_id ) ? $form_obj::$ppom->meta_id : array();

if ( isset( $form_obj::$ppom->meta_id ) ) {
$ppom_groups = is_array($form_obj::$ppom->meta_id) ? $form_obj::$ppom->meta_id : array($form_obj::$ppom->meta_id);
} else {
$ppom_groups = array();
}

?>

<div id="ppom-box-<?php echo esc_attr( $ppom_wrapper_id ); ?>" class="ppom-wrapper">


<!-- Display price table before fields -->
<?php
<?php
if ( ppom_get_price_table_location() === 'before' ) {
echo $form_obj->render_price_table_html();
}
}
?>

<!-- Render hidden inputs -->
Expand Down Expand Up @@ -69,10 +75,10 @@
<?php endforeach; ?> <!-- end form-row -->

<!-- Display price table after fields -->
<?php
<?php
if ( ppom_get_price_table_location() === 'after' ) {
echo $form_obj->render_price_table_html();
}
}
?>


Expand Down
4 changes: 2 additions & 2 deletions woocommerce-product-addon.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: PPOM for WooCommerce
* Plugin URI: https://themeisle.com/plugins/ppom-pro/
* Description: PPOM (Personalized Product Meta Manager) plugin allow WooCommerce Store Admin to create unlimited input fields and files to attach with Product Pages.
* Version: 32.0.11
* Version: 32.0.12
* Author: Themeisle
* Text Domain: woocommerce-product-addon
* Domain Path: /languages
Expand All @@ -26,7 +26,7 @@
define( 'PPOM_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
define( 'PPOM_WP_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __DIR__ ) ) );
define( 'PPOM_BASENAME', basename( PPOM_WP_PLUGIN_DIR ) );
define( 'PPOM_VERSION', '32.0.11' );
define( 'PPOM_VERSION', '32.0.12' );
define( 'PPOM_DB_VERSION', '30.1.0' );
define( 'PPOM_PRODUCT_META_KEY', '_product_meta_id' );
define( 'PPOM_TABLE_META', 'nm_personalized' );
Expand Down