Add Website settings for special-products source.

Businesses can choose product vs store item sourcing, with store as the default when the store module is enabled, and rename the FA special-products section.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-21 11:57:49 +03:30
co-authored by Cursor
parent a7950f1f13
commit 193c63bfd2
10 changed files with 286 additions and 9 deletions
@@ -0,0 +1,52 @@
.sourceRow {
align-items: flex-start;
}
.radioGroup {
display: flex;
flex-direction: column;
gap: 8px;
min-width: 200px;
flex-shrink: 0;
}
.radioOption {
display: flex;
align-items: center;
gap: 8px;
min-height: var(--field-height);
padding: var(--field-padding-y) var(--field-padding-x);
font-size: var(--field-font-size);
line-height: 1.4;
color: var(--text-primary);
background-color: rgba(255, 255, 255, 0.7);
border: 1px solid rgba(148, 163, 184, 0.35);
border-radius: var(--radius-sm);
cursor: pointer;
transition: border-color 0.2s, box-shadow 0.2s;
}
.radioOption:has(input:checked) {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(var(--primary-rgb) / 0.12);
}
.radioOption:has(input:disabled) {
opacity: 0.6;
cursor: not-allowed;
}
.radioOption input {
width: 16px;
height: 16px;
margin: 0;
accent-color: var(--primary);
flex-shrink: 0;
}
@media (max-width: 768px) {
.radioGroup {
width: 100%;
min-width: 0;
}
}