PHPackages                             bastiaanh/magento-engraving-costs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bastiaanh/magento-engraving-costs

ActiveMagento-module[Utility &amp; Helpers](/categories/utility)

bastiaanh/magento-engraving-costs
=================================

Engraving Costs Module for Magento

1.0.0(9y ago)0162MITPHP

Since May 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/bastiaanh/magento-engraving-costs)[ Packagist](https://packagist.org/packages/bastiaanh/magento-engraving-costs)[ Docs](https://github.com/bastiaanh/magento-engraving-costs)[ RSS](/packages/bastiaanh-magento-engraving-costs/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Engraving Costs Module for Magento
==================================

[](#engraving-costs-module-for-magento)

Description
-----------

[](#description)

Magento's custom product options can add a *fixed price* or a *percentage* to the total cost of a product. With this module you get a third one: a price **Per Character**. This means the option price is multiplied by the length of the text entered into the input field. This is useful for custom engravable products, where customers need to pay a surcharge per character they want engraved.

[![Engraving Costs Front-end](./resources/engraving-costs-frontend.gif)](./resources/engraving-costs-frontend.gif)

The product price is calculated on-the-fly by the JavaScript while the customer enters the text, and once more by the PHP code when the product is added to the cart.

Because the calculation itself hooks into Magento's core JavaScript code, multiple custom options can easily be combined. The module should be compatible with most custom front-end themes without any need for modifications.

Usage
-----

[](#usage)

1. Login to the Magento Admin Panel and create or edit a product.
2. Create or edit a custom option with input type **Text Field** or **Text Area**.
3. Under price, enter the cost of one character, and select **Per Character** as price type.
4. Save the product and try it out on the front-end.

[![Engraving Costs Admin](./resources/engraving-costs-admin.png)](./resources/engraving-costs-admin.png)

Installation
------------

[](#installation)

Install the module files using one of the following three methods:

### - Install files via composer

[](#--install-files-via-composer)

- Install [composer](http://getcomposer.org/download/)
- Install [magento composer installer](https://github.com/Cotya/magento-composer-installer)
- Use this command from your Magento installation folder:

    `composer require bastiaanh/magento-engraving-costs`

### - Install files via modman

[](#--install-files-via-modman)

- Install [modman](https://github.com/colinmollenhour/modman)
- Use this command from your Magento installation folder:

    `modman clone https://github.com/bastiaanh/magento-engraving-costs/`

### - Install files manually

[](#--install-files-manually)

You can copy the files from the `src/` folder of this repository to the same folders of your installation

Once the files are installed:

- Clear the cache, logout from the admin panel and then login again.

Uninstallation
--------------

[](#uninstallation)

- Make sure there are no more custom options with price type 'perchar':

    `UPDATE catalog_product_option_price SET price_type = 'fixed' WHERE price_type = 'perchar';`
- Remove all extension files from your Magento installation.
- Via composer:

    `composer remove bastiaanh/magento-engraving-costs`
- Via modman:

    `modman remove BastiaanH_EngravingCosts`

Requirements
------------

[](#requirements)

- PHP &gt;= 5.3.0

Compatibility
-------------

[](#compatibility)

- Magento CE &gt;= 1.6 and &lt; 2.0
- Magento EE &gt;= 1.11 and &lt; 2.0

Support
-------

[](#support)

If you have any issues with this extension, feel free to open an issue on [GitHub](https://github.com/BastiaanH/magento-engraving-costs/issues).

Contribution
------------

[](#contribution)

All contributions are highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).

License
-------

[](#license)

The project is licensed under the MIT license.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3328d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19793231?v=4)[bastiaanh](/maintainers/bastiaanh)[@bastiaanh](https://github.com/bastiaanh)

---

Top Contributors

[![bastiaanh](https://avatars.githubusercontent.com/u/19793231?v=4)](https://github.com/bastiaanh "bastiaanh (4 commits)")

---

Tags

costmagentomagento-extensionmagento-moduleprice-calculationpricing

### Embed Badge

![Health badge](/badges/bastiaanh-magento-engraving-costs/health.svg)

```
[![Health](https://phpackages.com/badges/bastiaanh-magento-engraving-costs/health.svg)](https://phpackages.com/packages/bastiaanh-magento-engraving-costs)
```

###  Alternatives

[msp/devtools-m1

MageSpecialist DevTools for Magento 1

2640.6k](/packages/msp-devtools-m1)[inviqa/magento-symfony-container

Provides Magento with an instance of a Symfony DI Container

2436.5k](/packages/inviqa-magento-symfony-container)[tim-reynolds/magento-qconfig

Magento config quick search

513.0k](/packages/tim-reynolds-magento-qconfig)[fastly/cdn

Fastly CDN module for Magento 1.x

275.5k](/packages/fastly-cdn)[clerk/magento

Clerk.io Turns More Browsers Into Buyers

1029.8k](/packages/clerk-magento)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
