What the plugin does
- reads the product’s weight field
- detects the selected product category
- looks up a category-specific price per unit of weight
- calculates the final price via AJAX
- allows the calculated price to be applied to the regular price field with one click
All calculations happen in the WooCommerce product edit screen and do not affect frontend performance.
How pricing works
- Each product category has a predefined price per unit of weight (for example: price per gram).
- The plugin multiplies the product’s weight by the category’s unit price.
- The result is rounded according to the defined logic (e.g. to the nearest 100).
- The calculated price is shown next to the regular price field and can be applied instantly.
Editor-only, safe by design
- Runs only in the WooCommerce product editor
- Uses AJAX for instant feedback without page reloads
- Does not modify frontend output
- Does not store calculated prices automatically — the user always confirms the final price
Typical use cases
- Jewelry stores (gold, silver, or similar weight-based products)
- Stores selling raw materials priced by weight
- Any WooCommerce shop with category-based weight pricing rules
Technical overview
- AJAX-based price calculation
- Category-based pricing logic
- Weight read from the standard WooCommerce weight field
- No cron jobs, no background processes
- No frontend scripts or styles loaded
Reviews
There are no reviews yet.