PHPackages                             mediarox/module-checkout-placeholder - 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. mediarox/module-checkout-placeholder

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

mediarox/module-checkout-placeholder
====================================

Show placeholders instead of labels at common checkout field's (incl. required entry mark).

0.4.3(3y ago)111.5k↓62.5%1MITHTMLPHP ~7.4|~8.0|~8.1

Since Sep 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mediarox/module-checkout-placeholder)[ Packagist](https://packagist.org/packages/mediarox/module-checkout-placeholder)[ RSS](/packages/mediarox-module-checkout-placeholder/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (37)Used By (0)

Checkout placeholder
====================

[](#checkout-placeholder)

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

[](#description)

This module is designed to visually change all field pairs (label + field) so that the label is placed inside the field (As HTML Placeholder incl. "required-entry" mark "\*"). Additionally, you can decide if you want to hide labels, define a custom required mark, hide required marks, customize placeholder text and mark fields as optional.

Good to know
------------

[](#good-to-know)

Most of the fields in the checkout are collected via PHP and rendered dynamically via templates. For example, all input fields via the template `vendor/magento/module-ui/view/frontend/web/templates/form/element/input.html`. For all these dynamic fields we have created a [LayoutProcessor](https://devdocs.magento.com/guides/v2.4/howdoi/checkout/checkout_custom_checkbox.html) that provides the features described below.

However, there are also fields that cannot be influenced via a LayoutProcessor. In a standard checkout these would be the fields:

- email
- password
- password confirmation (if available)

These fields are created together in the knockout template `Magento_Checkout/template/form/element/email` and are also not prepared for HTML placeholders by default. For these fields we provide at the moment only knockout templates overrides, which ensure that always (after installation) the label is used as a placeholder. Including the static required mark "\*".

As soon as time or a customer order allows, we would provide these fields with full features as well.

Features
--------

[](#features)

- display field label as placeholder
- customize placeholder text
- hide labels
- define a custom required mark
- hide required mark
- mark fields as optional

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

[](#installation)

```
composer require mediarox/module-checkout-placeholder
bin/magento setup:upgrade
```

Configuration
-------------

[](#configuration)

STORES &gt; Configuration &gt; MEDIAROX &gt; Checkout Placeholder

### General

[](#general)

#### Enable

[](#enable)

Enables the module. After activation, the field placeholders are filled with the label by default.

- path: checkout\_placeholder/general/enable
- default: 0

#### Hide Labels

[](#hide-labels)

Enable this setting to hide labels.

- path: checkout\_placeholder/general/hide\_labels
- default: 0

#### Show Required Mark

[](#show-required-mark)

Enable to display required marks.

- path: checkout\_placeholder/general/enable\_required\_mark
- default: 1

#### Custom Required Mark

[](#custom-required-mark)

If you want to display a custom required mark enter it here.

- path: checkout\_placeholder/general/custom\_required\_mark
- default: '\*'
- depends on: checkout\_placeholder/general/enable\_required\_mark = 1

#### Specific Fields

[](#specific-fields)

To override placeholder content (label text) for specific fields enter the field\_id and placeholder you want to display. If you need to customize a field that is used in multiple fieldsets (e.g. firstname is available in billing &amp; shipping address) enter an additional, unique fieldset id (e.g. billing-address: 'form-fields', shipping-address: 'shipping-address-fieldset'). For street fields use the field\_ids `street_0`, `street_1` and `street_2`.

- path: checkout\_placeholder/general/specific\_fields
- default: ''

### Optional Fields

[](#optional-fields)

#### Enable:

[](#enable-1)

If enabled a custom optional mark will be applied to fields configured in *Optional Fields*.

- path: checkout\_placeholder/optional\_marks/enable
- default: 0

#### Optional Mark:

[](#optional-mark)

Enter your optional text/mark that you want to display here.

- path: checkout\_placeholder/optional\_marks/custom\_optional\_mark
- default: ''

#### Mark Fields As Optional:

[](#mark-fields-as-optional)

Specify the fields you want to display an optional mark for here. If you need to customize a field that is used in multiple fieldsets (e.g. firstname is available in billing &amp; shipping address) enter an additional, unique fieldset id (e.g. billing-address: 'form-fields', shipping-address: 'shipping-address-fieldset'). For street fields use the field\_ids `street_0`, `street_1` and `street_2`.

- path: checkout\_placeholder/optional\_marks/optional\_fields
- default: ''

Compatible with
---------------

[](#compatible-with)

- amzn/amazon-pay-module (deprecated core dependency), tested: 4.2.2
- [amzn/amazon-pay-magento-2-module](https://marketplace.magento.com/amzn-amazon-pay-magento-2-module.html) (up-to-date amazon pay module), tested: 5.7.1, 5.9.1
- [amasty/module-single-step-checkout](https://amasty.com/one-step-checkout-for-magento-2.html), tested: 3.1.2, 3.1.3, 4.0.0

#### Wiki

[](#wiki)

- [How do I add a custom checkout field ?](https://github.com/mediarox/module-checkout-placeholder/wiki/How-do-I-add-a-custom-checkout-field-%3F)
- [What does the checkout look like with the Amasty Checkout module ?](https://github.com/mediarox/module-checkout-placeholder/wiki/What-does-the-checkout-look-like-with-the-Amasty-Checkout-module-%3F)
- [What about Hyvä or the Hyvä Checkout ?](https://github.com/mediarox/module-checkout-placeholder/wiki/What-about-Hyv%C3%A4-or-the-Hyv%C3%A4-Checkout-%3F)

#### Before

[](#before)

[![without_extension](https://user-images.githubusercontent.com/32567473/144977948-00406294-dbf6-4951-9de9-e21c0fc8abc8.jpg)](https://user-images.githubusercontent.com/32567473/144977948-00406294-dbf6-4951-9de9-e21c0fc8abc8.jpg)

#### After

[](#after)

[![with_extension](https://user-images.githubusercontent.com/32567473/144977092-26bc5720-49cd-4b7f-9a0f-c1329cb99322.jpg)](https://user-images.githubusercontent.com/32567473/144977092-26bc5720-49cd-4b7f-9a0f-c1329cb99322.jpg)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 83.4% 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

Every ~11 days

Recently: every ~68 days

Total

34

Last Release

1367d ago

PHP version history (2 changes)0.0.2PHP ~7.4

0.4.3PHP ~7.4|~8.0|~8.1

### Community

Maintainers

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

---

Top Contributors

[![sfritzsche](https://avatars.githubusercontent.com/u/32567473?v=4)](https://github.com/sfritzsche "sfritzsche (136 commits)")[![codebase-md](https://avatars.githubusercontent.com/u/20788290?v=4)](https://github.com/codebase-md "codebase-md (27 commits)")

### Embed Badge

![Health badge](/badges/mediarox-module-checkout-placeholder/health.svg)

```
[![Health](https://phpackages.com/badges/mediarox-module-checkout-placeholder/health.svg)](https://phpackages.com/packages/mediarox-module-checkout-placeholder)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

19131.4k](/packages/imi-magento2-friendly-captcha)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[o2ti/sigep-web-carrier

O2TI - Sigep Web Carrier

141.5k](/packages/o2ti-sigep-web-carrier)

PHPackages © 2026

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