How to keep product base price with Bulk Quantity field
The PPOM (Personalized Product Option Manager) plugin excludes the product base price for the Bulk Quantity
field by default. Users can include the base price as well via the code snippet below.
- 1
- Go to Appearance > Theme Editor in your WordPress admin dashboard.
- 2
- In the right-hand sidebar, locate and select the functions.php file under Theme Files.
- 3
- Copy and paste the following code snippet into your functions.php file:
add_filter( 'ppom_bulkquantity_includeprice', function () { return 'on'; } );
- 4
- After adding the code, click Update File to save your changes.
- 5
- Go to the front end of your WooCommerce store.
- 6
- Check the product page with the Bulk Quantity field and you should see the base price included again.