Skip to content

pub-calculator-io/margin-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Margin Calculator Widget for WordPress

Free margin calculator using the margin formula ((R - C) / R) × 100 to help businesses quickly calculate both margin and markup percentages based on cost and sale price.

Margin Calculator Input Form

Installation

  1. Download the ZIP file of this repository.
  2. Upload the /margin-calculator-master/ folder to the /wp-content/plugins/ directory.
  3. Activate the Margin Calculator plugin through the "Plugins" menu in WordPress.

Usage

  • Add the shortcode [ci_margin_calculator] to your page, post or sidebar.
  • Or add the following code: <?php display_ci_margin_calculator(); ?> to your template where you would like the Margin Calculator to appear.

Libraries in Use

  1. https://mathjs.org/
  2. https://katex.org/
  3. https://github.com/aFarkas/lazysizes
  4. https://github.com/RobinHerbots/Inputmask
  5. https://air-datepicker.com/
  6. https://www.chartjs.org/

About

Free WordPress Plugin: Free margin calculator using the margin formula ((R - C) / R) × 100 to help businesses quickly calculate both margin and markup percentages based on cost and sale price. www.calculator.io/margin-calculator/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages