Description
Yazweb Product Profit Calculator for WooCommerce (ماشین حساب سود ووکامرس) lets store managers record the purchase (cost) price for each product and instantly see profit, markup percentage and profit margin — all inside the WordPress admin.
No data is shown on the storefront. Everything stays private to administrators.
Developed by Mohammadkhodaei — yazweb.ir.
Key Features
- Cost price field on simple and variable products (General Pricing tab)
- Live profit summary card that updates as you type — no page reload needed
- Product list columns for cost price, sale price, profit, margin and markup
- Sortable columns for quick analysis
- Full variable product support — each variation has its own cost and calculations
- Settings page under WooCommerce Profit Calculator
- Customizable colors for positive, break-even and negative profit
- HPOS compatible — works with WooCommerce High-Performance Order Storage
- No custom database tables — all data stored in post meta
- Translation ready — fully internationalized; translations are provided via translate.wordpress.org
Calculations
- Profit = Sale Price − Cost Price
- Markup = ((Sale − Cost) / Cost) × 100
- Margin = ((Sale − Cost) / Sale) × 100
Division by zero is handled gracefully.
Requirements
- WordPress 5.0 or higher
- WooCommerce 2.6 or higher
- PHP 7.4 or higher
Installation
- Upload the
yazweb-product-profit-calculator-for-woocommercefolder to the/wp-content/plugins/directory, or install through the WordPress Plugins screen. - Activate the plugin through the Plugins screen.
- Make sure WooCommerce is installed and active.
- Go to WooCommerce Profit Calculator to configure display options.
- Edit any product and enter a Cost price in the General Pricing section.
FAQ
-
Does this plugin show profit data on the storefront?
-
No. All profit information is visible only in the WordPress admin area.
-
Does it work with variable products?
-
Yes. Each variation has its own cost price field and live profit summary.
-
Is it compatible with HPOS?
-
Yes. The plugin declares compatibility with WooCommerce High-Performance Order Storage and does not create custom order tables.
-
Where is the cost price stored?
-
In post meta with the key
_yzppc_cost_price. No custom database tables are created. -
What happens when I uninstall the plugin?
-
All
_yzppc_cost_pricemeta entries and plugin settings are permanently deleted.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Yazweb Product Profit Calculator for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Yazweb Product Profit Calculator for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Broad compatibility: WordPress 5.0+, WooCommerce 2.6+, PHP 7.4+.
- Initial release.
- Cost price field for simple and variable products.
- Live profit, markup and margin calculations.
- Sortable product list columns.
- Settings page with color pickers and display options.
- About page.
- HPOS compatibility declaration.
- Uninstall cleanup for all plugin data.
