{"id":363040,"date":"2026-09-09T08:38:17","date_gmt":"2026-09-09T08:38:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/product-profit-margin-calculator-for-woocommerce\/"},"modified":"2026-09-09T08:37:55","modified_gmt":"2026-09-09T08:37:55","slug":"yazweb-product-profit-calculator-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/yazweb-product-profit-calculator-for-woocommerce\/","author":23559429,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Yazweb Product Profit Calculator for WooCommerce","header_author":"Mohammadkhodaei","header_description":"Store the cost price for every WooCommerce product and automatically calculate profit, markup and margin. Admin-only, HPOS compatible.","assets_banners_color":"39311e","last_updated":"2026-09-09 08:37:55","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/yazweb.ir","rating":0,"author_block_rating":0,"active_installs":0,"downloads":59,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"mohammadkhodaei748","date":"2026-09-09 08:37:55","revision":3687917}},"upgrade_notice":{"1.0.0":"<p>Initial release of Yazweb Product Profit Calculator for WooCommerce.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3687928,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3687928,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3687928,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3687928,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Cost price field with live profit summary card on the product edit screen.","2":"Profit columns on the WooCommerce products list.","3":"Settings page under WooCommerce menu.","4":"About page with plugin information."}},"plugin_section":[],"plugin_tags":[170502,11938,1119,6882,286],"plugin_category":[45],"plugin_contributors":[279884],"plugin_business_model":[],"class_list":["post-363040","plugin","type-plugin","status-publish","hentry","plugin_tags-cost-price","plugin_tags-margin","plugin_tags-markup","plugin_tags-profit","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-mohammadkhodaei748","plugin_committers-mohammadkhodaei748"],"banners":{"banner":"https:\/\/ps.w.org\/yazweb-product-profit-calculator-for-woocommerce\/assets\/banner-772x250.png?rev=3687928","banner_2x":"https:\/\/ps.w.org\/yazweb-product-profit-calculator-for-woocommerce\/assets\/banner-1544x500.png?rev=3687928","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/yazweb-product-profit-calculator-for-woocommerce\/assets\/icon-128x128.png?rev=3687928","icon_2x":"https:\/\/ps.w.org\/yazweb-product-profit-calculator-for-woocommerce\/assets\/icon-256x256.png?rev=3687928","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Yazweb Product Profit Calculator for WooCommerce<\/strong> (\u0645\u0627\u0634\u06cc\u0646 \u062d\u0633\u0627\u0628 \u0633\u0648\u062f \u0648\u0648\u06a9\u0627\u0645\u0631\u0633) lets store managers record the purchase (cost) price for each product and instantly see profit, markup percentage and profit margin \u2014 all inside the WordPress admin.<\/p>\n\n<p>No data is shown on the storefront. Everything stays private to administrators.<\/p>\n\n<p>Developed by Mohammadkhodaei \u2014 <a href=\"https:\/\/yazweb.ir\">yazweb.ir<\/a>.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Cost price field<\/strong> on simple and variable products (General \u2192 Pricing tab)<\/li>\n<li><strong>Live profit summary card<\/strong> that updates as you type \u2014 no page reload needed<\/li>\n<li><strong>Product list columns<\/strong> for cost price, sale price, profit, margin and markup<\/li>\n<li><strong>Sortable columns<\/strong> for quick analysis<\/li>\n<li><strong>Full variable product support<\/strong> \u2014 each variation has its own cost and calculations<\/li>\n<li><strong>Settings page<\/strong> under WooCommerce \u2192 Profit Calculator<\/li>\n<li><strong>Customizable colors<\/strong> for positive, break-even and negative profit<\/li>\n<li><strong>HPOS compatible<\/strong> \u2014 works with WooCommerce High-Performance Order Storage<\/li>\n<li><strong>No custom database tables<\/strong> \u2014 all data stored in post meta<\/li>\n<li><strong>Translation ready<\/strong> \u2014 fully internationalized; translations are provided via translate.wordpress.org<\/li>\n<\/ul>\n\n<h4>Calculations<\/h4>\n\n<ul>\n<li><strong>Profit<\/strong> = Sale Price \u2212 Cost Price<\/li>\n<li><strong>Markup<\/strong> = ((Sale \u2212 Cost) \/ Cost) \u00d7 100<\/li>\n<li><strong>Margin<\/strong> = ((Sale \u2212 Cost) \/ Sale) \u00d7 100<\/li>\n<\/ul>\n\n<p>Division by zero is handled gracefully.<\/p>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WordPress 5.0 or higher<\/li>\n<li>WooCommerce 2.6 or higher<\/li>\n<li>PHP 7.4 or higher<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>yazweb-product-profit-calculator-for-woocommerce<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install through the WordPress Plugins screen.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> screen.<\/li>\n<li>Make sure WooCommerce is installed and active.<\/li>\n<li>Go to <strong>WooCommerce \u2192 Profit Calculator<\/strong> to configure display options.<\/li>\n<li>Edit any product and enter a <strong>Cost price<\/strong> in the General \u2192 Pricing section.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20show%20profit%20data%20on%20the%20storefront%3F\"><h3>Does this plugin show profit data on the storefront?<\/h3><\/dt>\n<dd><p>No. All profit information is visible only in the WordPress admin area.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20variable%20products%3F\"><h3>Does it work with variable products?<\/h3><\/dt>\n<dd><p>Yes. Each variation has its own cost price field and live profit summary.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20hpos%3F\"><h3>Is it compatible with HPOS?<\/h3><\/dt>\n<dd><p>Yes. The plugin declares compatibility with WooCommerce High-Performance Order Storage and does not create custom order tables.<\/p><\/dd>\n<dt id=\"where%20is%20the%20cost%20price%20stored%3F\"><h3>Where is the cost price stored?<\/h3><\/dt>\n<dd><p>In post meta with the key <code>_yzppc_cost_price<\/code>. No custom database tables are created.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20uninstall%20the%20plugin%3F\"><h3>What happens when I uninstall the plugin?<\/h3><\/dt>\n<dd><p>All <code>_yzppc_cost_price<\/code> meta entries and plugin settings are permanently deleted.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Broad compatibility: WordPress 5.0+, WooCommerce 2.6+, PHP 7.4+.<\/li>\n<li>Initial release.<\/li>\n<li>Cost price field for simple and variable products.<\/li>\n<li>Live profit, markup and margin calculations.<\/li>\n<li>Sortable product list columns.<\/li>\n<li>Settings page with color pickers and display options.<\/li>\n<li>About page.<\/li>\n<li>HPOS compatibility declaration.<\/li>\n<li>Uninstall cleanup for all plugin data.<\/li>\n<\/ul>","raw_excerpt":"Track cost prices and automatically calculate profit, markup and margin for every WooCommerce product. Admin-only, HPOS compatible.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/363040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=363040"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mohammadkhodaei748"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=363040"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=363040"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=363040"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=363040"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=363040"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=363040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}