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
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

Custom Options - Styled Product Options for Magento 2 Hyva & Luma. Panth Custom Options replaces default Magento 2 product custom options with a modern, accessible UI - styled text inputs, drag-and-drop file upload zones, dropdowns, card-style radios and checkboxes, HTML5 date pickers, and CSS-variable theming. Works on Hyva and Luma. Compatible with Magento 2.4.4 - 2.4.8 and PHP 8.1 - 8.4. Built by Top Rated Plus Magento developer Kishan Savaliya.

What it doesPanth Custom Options replaces default Magento 2 product custom options with a modern, accessible UI - styled text inputs, drag-and-drop file upload zones, dropdowns, card-style radios and checkboxes, HTML5 date pickers, and CSS-variable theming.
🎯Best forMerchants squeezing more conversion out of an existing checkout flow
CompatibilityMagento 2.4.4 – 2.4.8 · PHP 8.1 – 8.4 · Hyva + Luma
🔓LicenseFree forever · No subscription · MIT-style open source

Engineered for magento 2 custom options, product options styling, hyva custom options — ships with sensible defaults, full admin controls, and zero JavaScript bloat. Works identically on Hyva and Luma; passes Adobe MEQP with zero severity-10 violations.

magento 2 custom optionsproduct options stylinghyva custom optionsluma custom optionsmagento 2 product optionsmagento 2 file upload

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.


Get a free quote for your project in 24 hours - custom modules, Hyva themes, performance optimization, M1 to M2 migrations, and Adobe Commerce Cloud.

Kishan Savaliya

Top Rated Plus on Upwork

100% Job Success - 10+ Years Magento Experience Adobe Certified - Hyva Specialist

Panth Infotech Agency

Magento Development Team

Custom Modules - Theme Design - Migrations Performance - SEO - Adobe Commerce Cloud

Visit our website: kishansavaliya.com  |  Get a quote: kishansavaliya.com/get-quote


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

Every Magento custom option input type is styled by this module:

Magento Type Rendered As
Text Field Styled single-line text input with focus ring
Text Area Styled multi-line textarea with resize handle
File Drag-and-drop upload zone with preview and remove button
Drop-down Custom-styled <select> with chevron icon
Radio Buttons Card-style radio group with price-delta badges
Checkbox Card-style checkbox group with price-delta badges
Multiple Select Enhanced multi-select with tags
Date Native HTML5 <input type="date">
Date & Time Native HTML5 <input type="datetime-local">
Time Native HTML5 <input type="time">

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)

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.


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.


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;
}

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.


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.


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.


Channel Contact
Email kishansavaliyakb@gmail.com
Website kishansavaliya.com
WhatsApp +91 84012 70422
GitHub Issues github.com/mage2sk/module-custom-options/issues
Upwork (Top Rated Plus) Hire Kishan Savaliya
Upwork Agency Panth Infotech

Response time: 1-2 business days.

Need Custom Magento Development?

Looking for custom Magento module development, Hyva theme customization, store migrations, or performance optimization? Get a free quote in 24 hours:

     


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


Built and maintained by Kishan Savaliya - kishansavaliya.com - a Top Rated Plus Magento developer on Upwork with 10+ years of eCommerce experience.

Panth Infotech is a Magento 2 development agency specializing in high-quality, security-focused extensions and themes for both Hyva and Luma storefronts. Our extension suite covers SEO, performance, checkout, product presentation, customer engagement, and store management - over 34 modules built to MEQP standards and tested across Magento 2.4.4 to 2.4.8.

Browse the full extension catalog on the Adobe Commerce Marketplace or Packagist.


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 Advanced Cart work with Hyva?

Yes. The module ships dedicated Hyva templates built with Alpine.js and Tailwind CSS. Theme detection is automatic via Panth_Core.

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.

Will this overwrite my custom image labels?

No. Merchant-authored labels (anything other than empty, the product name, Image, main product photo, or the raw filename) are preserved. Only Magento's default placeholders get upgraded to template output.

Do I need a WhatsApp Business account?

No — any valid WhatsApp number works. However, a WhatsApp Business account is strongly recommended for commercial use (auto-replies, labels, catalog).

Does this replace Magento's default product gallery?

Yes, on the product detail page. When the module is enabled, the default gallery.phtml is replaced with the Panth gallery (one template for Hyva, another for Luma — chosen automatically).

How many forms can I create?

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

Will this slow down my storefront?

No. The head block is cacheable="true" so the full JSON-LD payload is baked into full-page cache. Providers only run on uncached renders; cached hits serve the pre-rendered <script> tag with zero PHP evaluation.

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.

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.

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