feat: inline-editable prices in product mapping UI
Click any price cell (WC Standard, WC Sale, Odoo Price) to edit inline. Enter or click away saves and syncs to the source. Escape cancels. Validation: sale price cannot exceed standard price. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -615,3 +615,26 @@ html[style*="color-scheme: dark"] {
|
||||
width: 60px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------
|
||||
Editable price cells
|
||||
---------------------------------------------------------- */
|
||||
.woo-editable-cell {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
.woo-editable-cell:hover {
|
||||
background: var(--woo-bg-hover) !important;
|
||||
}
|
||||
.woo-edit-input {
|
||||
width: 90px;
|
||||
padding: 2px 6px;
|
||||
border: 1px solid var(--woo-accent);
|
||||
border-radius: 4px;
|
||||
font-size: 0.85rem;
|
||||
text-align: right;
|
||||
background: var(--woo-input-bg);
|
||||
color: var(--woo-text-primary);
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 2px var(--woo-accent-glow);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user