Settings: Developer and Hyvä Theme Developer
Overview
These settings are for a developer who fits the quote request button and form into your theme. They place the Get Quote button and give the button, the popup and the form fields your own CSS classes. You find them in Stores → Configuration → MageMe Extensions → EasyQuote → Quote Request Form → Developer and, with the Hyvä companion installed, → Hyvä Theme Developer.
Settings
Developer
| Setting | Scope | Default | Description |
|---|---|---|---|
| Button Selector Cart | Store View | — | |
| Button Selector Mini Cart | Store View | — | |
| Custom Button CSS Classes | Store View | mm-quote-button | |
| Custom Popup CSS Classes | Store View | — |
Hyvä Theme Developer
| Setting | Scope | Default | Description |
|---|---|---|---|
| Field Block CSS Class | Store View | mb-4 | |
| Field Label CSS Class | Store View | block mb-2 text-sm font-medium text-gray-900 | |
| Field Comment CSS Class | Store View | mt-2 text-sm text-gray-500 | |
| Text Input CSS Class | Store View | Prefilled (long value) | |
| Message Textarea CSS Class | Store View | Prefilled (long value) | |
| Dropdown CSS Class | Store View | Prefilled (long value) | |
| Radio Button CSS Class | Store View | w-4 h-4 border-gray-300 focus:ring-2 focus:ring-blue-300 | |
| Radio Label CSS Class | Store View | text-sm font-medium text-gray-900 | |
| Checkbox CSS Class | Store View | Prefilled (long value) | |
| Checkbox Label CSS Class | Store View | text-sm font-medium text-gray-900 | |
| Validation Message CSS Class | Store View | mt-2 text-sm text-red-600 font-medium |
Notes
- Button Selector Cart and Button Selector Mini Cart take a CSS selector of an element on the page; the button is moved into that element. On the cart page an empty value leaves the button in its usual place. In the mini cart an empty value means the button's own box above the subtotal.
- Custom Button CSS Classes go on the Get Quote button in the cart and the mini cart. On Hyvä, keeping the default value gives the button the theme's own button style. Any other value is used as Tailwind classes: on the cart page they're added after the theme's primary button classes, in the mini cart they're used alone.
- Custom Popup CSS Classes are added to the popup that holds the request form, on Luma and Hyvä.
- The rest of the table is the Hyvä Theme Developer group, used only by the Hyvä companion. Each setting is a list of Tailwind classes for one part of the request form: the box around each field, its label and the comment under it; text inputs (also the phone and date fields), the message box and dropdowns; radio buttons and checkboxes with their labels; and the error message under a field. The defaults match the Hyvä look. The Submit button and the file drop area aren't covered.
- On Hyvä, a class you type must be in your theme's compiled CSS, or it has no effect; rebuild the theme's styles after a change. See Hyvä templates.
Was this page helpful?