fix: All 6 issues - WC notices, terminology, tax optional, context
## ✅ Issue #1: WooCommerce Admin Notices - Added proper CSS styling for .woocommerce-message/error/info - Border-left color coding (green/red/blue) - Proper padding, margins, and backgrounds - Now displays correctly in SPA ## ✅ Issue #2: No Flag Emojis - Keeping regions as text only (cleaner, more professional) - Avoids rendering issues and political sensitivities - Matches Shopify/marketplace approach ## ✅ Issue #3: Added "Available to:" Context - Zone regions now show: "Available to: Indonesia" - Makes it clear what the regions mean - Better UX - no ambiguity ## ✅ Issue #4: Terminology Fixed - "Delivery Option" - Changed ALL "Shipping Method" → "Delivery Option" - Matches Shopify/marketplace terminology - Consistent across desktop and mobile - "4 delivery options" instead of "4 methods" ## ✅ Issue #5: Tax is Optional - Tax menu only appears if wc_tax_enabled() - Matches WooCommerce behavior (appears after enabling) - Dynamic navigation based on store settings - Cleaner menu for stores without tax ## ✅ Issue #6: Shipping Method Investigation - Checked flexible-shipping-ups plugin - Its a live rates plugin (UPS API) - Does NOT require subdistrict - only needs: - Country, State, City, Postal Code - Issue: Create Order may be requiring subdistrict for ALL methods - Need to make address fields conditional based on shipping method type ## Next: Fix Create Order address fields to be conditional
This commit is contained in:
@@ -132,6 +132,30 @@
|
||||
[data-radix-popper-content-wrapper] { z-index: 2147483647 !important; }
|
||||
body.woonoow-fullscreen .woonoow-app { overflow: visible; }
|
||||
|
||||
/* --- WooCommerce Admin Notices --- */
|
||||
.woocommerce-message,
|
||||
.woocommerce-error,
|
||||
.woocommerce-info {
|
||||
position: relative;
|
||||
border-left: 4px solid #00a32a;
|
||||
padding: 12px 16px;
|
||||
margin: 16px 0;
|
||||
background: #f0f6fc;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.woocommerce-error {
|
||||
border-left-color: #d63638;
|
||||
background: #fcf0f1;
|
||||
}
|
||||
|
||||
.woocommerce-info {
|
||||
border-left-color: #2271b1;
|
||||
background: #f0f6fc;
|
||||
}
|
||||
|
||||
/* a[href] {
|
||||
color: rgb(34 197 94);
|
||||
font-weight: bold;
|
||||
|
||||
Reference in New Issue
Block a user