<div class="amrelated-pack-wrapper">
    <div class="amrelated-title">
        <strong>Koop Samen</strong>
    </div>

    <div class="amrelated-content-wrapper">
        <div class="amrelated-pack-list -wide ">
            <div class="amrelated-pack-item -wide -discount-applied -main">
                <div class="amrelated-info">

                    <div class="amrelated-photo-container">
                        <a href="#" class="amrelated-link">
                            <div class="lazyload-wrapper ">
                                <img class="image lazyload " src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw&#x3D;&#x3D;" data-src="/images/product/venum-kickbokshandschoenen-elite-zwart-goud.jpg" alt="product name goes here">
                            </div>

                        </a>
                        <div class="amrelated-discount -product" data-amrelated-js="item-price-discount">
                            10%
                        </div>
                    </div>

                    <div class="amrelated-details">

                        <div class="amrelated-name">
                            <a title="Booster Kickboks Scheenbeschermers - BSG V3 Zwart/Zilver" href="#" class="amrelated-link">
                                Venum (Kick)bokshandshcoenen Elite - Zwart/Goud
                            </a>
                        </div>

                        <div class="price-box price-final_price" data-role="priceBox" data-product-id="101226" data-price-box="product-id-101226">
                            <span class="normal-price">
                                <span class="price-container price-final_price tax weee">
                                    <span class="price-label">Van</span>
                                    <span id="product-price-101226" data-price-amount="110" data-price-type="finalPrice" class="price-wrapper ">
                                        <span class="price">€ 110.00</span>
                                    </span>
                                </span>
                            </span>
                        </div>

                    </div>
                </div>
            </div>

            <span class="amrelated-plus">+</span>

            <div class="amrelated-pack-items -selected" data-amrelated-js="pack-container">
                <div class="amrelated-background" data-amrelated-js="selected-background"></div>
                <div class="amrelated-pack-item -wide -discount-applied -selected" data-amrelated-js="pack-item" data-product-id="101013">
                    <div class="amrelated-info">
                        <div class="amrelated-photo-container">
                            <input type="checkbox" class="amrelated-checkbox" checked="checked" value="1" />
                            <label class="amrelated-label"></label>
                            <a href="#" class="amrelated-link">
                                <div class="lazyload-wrapper ">
                                    <img class="image lazyload " src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw&#x3D;&#x3D;" data-src="/images/product/venum-scheenbeschermers-elite-zwart-goud.jpeg" alt="product name goes here">
                                </div>

                            </a>
                            <div class="amrelated-discount -product" data-amrelated-js="item-price-discount">
                                10%
                            </div>
                        </div>
                        <div class="amrelated-details">
                            <div class="amrelated-name">
                                <a title="Booster (Kick)Bokshandschoenen  BGL 1 V3  - Zwart Foil" href="https://vechtsportonline.test/booster-kick-bokshandschoenen-bgl-1-v3-zwart-foil" class="amrelated-link">
                                    Venum Scheenbeschemers Elite - Zwart/Goud
                                </a>
                            </div>

                            <div class="price-box price-final_price" data-role="priceBox" data-product-id="101013" data-price-box="product-id-101013">
                                <span class="normal-price">
                                    <span class="price-container price-final_price tax weee">
                                        <span class="price-label">Van</span>
                                        <span id="product-price-101013" data-price-amount="129" data-price-type="finalPrice" class="price-wrapper ">
                                            <span class="price">&nbsp;129,00</span>
                                        </span>
                                    </span>
                                </span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <span class="amrelated-equal ">=</span>
        <div class="amrelated-summary-content ">
            <div class="amrelated-price-wrapper">
                <div class="amrelated-discount -summary">
                    Opslaan
                    <span class="amount" data-amrelated-js="bundle-price-discount">
                        <span class="price">&nbsp;23,90</span>
                    </span>
                </div>
                <div class="main price" data-amrelated-js="bundle-final-price">
                    <span class="price">&nbsp;215,10</span>
                </div>
            </div>
            <div class="amrelated-tocart-wrapper">
                <button class="action primary" type="button" data-amrelated-js="add-to-cart" title="Toevoegen">
                    <span>Toevoegen</span>
                </button>
            </div>
        </div>
    </div>
</div>
<div class="amrelated-pack-wrapper">
    <div class="amrelated-title">
        <strong>{{ title }}</strong>
    </div>

    <div class="amrelated-content-wrapper">
        <div class="amrelated-pack-list -wide ">
            <div class="amrelated-pack-item -wide -discount-applied -main">
                <div class="amrelated-info">

                    <div class="amrelated-photo-container">
                        <a href="#" class="amrelated-link">
                            {{ render '@image' productImage }}
                        </a>
                        <div class="amrelated-discount -product" data-amrelated-js="item-price-discount">
                            {{ discount }}
                        </div>
                    </div>

                    <div class="amrelated-details">

                        <div class="amrelated-name">
                            <a title="Booster Kickboks Scheenbeschermers - BSG V3 Zwart/Zilver" href="#"
                               class="amrelated-link">
                                {{ productName }}
                            </a>
                        </div>

                        <div class="price-box price-final_price" data-role="priceBox" data-product-id="101226" data-price-box="product-id-101226">
                            <span class="normal-price">
                                <span class="price-container price-final_price tax weee">
                                    <span class="price-label">Van</span>
                                    <span id="product-price-101226" data-price-amount="110" data-price-type="finalPrice" class="price-wrapper ">
                                        <span class="price">{{ productPrice }}</span>
                                    </span>
                                </span>
                            </span>
                        </div>

                    </div>
                </div>
            </div>

            <span class="amrelated-plus">+</span>

            <div class="amrelated-pack-items -selected" data-amrelated-js="pack-container">
                <div class="amrelated-background" data-amrelated-js="selected-background"></div>
                <div class="amrelated-pack-item -wide -discount-applied -selected" data-amrelated-js="pack-item"
                     data-product-id="101013">
                    <div class="amrelated-info">
                        <div class="amrelated-photo-container">
                            <input type="checkbox"
                                   class="amrelated-checkbox"
                                   checked="checked"
                                   value="1"
                            />
                            <label class="amrelated-label"></label>
                            <a href="#"
                               class="amrelated-link">
                                {{ render '@image' relatedProductImage }}
                            </a>
                            <div class="amrelated-discount -product" data-amrelated-js="item-price-discount">
                                {{ discount }}
                            </div>
                        </div>
                        <div class="amrelated-details">
                            <div class="amrelated-name">
                                <a title="Booster (Kick)Bokshandschoenen  BGL 1 V3  - Zwart Foil"
                                   href="https://vechtsportonline.test/booster-kick-bokshandschoenen-bgl-1-v3-zwart-foil"
                                   class="amrelated-link">
                                    {{ relatedProductName }}
                                </a>
                            </div>

                            <div class="price-box price-final_price" data-role="priceBox" data-product-id="101013"
                                 data-price-box="product-id-101013">
                                <span class="normal-price">
                                    <span class="price-container price-final_price tax weee">
                                        <span class="price-label">Van</span>
                                        <span id="product-price-101013" data-price-amount="129" data-price-type="finalPrice" class="price-wrapper ">
                                            <span class="price">&nbsp;129,00</span>
                                        </span>
                                    </span>
                                </span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <span class="amrelated-equal ">=</span>
        <div class="amrelated-summary-content ">
            <div class="amrelated-price-wrapper">
                <div class="amrelated-discount -summary">
                    Opslaan
                    <span class="amount" data-amrelated-js="bundle-price-discount">
                        <span class="price">&nbsp;23,90</span>
                    </span>
                </div>
                <div class="main price" data-amrelated-js="bundle-final-price">
                    <span class="price">&nbsp;215,10</span>
                </div>
            </div>
            <div class="amrelated-tocart-wrapper">
                <button class="action primary" type="button" data-amrelated-js="add-to-cart" title="Toevoegen">
                    <span>Toevoegen</span>
                </button>
            </div>
        </div>
    </div>
</div>
{
  "title": "Koop Samen",
  "discount": "10%",
  "productImage": {
    "src": "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
    "dataSrc": "/images/product/venum-kickbokshandschoenen-elite-zwart-goud.jpg",
    "alt": "product name goes here"
  },
  "productName": "Venum (Kick)bokshandshcoenen Elite - Zwart/Goud",
  "productPrice": "€ 110.00",
  "relatedProductImage": {
    "src": "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
    "dataSrc": "/images/product/venum-scheenbeschermers-elite-zwart-goud.jpeg",
    "alt": "product name goes here"
  },
  "relatedProductName": "Venum Scheenbeschemers Elite - Zwart/Goud",
  "relatedProductPrice": "€ 129.00",
  "qtyInput": {
    "class": "cart-list-item__qty-wrapper",
    "label": {
      "attribute": "",
      "text": "Qty:",
      "class": "label--hidden"
    },
    "field": {
      "attribute": "type=\"number\" value=\"1\"",
      "class": "cart-list-item__qty-input",
      "placeholder": "Qty"
    }
  },
  "editIcon": {
    "tag": "a",
    "attributes": "href=\"#\" aria-label=\"edit product in your shopping cart\"",
    "text": "",
    "class": "button--icon cart-list-item__actions-item",
    "icon": {
      "id": "edit",
      "title": "Edit pencil",
      "class": "button__icon"
    }
  },
  "removeIcon": {
    "tag": "button",
    "attributes": "href=\"#\" aria-label=\"remove this product from your shopping cart\"",
    "text": "",
    "class": "button--icon cart-list-item__actions-item",
    "icon": {
      "id": "remove",
      "title": "Trash bin",
      "class": "button__icon"
    }
  },
  "attributes": {
    "class": "cart-list-item__attributes",
    "elements": [
      {
        "label": "Size",
        "value": "XXL"
      },
      {
        "label": "Color",
        "value": "Red"
      }
    ]
  },
  "configurable": true
}
  • Content:
    @import '../../04-views/bundle-page/bundle-page-variables';
    .amrelated-pack-wrapper {
        .amrelated-title {
            display: flex;
            width: 100%;
            padding: 1rem;
            font-size: 20px;
            color: #e30613;
        }
    
        .amrelated-content-wrapper {
            border: $bundle-page-border;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            .amrelated-pack-items {
                flex-direction: column;
                max-width: 100%;
            }
            .amrelated-pack-list,
            .amrelated-pack-list.-wide {
                display: flex;
                max-width: 100%;
                flex-direction: column;
                .amrelated-pack-item,
                .amrelated-pack-item.-wide {
                    width: 100%;
                }
    
                .amrelated-info {
                    position: relative;
                    display: flex;
                    padding: 1rem;
                    border-bottom: $form-checkbox-border;
                    column-gap: 1rem;
    
                    .amrelated-photo-container {
                        width: 40%;
                        display: flex;
                        align-items: center;
                        border: 0;
                        flex-direction: row;
    
                        .amrelated-link {
                            &:before {
                                content: "";
                                margin: 0 15px 0 0;
                                display: block;
                            }
                        }
    
                        .amrelated-checkbox {
                            display: none;
                        }
    
                        .amrelated-label {
                            position: absolute;
                            box-sizing: border-box;
                            width: 20px;
                            height: 20px;
                            background: #fff;
                            border: 1px solid $color-primary;
                            border-radius: 2px;
                            cursor: pointer;
                            z-index: 9;
                            left: -15px;
                        }
    
                        .amrelated-checkbox:checked + .amrelated-label {
                            background: $white url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAlElEQVQ4T6WTXQ2AMAwGDwdIQAISQAEWsIQCQAkWkIAEJJCSNCljP7Dtdblb26+rKDxVIU+uoAY2YMoRKNwC61/BAwbGP4IXLPP7KvDCVtAARyCRIKyCBRiAHtgdSRRWwQjMwOlIkrBtwZVIO5LzHZVMO7RwdohWIoIk7EtBJXIXfVkr8sUoki5Wtm3n6x4E/1yx4AI+qiERKNFzCwAAAABJRU5ErkJggg==") no-repeat center;
                            background-size: 12px 15px;
                        }
    
                        .amrelated-discount.-product {
                            position: absolute;
                            top: -10px;
                            right: auto;
                            left: 0;
                            background: $color-primary;
                            color: $white;
                            padding: 5px;
                        }
                    }
    
                    .amrelated-details {
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        text-align: left;
    
                        .amrelated-name {
                            font-size: 16px;
                        }
                    }
                }
            }
    
            .amrelated-summary-content {
                padding: 0 1rem 1rem;
                width: 100%;
    
                .amrelated-price-wrapper {
                    padding: 1rem 0;
                    font-size: 18px;
                    display: flex;
                    flex-direction: column-reverse;
                    align-items: flex-start;
    
                    .main.price {
                        font-size: 16px;
                    }
                    .amrelated-discount.-summary {
                        background: transparent;
                        position: relative;
                        font-size: 16px;
                    }
                }
    
                button.action.primary {
                    cursor: pointer;
                    align-items: center;
                    justify-content: center;
                    background: $color-primary;
                    color: $white;
                    padding: $spacer--medium;
                    border-radius: 5px;
                    border: 0;
                    text-transform: uppercase;
                }
            }
    
            span.amrelated-plus,
            span.amrelated-equal {
                display: none;
            }
        }
    }
    .amrelated-popup-container {
        .amrelated-bundle-popup {
            width: 90%;
            max-width: 820px;
            button.action.primary {
                align-items: center;
                justify-content: center;
                background: $color-primary;
                color: $white;
                padding: $spacer--medium;
                border-radius: 5px;
                border: 0;
                text-transform: uppercase;
            }
            .amrelated-products-wrapper {
                height: 100%;
                max-height: 80vh;
                overflow-y: auto;
                padding-bottom: 80px;
                display: flex;
                flex-direction: column;
    
                .amrelated-notice {
                    z-index: 99;
                    max-width: 100%;
                    margin: 0;
                    padding: 10px 0;
                    border-radius: 0;
                    font-size: 14px;
                    background: $gray-light;
    
                    p {
                        margin: 0;
                        color: $white;
                    }
                }
                .amrelated-product-container {
                    .amrelated-product-content {
                        .amrelated-product-info {
                            display: flex;
                            flex-direction: column;
                            @include mq($screen-m) {
                                display: grid;
                                flex-direction: row;
                                flex-wrap: wrap;
                                margin-top: 1rem;
                                min-height: auto;
                                grid-template-rows: 33% 66%;
                                grid-template-columns: 30% 70%;
                                grid-template-areas: "left right-top" "left right-bottom";
                            }
    
    
                            .amrelated-info.-bottom,
                            .amrelated-info.-top {
                                width: 100%;
                                padding: 0;
                                margin: 0;
                                @include mq($screen-m) {
                                    margin-bottom: 20px;
                                    width: 100%;
                                    padding: 0 20px 0 0;
    
                                }
                            }
                            .amrelated-info.-top {
                                padding: 10px;
    
                                @include mq($screen-m) {
                                    grid-area: right-top;
                                    padding-top: 20px;
                                }
                            }
                            .product-view {
                                &__options {
                                    display: flex;
                                    flex-direction: column;
                                    align-items: flex-start;
                                    padding-right: 15px;
                                    @include mq($screen-m) {
                                        flex-direction: row;
                                        align-items: center;
                                    }
                                    .price-label {
                                        display: none;
                                    }
                                }
                                &__price {
                                    margin: 0;
                                }
                                &__cart-actions {
                                    display: none;
                                }
                            }
                            .amrelated-title {
                                a {
                                    color: $font-color-base;
                                    text-decoration: none;
                                    line-height: 17px;
                                    font-size: 17px;
                                    font-weight: 600;
                                    font-family: $font-family-saira;
                                }
                            }
                            .amrelated-info.-bottom {
                                width: 100%;
                                padding: 10px;
                                @include mq($screen-m) {
                                    grid-area: right-bottom;
                                    padding: 20px 20px 0 0;
                                }
                                .amrelated-description {
                                    display: none;
                                }
                                .product-view__size-selection {
                                    width: 100%;
                                }
                                .product-view__options {
                                    padding: 15px;
                                    @include mq($screen-m) {
                                        padding: 0;
                                    }
                                }
                            }
                            .amrelated-image-container {
                                width: 100%;
                                padding: 0;
                                margin: 0;
                                border: 0;
                                @include mq($screen-m) {
                                    position: relative;
                                    left: 0;
                                    padding: 0 25px 0 0;
                                    box-sizing: border-box;
                                    order: 0;
                                    grid-area: left;
                                }
                                .product-item-photo {
                                    width: 45%;
                                    display: block;
                                    margin: auto;
                                    @include mq($screen-m) {
                                        width: 80%;
                                    }
                                }
                            }
    
                        }
                    }
                    &:after {
                        width: 100%;
                        margin-left: 0;
                        background-color: #c5c5c5;
                    }
                }
            }
            .amrelated-popup-tocart-wrapper {
                .action {
                    background: $color-primary;
                    border: 0;
                    border-radius: 4px;
                    text-transform: uppercase;
                    color: #fff;
                }
            }
        }
    }
    
  • URL: /components/raw/amasty-mostviewed/_amasty-mostviewed.scss
  • Filesystem Path: build/components/03-modules/amasty-mostviewed/_amasty-mostviewed.scss
  • Size: 10.7 KB
  • Content:
    .amrelated-grid-wrapper {
        .block-title {
            margin: 0 0 0.5em 0;
            font-family: "Evogria Regular";
            font-weight: 700;
            line-height: 1.2;
            color: #1b1b1b;
            font-size: 18px;
            text-transform: none;
        }
        .products-grid {
            overflow-x: hidden;
            width: 100%;
            padding: 2rem 0;
    
            .product-items {
                scroll-snap-type: x mandatory;
                display: flex;
                overflow-x: scroll;
                padding: 1rem 0;
    
                .product-item {
                    scroll-snap-align: center;
                    flex: none;
                    width: 100%;
                    max-width: 75%;
                    scroll-snap-stop: always;
                    margin: 1rem 0;
                    list-style: none;
                    @include mq($screen-m) {
                        max-width: 23%;
                    }
                    &::marker {
                        display: none;
                    }
                    .product-item-info {
                        margin: 0.5rem;
                        padding: 1rem;
                        box-shadow: 0 0 0.5rem #ccc;
                        border-radius: 15px;
                        overflow: hidden;
                        height: 100%;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        position: relative;
    
                        .product-item-photo {
                            height: auto;
                            width: 100%;
                            display: flex;
                            justify-content: center;
                            object-fit: contain;
                            background: #fff;
                            img {
                                max-width: 100%;
                                max-height: 100%;
                                height: auto;
                                width: 100%;
                                margin: auto;
                                padding: 0;
                                mix-blend-mode: multiply;
                                object-fit: contain;
                            }
                        }
                    }
                    .product-item-details {
                        display: flex;
                        flex-wrap: wrap;
                        justify-content: space-between;
                        align-items: center;
                        .product-item-name {
                            width: 100%;
                            padding: 0 0 1.4rem;
                            font-size: 18px;
                            font-weight: 700;
                            font-family: "Roboto", sans-serif;
                            color: #000;
                            line-height: 1.2rem;
                        }
                        .price-box.price-final_price {
                            .price-wrapper {
                                .price {
                                    color: #000;
                                    font-weight: 700;
                                    line-height: 1.2rem;
                                    font-size: 22px;
                                    padding-bottom: 3px;
                                    width: max-content;
                                    display: flex;
                                    font-family: "Saira", sans-serif;
                                }
                            }
                        }
                        .product-item-actions {
                            .action.tocart.primary {
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                background: #16a34a;
                                transition: .5s ease all;
                                line-height: 18px;
                                font-size: 18px;
                                padding: 1rem;
                                border-radius: 10px;
                                color: #fff;
                                font-family: "Saira", sans-serif;
                                width: min-content;
                                font-style: normal;
                            }
                        }
                    }
                }
            }
        }
    }
  • URL: /components/raw/amasty-mostviewed/_related-products.scss
  • Filesystem Path: build/components/03-modules/amasty-mostviewed/_related-products.scss
  • Size: 4.2 KB
  • Handle: @amasty-mostviewed
  • Preview:
  • Filesystem Path: build/components/03-modules/amasty-mostviewed/amasty-mostviewed.hbs
  • References (1): @image

There are no notes for this item.