Chat on WhatsApp

Custom Product Options for Magento 2 (Hyva + Luma)

Beautifully styled product custom options for Hyva and Luma Magento 2 storefronts.

Magento 2.4.6–2.4.8 PHP 8.1–8.4 Hyva + Luma Ready Free

Key Features:

  • Modern, Accessible UI
  • Theming and Branding
  • Hyva and Luma Support
  • Admin Control

Additional Services

$0.00
In stock
SKU
panth-custom-options
Links
Pay with Wise
Lifetime Updates Every Magento release
1-Year Free Support Email + WhatsApp
Adobe-Certified Magento 2 Developer
Free Forever No subscription, no upsell
What you get

Everything in the box

Built-in from day one. No add-ons, no upsell, no licence keys to renew.

Modern, Accessible UI

Styled text inputs and textareas — clean borders, focus rings, floating hints, character counters

Theming and Branding

CSS custom properties — every color, radius, spacing, and font is a CSS variable - override in one place

Hyva and Luma Support

Hyva — templates use Alpine.js and Tailwind utility classes, zero external JS

Admin Control

Single master toggle — turn styled rendering on or off from Stores > Configuration > Panth Extensions > Custom Options

Performance and Quality

Zero external JS dependencies — everything uses Alpine.js (bundled with Hyva) or vanilla CSS

Overview

Panth Custom Product Options is a UI upgrade for Magento 2 and Adobe Commerce that re-skins native custom options into accessible, themable form controls. It restyles every option type without changing how Magento stores, prices, or validates the option data, so cart and checkout behavior stays untouched.

The Custom Product Options module ships styled text inputs and textareas with focus rings, floating hints, and character counters; drag-and-drop file upload zones with filename preview, size validation feedback, and a remove button; polished <select> dropdowns with custom chevrons; card-style radio buttons and checkboxes with price-delta badges instead of tiny native radios; and native HTML5 date, time, and datetime-local pickers with no external date libraries.

Accessibility is in by default: real <label> bindings, ARIA attributes, keyboard navigation, and visible focus states on every control. CSS custom properties cover every color, radius, spacing, and font, so brand tokens change in one place per store view. Hyva templates use Alpine.js and Tailwind utility classes with zero external JS, while Luma gets a lightweight CSS layer over default templates. Auto theme detection runs through Panth\Core\Helper\Theme, so the right markup ships without manual switching.

  • Hyva merchants who want option styling that matches their Tailwind tokens.
  • Luma stores upgrading the dated native option UI without ripping out core.
  • Configurable, simple, virtual, and downloadable products with custom options.

What you get

Custom Product Options upgrades the native option behavior on every product type:

  • Styled inputs, textareas, dropdowns, and accessible focus rings.
  • Card-style radios and checkboxes with price-delta badges.
  • Drag-and-drop file upload zone with size and filename feedback.
  • Native HTML5 date, time, and datetime-local pickers, zero JS libs.
  • CSS custom properties for color, radius, and font theming.
  • Hyva and Luma compatible on Magento 2.4.4–2.4.9 and PHP 8.1–8.4.

Panth Custom Options - Styled Product Custom Options for Magento 2 Hyva &amp; Luma

Beautifully styled product custom options for Hyva and Luma Magento 2 storefronts. Replaces Magento's default custom options rendering with a modern, accessible UI - styled text inputs, drag-and-drop file upload zones, elegant dropdowns, card-style radio and checkbox groups, native HTML5 date pickers, and CSS custom properties for easy theming.

Panth Custom Options gives your configurable and simple products with options (monograms, engravings, gift messages, file uploads, date selection, add-ons) a premium look that matches the rest of your Hyva or Luma storefront. Every input type Magento supports is restyled for clarity, accessibility, and conversion. All colors, radii, spacing, and typography are controlled by CSS variables - override them once in your theme and every custom option on every product follows your brand.

Built on Alpine.js for Hyva (no extra JS libraries) and lightweight CSS for Luma. Toggle globally from the admin, or let it stay on out of the box.


Key Features

Modern, Accessible UI

  • Styled text inputs and textareas - clean borders, focus rings, floating hints, character counters
  • Drag-and-drop file upload zones - visual upload area with filename preview, size validation feedback, and remove button
  • Polished dropdowns - custom-styled <select> elements with chevron, hover and focus states
  • Card-style radio buttons - large, clickable cards with price-delta badges instead of tiny native radios
  • Card-style checkboxes - multi-select cards with checkmark icon and price-delta badges
  • Native HTML5 date pickers - <input type="date">, <input type="time">, and <input type="datetime-local"> - no external date libraries
  • Accessible by default - proper <label> associations, ARIA attributes, keyboard navigation, visible focus states

Theming and Branding

  • CSS custom properties - every color, radius, spacing, and font is a CSS variable - override in one place
  • Primary color, border color, focus color, label color, price color, required color - all themable
  • Radius and font family - match your storefront's design system
  • Per-store-view overrides - native Magento scope (default / website / store view) honored

Hyva and Luma Support

  • Hyva - templates use Alpine.js and Tailwind utility classes, zero external JS
  • Luma - lightweight CSS styling layered over Magento's default templates
  • Auto theme detection - powered by Panth\Core\Helper\Theme, no manual switching
  • Works with configurable, simple, virtual, and downloadable products - any product type that supports custom options

Admin Control

  • Single master toggle - turn styled rendering on or off from Stores > Configuration > Panth Extensions > Custom Options
  • Fallback-safe - when disabled, Magento's native templates take over with zero overhead

Performance and Quality

  • Zero external JS dependencies - everything uses Alpine.js (bundled with Hyva) or vanilla CSS
  • MEQP compliant - passes Adobe's Magento Extension Quality Program
  • Lightweight - under 40 files, minimal CSS footprint
  • Composer-installable - Panth_Core dependency resolved automatically

Theming with CSS Variables

All visual tokens are exposed as CSS custom properties. Override any of these in your child theme's CSS (or in theme-config.json if you use Panth_ThemeCustomizer):

Variable Default Purpose
--custom-options-primary #0D9488 Primary brand color (buttons, focus, price)
--custom-options-border #E5E7EB Input border color
--custom-options-border-focus #0D9488 Input border color on focus
--custom-options-bg #FFFFFF Container background
--custom-options-input-bg #F9FAFB Input background
--custom-options-text #171717 Primary text color
--custom-options-text-muted #6B7280 Hint and helper text
--custom-options-label #374151 Option label color
--custom-options-price #0D9488 Price-delta badge color
--custom-options-required #EF4444 Required asterisk color
--custom-options-radius 10px Border radius for inputs and cards
--custom-options-font 'DM Sans', sans-serif Typography

Example override

/* app/design/frontend/YourVendor/yourtheme/web/css/overrides.css */
:root {
 --custom-options-primary: #7c3aed;
 --custom-options-border-focus: #7c3aed;
 --custom-options-radius: 4px;
}

How It Works

Panth Custom Options uses Magento's standard layout override system to replace the templates that render product custom options. Specifically:

  • On Hyva, the module ships Alpine.js-powered templates under view/frontend/templates/product/view/options/ that emit Tailwind utility classes
  • On Luma, a lightweight CSS file is appended that restyles Magento's native option templates
  • Panth\Core\Helper\Theme detects which theme is active per store view and loads the correct layout
  • All price-delta calculations continue to use Magento's standard Magento_Catalog/js/price-option and priceBox behaviour - no pricing logic is changed

No database schema is modified, no product data is touched, and disabling the module instantly restores default rendering.


Troubleshooting

Issue Cause Resolution
Options still show default styling Cache not flushed Run bin/magento cache:flush and hard-refresh the product page
File upload zone not working Static content not deployed Run bin/magento setup:static-content:deploy -f
Date picker shows old-style input Browser does not support HTML5 date input Update to a modern browser (Chrome, Edge, Firefox, Safari - all support it)
CSS variables not applying Variables defined at a lower-specificity selector Place overrides inside :root {} or body {}
Styling missing on Hyva Hyva CSS not rebuilt Run npm run build-prod inside your Hyva theme's web/tailwind directory

Enable Debug Mode in Panth Extensions > Core Settings for verbose logs in var/log/panth_core.log.


Quick Links


Ready to upgrade your Magento 2 product pages?


SEO Keywords: magento 2 custom options, product options styling, hyva custom options, luma custom options, magento 2 product options, magento 2 styled custom options, magento 2 file upload zone, magento 2 date picker, magento 2 radio buttons cards, magento 2 checkbox cards, hyva product page ui, luma product page ui, magento 2 product configurator, magento 2 customization options, panth custom options, magento 2 hyva module, magento 2 luma module, hyva alpine.js, magento 2 css variables, magento 2 theming, magento 2 accessible ui, magento 2.4.8 custom options, php 8.4 magento module, magento 2 monogram, magento 2 engraving, magento 2 gift options, magento 2 add-ons, mage2kishan, mage2sk, panth infotech, kishan savaliya magento, hire magento developer upwork, top rated plus magento freelancer, magento 2 development agency, custom magento development, magento 2 hyva development, magento 2 luma customization

Compatibility

Requirement Versions Supported
Magento Open Source 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce Cloud 2.4.4 - 2.4.8
PHP 8.1.x, 8.2.x, 8.3.x, 8.4.x
Hyva Theme 1.1+
Luma Theme Native support
Panth_Core ^1.0 (required, free)

Tested on:

  • Magento 2.4.8-p4 with PHP 8.4 (Hyva 1.3)
  • Magento 2.4.7 with PHP 8.3 (Hyva 1.2)
  • Magento 2.4.6 with PHP 8.2 (Luma)

Installation

Composer Installation (Recommended)

composer require mage2kishan/module-custom-options
bin/magento module:enable Panth_Core Panth_CustomOptions
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

Manual Installation via ZIP

  1. Download the latest release ZIP from Packagist or the Adobe Commerce Marketplace
  2. Extract to app/code/Panth/CustomOptions/ in your Magento installation
  3. Install Panth_Core the same way (required dependency)
  4. Run the same commands as above starting from bin/magento module:enable

Verify Installation

bin/magento module:status Panth_CustomOptions
# Expected output: Module is enabled

Then open any product that has custom options defined - the styled UI will replace the default Magento rendering automatically.


Configuration

Navigate to Stores > Configuration > Panth Extensions > Custom Options.

Setting Default Description
Enable Custom Options Styling Yes Master toggle. When disabled, Magento falls back to its default templates with zero overhead.

That's it - the module is designed to work beautifully out of the box. Visual customization happens through CSS variables.


License

Panth Custom Options is distributed under a proprietary license - see LICENSE.txt. Distribution is restricted to the Adobe Commerce Marketplace and authorized Packagist channels.


More Information
Module Category Catalog & Products
Best For All Sizes
FAQ

Frequently Asked Questions

Does this module change how Magento calculates custom option prices?

No. All price-delta logic continues to flow through Magento's standard priceBox and price-option JS components. This module only replaces the visual rendering.

Will it work with my existing product custom options?

Yes. All your existing custom options (set up under Admin > Catalog > Products > [Product] > Customizable Options) automatically render in the new styled UI. No migration required.

Does it support file upload validation?

Yes. Magento's native file type and size validation continues to work, with better visual feedback for the customer (file name preview, size check, remove button, error states).

Can I disable styling on specific products?

The master toggle is global. For per-product control, you can override the layout on a single product page using the standard Magento layout update XML.

Does it support Hyva child themes?

Yes. The module uses the Hyva theme parent chain - any Hyva child theme automatically inherits the styled templates.

Does it work on configurable products with custom options?

Yes. Custom options on configurable products (the parent product, not the simple variants) render with the new UI. Configurable variant selection remains Magento-native.

Is the source code available?

Yes. Full source on GitHub at github.com/mage2sk/module-custom-options.

Does it support multi-store setups?

Yes. Settings respect Magento's standard scope hierarchy (default > website > store view). Different store views can have different primary colors or even disable the styling entirely.


How is this different from a traditional antivirus?

Panth Malware Scanner is built specifically for Magento 2 filesystems — it understands the directory layout, knows which folders are writable from the frontend, and ships signatures tuned for Magento-targeted threats (Magecart skimmers, PolyShell webshells, admin-layout injection). Traditional AV tools scan everything with generic signatures and produce noise.

Does Panth Footer replace the default Magento footer?

Yes. When enabled, Panth Footer takes over the footer.container block and renders its own configurable footer. You can disable it any time to restore the default footer.

Does this module change how Magento calculates custom option prices?

No. All price-delta logic continues to flow through Magento's standard priceBox and price-option JS components. This module only replaces the visual rendering.

Do I have to pay for Panth Core?

No. Panth Core is completely free and will remain free forever. It is the foundation library that other (paid) Panth extensions depend on.

Does this work on Hyva themes?

Yes. The module ships Hyva-native templates using Alpine.js and Tailwind. No jQuery required.

Does Panth Mega Menu work on both Hyva and Luma?

Yes. The module ships with two purpose-built templates — Alpine.js + Tailwind for Hyva and vanilla JS for Luma — and auto-switches based on your active storefront theme.

Can I have more than one banner slider on the same page?

Yes. Create as many sliders as you want in the admin and place each one via its own widget or layout block. Each slider maintains independent configuration and slides.

Does it work for guests?

Yes, guests can subscribe with their email address. You can optionally require login via admin config.

How many forms can I create?

Unlimited. Each form has a unique identifier and its own submissions scope.

Does this submit URLs to Google?

No. Google does not participate in IndexNow and has stated they maintain their own crawl schedule. For Google indexing, use a proper XML sitemap and Google Search Console. This module is specifically for the IndexNow ecosystem (Bing, Yandex, Seznam, Naver, Yep).

Need this customised?

Talk to Kishan directly — written quote, scope and timeline within 24 hours. No sales call.

WhatsApp

Custom Product Options for Magento 2 (Hyva + Luma)

$0.00
Step up

Customers usually upgrade to