<div class="modal-wrapper js-modal" id="product-add">
    <div class="modal-overlay js-modal-overlay"></div>
    <div class="modal modal--product-add modal--mobile-overlay">
        <div class="modal__inner">
            <button class="modal__close js-modal-close-button">
        <svg class="icon icon--close-large">
  <use xlink:href="/assets/icons/icons.svg#close-large"></use>
</svg>

      </button>
            <span class="modal__title">Added to Your Cart</span>
            <div class="modal__content">
                <form class="product-add">
                    <img class="product-add__item-image" src="https://mauijim.scene7.com/is/image/mauijim/202-02_front?$config1800$&amp;wid&#x3D;160">
                    <p class="product-add__name">PEAHI</p>
                    <span class="product-add__item-info"><strong>Frame:</strong> Gloss Black</span>
                    <span class="product-add__item-info"><strong>Lens:</strong> Neutral Grey</span>
                    <span class="product-add__item-info"><strong>Lens Material:</strong> SuperThin Glass</span>
                    <p class="product-add__price">$149.00</p>
                    <div class="product-add__actions">
                        <button class="button button--primary">Go to Shopping Cart</button>

                        <button class="button button--outlined">Continue Shopping</button>

                        <button class="button button--plain-text js-modal-close-button" type="cancel">Close</button>

                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<div class="modal-wrapper js-modal" id="{{id}}">
  <div class="modal-overlay js-modal-overlay"></div>
  <div class="modal modal--{{id}} modal--mobile-overlay">
    <div class="modal__inner">
      <button class="modal__close js-modal-close-button">
        {{render '@icons--close-large'}}
      </button>
      {{#if title}}
      <span class="modal__title">{{title}}</span>
      {{/if}}
      <div class="modal__content">
        {{#if description}}
        <p class="modal__description">{{description}}</p>
        {{/if}}
        <form class="product-add">
          {{#if product}}
            <img class="product-add__item-image" src="{{productImage product.variants.0.images.front 160}}">
            <p class="product-add__name">{{product.name}}</p>
            <span class="product-add__item-info"><strong>Frame:</strong> {{product.variants.0.name}}</span>
            <span class="product-add__item-info"><strong>Lens:</strong> {{product.variants.0.lens}}</span>
            <span class="product-add__item-info"><strong>Lens Material:</strong> {{product.variants.0.lensMaterial}}</span>
            <p class="product-add__price">{{product.variants.0.price}}</p>
          {{/if}}
          {{#if actions}}
          <div class="product-add__actions">
            {{#each actions}}
              {{render (dynamicVariant 'buttons' type) this merge=true}}
            {{/each}}
          </div>
          {{/if}}
        </form>
      </div>
    </div>
  </div>
</div>
{
  "product": {
    "name": "PEAHI",
    "summary": "Polarized men's classic sunglasses",
    "description": "Pe'ahi ('peh-AH-hee'), on Maui's north shore. Known for big waves as extreme as 70 feet. Its legendary reef break is respectfully referred to by surfers as Jaws.",
    "category": "Wrap",
    "rating": [
      "star-full",
      "star-full",
      "star-full",
      "star-half",
      "star-empty"
    ],
    "vip": null,
    "tax": "Inkl. MWST",
    "variants": [
      {
        "id": "202-02",
        "name": "Gloss Black",
        "color": "#000",
        "orderMonth": "12",
        "orderYear": "2017",
        "locationCategory": "Online Retailer",
        "purchaseLocation": "Dicks.com",
        "images": {
          "front": "https://mauijim.scene7.com/is/image/mauijim/202-02_front?$config1800$",
          "angle": "https://mauijim.scene7.com/is/image/mauijim/202-02_quarter?$config1800$",
          "side": "https://mauijim.scene7.com/is/image/mauijim/202-02_side?$config1800$"
        },
        "swatch": "https://sprint.design.mauijim.dev.idibgroup.com/assets/images/pattern-placeholder.png",
        "swatchImage": null,
        "active": true,
        "price": "$149.00",
        "salePrice": "$229.00",
        "url": "#202-02",
        "status": null,
        "stock": "In Stock",
        "lens": "Neutral Grey",
        "lensId": "neutralgrey",
        "lensFull": "Neutral Grey - Highest light reduction for rich color and contrast.",
        "lensMaterial": "SuperThin Glass",
        "lensMaterialFull": "SuperThin Glass - Perfect when clarity is your highest priority.",
        "lensDetailData": {
          "product": "202-02",
          "inactive": null,
          "material": "superthin"
        }
      },
      {
        "id": "B202-2M",
        "name": "Matte Black",
        "color": "#000",
        "orderMonth": null,
        "orderYear": null,
        "locationCategory": null,
        "purchaseLocation": null,
        "images": {
          "front": "https://mauijim.scene7.com/is/image/mauijim/B202-2M_front?$config1800$",
          "angle": "https://mauijim.scene7.com/is/image/mauijim/B202-2M_quarter?$config1800$",
          "side": "https://mauijim.scene7.com/is/image/mauijim/B202-2M_side?$config1800$"
        },
        "swatch": "https://sprint.design.mauijim.dev.idibgroup.com/assets/images/pattern-placeholder.png",
        "swatchImage": null,
        "active": null,
        "price": "$189.00",
        "salePrice": "$219.00",
        "url": "#B202-2M",
        "status": null,
        "stock": "In Stock",
        "lens": "Blue Hawaii",
        "lensId": "bluehawaii",
        "lensFull": "Blue Hawaii - Blue mirror coating provides a stylish new look.",
        "lensMaterial": "SuperThin Glass",
        "lensMaterialFull": "SuperThin Glass - Perfect when clarity is your highest priority.",
        "lensDetailData": {
          "product": "B202-2M",
          "inactive": true,
          "material": "superthin"
        }
      },
      {
        "id": "H202-10",
        "name": "Dark Tortoise",
        "color": "#303032",
        "orderMonth": null,
        "orderYear": null,
        "locationCategory": null,
        "purchaseLocation": null,
        "images": {
          "front": "https://mauijim.scene7.com/is/image/mauijim/H202-10_front?$config1800$",
          "angle": "https://mauijim.scene7.com/is/image/mauijim/H202-10_quarter?$config1800$",
          "side": "https://mauijim.scene7.com/is/image/mauijim/H202-10_side?$config1800$"
        },
        "swatch": "https://sprint.design.mauijim.dev.idibgroup.com/assets/images/pattern-placeholder.png",
        "swatchImage": "https://mauijim.scene7.com/is/image/mauijim/10",
        "active": null,
        "price": "$229.00",
        "salePrice": null,
        "url": "#H202-10",
        "status": null,
        "stock": "In Stock",
        "lens": "HCL® Bronze",
        "lensId": "hclbronze",
        "lensFull": "HCL® Bronze - Versatile in changing conditions with a warm tint.",
        "lensMaterial": "SuperThin Glass",
        "lensMaterialFull": "SuperThin Glass - Perfect when clarity is your highest priority.",
        "lensDetailData": {
          "product": "H202-10",
          "inactive": true,
          "material": "superthin"
        }
      },
      {
        "id": "H202-2M",
        "name": "Matte Black",
        "color": "#000",
        "orderMonth": null,
        "orderYear": null,
        "locationCategory": null,
        "purchaseLocation": null,
        "images": {
          "front": "https://mauijim.scene7.com/is/image/mauijim/H202-2M_front?$config1800$",
          "angle": "https://mauijim.scene7.com/is/image/mauijim/H202-2M_quarter?$config1800$",
          "side": "https://mauijim.scene7.com/is/image/mauijim/H202-2M_side?$config1800$"
        },
        "swatch": "https://sprint.design.mauijim.dev.idibgroup.com/assets/images/pattern-placeholder.png",
        "swatchImage": null,
        "active": null,
        "price": "$229.00",
        "salePrice": null,
        "url": "#H202-2M",
        "status": null,
        "stock": "In Stock",
        "lens": "HCL® Bronze",
        "lensId": "hclbronze",
        "lensFull": "HCL® Bronze - Versatile in changing conditions with a warm tint.",
        "lensMaterial": "SuperThin Glass",
        "lensMaterialFull": "SuperThin Glass - Perfect when clarity is your highest priority.",
        "lensDetailData": {
          "product": "H202-2M",
          "inactive": true,
          "material": "superthin"
        }
      },
      {
        "id": "H202-70",
        "name": "Redfish",
        "color": "#7d4a07",
        "orderMonth": null,
        "orderYear": null,
        "locationCategory": null,
        "purchaseLocation": null,
        "images": {
          "front": "https://mauijim.scene7.com/is/image/mauijim/H202-70_front?$config1800$",
          "angle": "https://mauijim.scene7.com/is/image/mauijim/H202-70_quarter?$config1800$",
          "side": "https://mauijim.scene7.com/is/image/mauijim/H202-70_side?$config1800$"
        },
        "swatch": "https://sprint.design.mauijim.dev.idibgroup.com/assets/images/pattern-placeholder.png",
        "swatchImage": null,
        "active": null,
        "price": "$229.00",
        "salePrice": null,
        "url": "#H202-70",
        "status": null,
        "stock": "In Stock",
        "lens": "HCL® Bronze",
        "lensId": "hclbronze",
        "lensFull": "HCL® Bronze - Versatile in changing conditions with a warm tint.",
        "lensMaterial": "SuperThin Glass",
        "lensMaterialFull": "SuperThin Glass - Perfect when clarity is your highest priority.",
        "lensDetailData": {
          "product": "H202-70",
          "inactive": true,
          "material": "superthin"
        }
      },
      {
        "id": "HT202-71",
        "name": "MahiMahi",
        "color": "#218b16",
        "orderMonth": null,
        "orderYear": null,
        "locationCategory": null,
        "purchaseLocation": null,
        "images": {
          "front": "https://mauijim.scene7.com/is/image/mauijim/HT202-71_front?$config1800$",
          "angle": "https://mauijim.scene7.com/is/image/mauijim/HT202-71_quarter?$config1800$",
          "side": "https://mauijim.scene7.com/is/image/mauijim/HT202-71_side?$config1800$"
        },
        "swatch": "https://sprint.design.mauijim.dev.idibgroup.com/assets/images/pattern-placeholder.png",
        "swatchImage": null,
        "active": null,
        "price": "$229.00",
        "salePrice": null,
        "url": "#HT202-71",
        "status": null,
        "stock": "In Stock",
        "lens": "Maui HT™",
        "lensId": "mauiht",
        "lensFull": "Maui HT™ - Highest usable light transmission for incredible depth perception.",
        "lensMaterial": "MauiPure",
        "lensMaterialFull": "MauiPure - The lightest weight choice for long days in the sun.",
        "lensDetailData": {
          "product": "HT202-71",
          "inactive": true,
          "material": "mauipure"
        }
      },
      {
        "id": "H202-2M-2",
        "name": "Matte Black",
        "color": "#000",
        "orderMonth": null,
        "orderYear": null,
        "locationCategory": null,
        "purchaseLocation": null,
        "images": {
          "front": "https://mauijim.scene7.com/is/image/mauijim/H202-2M_front?$config1800$",
          "angle": "https://mauijim.scene7.com/is/image/mauijim/H202-2M_quarter?$config1800$",
          "side": "https://mauijim.scene7.com/is/image/mauijim/H202-2M_side?$config1800$"
        },
        "swatch": "https://sprint.design.mauijim.dev.idibgroup.com/assets/images/pattern-placeholder.png",
        "swatchImage": null,
        "active": null,
        "price": "$229.00",
        "salePrice": null,
        "url": "#H202-2M-2",
        "status": "New",
        "stock": "Out of Stock",
        "lens": "HCL® Bronze",
        "lensId": "hclbronze",
        "lensFull": "HCL® Bronze - Versatile in changing conditions with a warm tint.",
        "lensMaterial": "SuperThin Glass",
        "lensMaterialFull": "SuperThin Glass - Perfect when clarity is your highest priority.",
        "lensDetailData": {
          "product": "H202-2M-2",
          "inactive": true,
          "material": "superthin"
        }
      },
      {
        "id": "H202-70-2",
        "name": "Redfish",
        "color": "#7d4a07",
        "orderMonth": null,
        "orderYear": null,
        "locationCategory": null,
        "purchaseLocation": null,
        "images": {
          "front": "https://mauijim.scene7.com/is/image/mauijim/H202-70_front?$config1800$",
          "angle": "https://mauijim.scene7.com/is/image/mauijim/H202-70_quarter?$config1800$",
          "side": "https://mauijim.scene7.com/is/image/mauijim/H202-70_side?$config1800$"
        },
        "swatch": "https://sprint.design.mauijim.dev.idibgroup.com/assets/images/pattern-placeholder.png",
        "swatchImage": null,
        "active": null,
        "price": "$229.00",
        "salePrice": null,
        "url": "#H202-70-2",
        "status": "New",
        "stock": "In Stock",
        "lens": "HCL® Bronze",
        "lensId": "hclbronze",
        "lensFull": "HCL® Bronze - Versatile in changing conditions with a warm tint.",
        "lensMaterial": "SuperThin Glass",
        "lensMaterialFull": "SuperThin Glass - Perfect when clarity is your highest priority.",
        "lensDetailData": {
          "product": "H202-70-2",
          "inactive": true,
          "material": "superthin"
        }
      },
      {
        "id": "HT202-71-2",
        "name": "MahiMahi",
        "color": "#218b16",
        "orderMonth": null,
        "orderYear": null,
        "locationCategory": null,
        "purchaseLocation": null,
        "images": {
          "front": "https://mauijim.scene7.com/is/image/mauijim/HT202-71_front?$config1800$",
          "angle": "https://mauijim.scene7.com/is/image/mauijim/HT202-71_quarter?$config1800$",
          "side": "https://mauijim.scene7.com/is/image/mauijim/HT202-71_side?$config1800$"
        },
        "swatch": "https://sprint.design.mauijim.dev.idibgroup.com/assets/images/pattern-placeholder.png",
        "swatchImage": null,
        "active": null,
        "price": "$229.00",
        "salePrice": null,
        "url": "#HT202-71-2",
        "status": null,
        "stock": "In Stock",
        "lens": "Maui HT™",
        "lensId": "mauiht",
        "lensFull": "Maui HT™ - Highest usable light transmission for incredible depth perception.",
        "lensMaterial": "MauiPure",
        "lensMaterialFull": "MauiPure - The lightest weight choice for long days in the sun.",
        "lensDetailData": {
          "product": "HT202-71-2",
          "inactive": true,
          "material": "mauipure"
        }
      }
    ],
    "callToAction": null,
    "mauijim": null,
    "zeal": null,
    "excludeVariants": null,
    "mymaui": "true",
    "prescription": null
  },
  "modal": true,
  "id": "product-add",
  "title": "Added to Your Cart",
  "actions": [
    {
      "type": "primary",
      "buttonValue": "Go to Shopping Cart"
    },
    {
      "type": "outlined",
      "buttonValue": "Continue Shopping"
    },
    {
      "type": "plain-text",
      "buttonValue": "Close",
      "classes": [
        "js-modal-close-button"
      ],
      "buttonType": "cancel"
    }
  ]
}
  • Content:
    .modal.modal--product-add {
      .modal__inner {
        max-width: 400px;
        padding-bottom: 0;
      }
    
      .modal__content {
        padding-bottom: 0;
      }
    }
    
    .product-add__item-image {
      display: block;
      margin: 0 auto;
    }
    
    .product-add__name {
      margin: 5px 0 20px;
      font-weight: $font-weight-bold;
      text-align: center;
    }
    
    .product-add__item-info {
      display: block;
      font-size: 1.4rem;
      line-height: 2.0rem;
    }
    
    .product-add__price {
      margin: 30px 0 40px;
      color: $shopping-cart-item-price-color;
      font-size: 2.7rem;
      text-align: center;
    }
    
    .product-add__actions {
      margin: 40px 0 10px;
      text-align: center;
    
      .button {
        width: 100%;
      }
    
      .button--primary {
        margin-bottom: 20px;
      }
    
      .button--plain-text {
        color: $color-error;
      }
    }
    
  • URL: /components/raw/product-add/product-add.scss
  • Filesystem Path: src/components/01-elements/modals/product-add/product-add.scss
  • Size: 748 Bytes

There are no notes for this item.