Kategori Komponentleri
Sıralama Seçenekleri
Görünüm

Kod Yapısı
Sıralama seçenekleri sadece ürün listeleme (kategori) sayfalarında mevcuttur. Twig dosyası tema düzenleme alanında açık olmadığı için sadece css'lik düzenleme yapılabilmektedir.
SCSS
style.css/* Sorting Options */ #sorting-options { margin-bottom: var(--spacer-5); select.form-control:not([size]):not([multiple]), select:not([size]) { height: 40px; color: $color-text; font-size: var(--font-size-12); cursor: pointer; padding: 4px 40px 4px 12px; border: 1px solid $color-border; border-radius: $border-radius; background-size: 36px; background-position: right center; background-image: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 16.0005L18 22L12 16.0005L12.9999 15L18 20.0004L23.0001 15L24 16.0005Z' fill='%232B2D42'/%3E%3C/svg%3E%0A"); } .record-count { line-height: 20px; color: $color-text; font-size: var(--font-size-12); } .checkbox-custom { line-height: 20px; input[type=checkbox] { & + label { line-height: 20px; color: $color-text; font-size: var(--font-size-12); font-weight: 400; padding-left: 30px; &:before { width: 20px; height: 20px; border: 1px solid $color-border; } } &:checked { & + label { &:before { background-image: none; border-color: $color-primary; background-color: $color-white; border-radius: $border-radius; } &:after { content: ''; position: absolute; left: 7px; top: 2px; display: inline-block; width: 6px; height: 12px; border-bottom: 2px solid $color-primary; border-right: 2px solid $color-primary; transform: rotate(45deg); } } } } } }
Son güncelleme: