feat: WC standard price + sale price with smart sync logic
- Split woo_price into woo_regular_price and woo_sale_price - Sync to WC: if standard=0 sets regular_price, otherwise sets sale_price - Validation: standard price cannot be less than sale price - Both prices shown in mapping UI with sale price highlighted in green - Refresh Prices pulls both values from WC API Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -605,6 +605,12 @@ html[style*="color-scheme: dark"] {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Sale price highlight */
|
||||
.woo-sale-price {
|
||||
color: var(--woo-success);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.woo-price-sync-col {
|
||||
width: 60px;
|
||||
white-space: nowrap;
|
||||
|
||||
Reference in New Issue
Block a user