CostPro – Product Cost Calculator

Description
HTML Description
CostPro – Product Cost Calculator is a powerful plugin designed to calculate the final product cost from customizable cost heads and apply profit margins. It integrates smoothly with WooCommerce, automatically updating product prices. The plugin also offers a standalone calculator via shortcode for non-WooCommerce environments. With customizable cost heads like Purchase Price, Packing, Transport, and Advertisement, this plugin helps e-commerce store owners manage their product pricing efficiently. The responsive design ensures compatibility with most WordPress themes, providing a seamless user experience.
Features
Key Features
- Customizable cost heads (e.g., Purchase Price, Packing, Transport, Advertisement)
- Automatic final cost summation across heads
- Profit margin as amount or percentage
- WooCommerce integration: updates product price on save
- Shortcode for general e-commerce/non-WooCommerce use
- Additional per-product custom cost fields via repeater UI
- Responsive front-end calculator that fits most themes
Requirements
WooCommerce
Instructions
CostPro – Product Cost Calculator
Calculate final product cost from customizable cost heads and apply profit margins. Integrates with WooCommerce to automatically update product prices, and provides a standalone calculator shortcode for non‑WooCommerce environments. Features Customizable cost heads (e.g., Purchase Price, Packing, Transport, Advertisement) Automatic final cost summation across heads Profit margin as amount or percentage WooCommerce integration: updates product price on save Shortcode `` for general e‑commerce/non‑WooCommerce use Additional per‑product custom cost fields via repeater UI Responsive front‑end calculator that fits most themes Installation Copy the `costpro-product-cost-calculator` folder into `wp-content/plugins/` of your WordPress site. In WordPress Admin, go to `Plugins` and activate “CostPro – Product Cost Calculator”. Setup Define your cost heads: WooCommerce sites: `WooCommerce → CostPro Costs` Non‑WooCommerce: `Settings → CostPro Costs` Enter one cost head per line (e.g., Purchase Price, Packing, Transport, Advertisement). For WooCommerce products: Edit any product and use the meta box “CostPro: Product Costs & Profit”. Enter amounts for each cost head. Choose profit type (Amount or Percentage) and set the value. Add any “Additional Costs” rows (label + amount) as needed. On save, the plugin calculates the final cost and updates the product’s regular price. For non‑WooCommerce usage: Add the shortcode `` to any page. The calculator form will allow entering costs and profit margin and shows computed final cost and selling price. Notes Price updates currently target simple products. Extending to variable products can be added later. All calculations are rounded to two decimals. Security: Nonces and capability checks protect meta saves. License: GPLv2 or later; no paid dependencies. Uninstall / Deactivation Deactivating the plugin leaves previously computed prices intact. Removing the plugin does not delete stored options or product meta. Usage Guide Admin Settings Navigate to `WooCommerce → CostPro Costs` (or `Settings → CostPro Costs` if WooCommerce is not active). Enter one cost head per line; these appear in product edit and the ``. Product Edit Screen Fields appear directly after the product description. Fill built‑in heads and add any additional labeled costs. Set profit type/value; computed totals update live. Saving updates WooCommerce `_regular_price` and `_price` (simple products). Shortcode Place `` on a page; it uses admin cost heads. Enter costs and profit margin; the form shows Final Cost and Selling Price. FAQ The totals show 0.00 in admin. Ensure the plugin is active and you’re on a product edit screen. Check browser console for JS errors; jQuery must be available in admin. Saving the product will still compute and update price even if live UI fails. How do I add a new cost type like “Tax” or “Handling”? Add it in `CostPro Costs` settings or use “Additional Costs” rows per product. Does this work with variable products? Current version targets simple products. Variation support can be added. Does the plugin store or transmit personal data? No. It stores product meta (costs and margin) only. Troubleshooting If prices don’t update: verify WooCommerce is active and the product type is Simple. Clear caches. If settings don’t save: ensure user has `manage_options` capability. Conflicts: Temporarily disable other pricing plugins to test. Changelog 1.0.0 Initial release by E‑Porichoy. WooCommerce integration for regular price update. Customizable cost heads and additional per‑product costs. Shortcode calculator; responsive front‑end. License GPLv2 or later — https://www.gnu.org/licenses/g... Support & Updates Suggested support window: 6 months with free updates. Contact: provide email or support forum link in your distribution channel. Marketing & Promotion Suggested tags: pricing, cost, margin, WooCommerce, calculator. Provide screenshots of admin settings, product edit fields, and shortcode page. Consider a short demo video and a live demo site to showcase workflows.
| Author | ePorichoy |
|---|---|
| Category | Plugins / WooCommerce |
| Price | $10 |
| Extended License | $30 |
| First Release | Oct 4, 2025 |
| Last Update | Oct 4, 2025 |
| Supported cms | WooCommerce 6.x, WooCommerce 7.x, WooCommerce 8.x, WooCommerce 9.x, WordPress 6.6, WordPress 6.7, WordPress 6.8 |
| Files included | .php, JavaScript .js |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks