<form class="wishlist-cart-actions">
      <div class="wishlist-cart-actions__quantity-wrapper">
          <div class="quantity-switcher--light">
              <button type="button" class="quantity-switcher__minus">
                  <span class="quantity-switcher__minus-content">–</span>
              </button>
              <input class="quantity-switcher__quantity" type="number" id="quantity-225058069" min="1" max="99" name="qty" value="5" required />
              <label class="visually-hidden" for="quantity-225058069">Quantity</label>
              <input type="hidden" name="productId" value="abcdefghijk-123" />
              <button type="button" class="quantity-switcher__plus">
                  <span class="quantity-switcher__plus-content">+</span>
              </button>
          </div>
      </div>
      <div class="wishlist-cart-actions__button-add-to-cart-wrapper">
          <button class="button--primary" name="add-to-cart-submit" type="submit"> <span class="wishlist-cart-actions__button">
                  <span class="visually-hidden">In den Warenkorb</span>
                  <span class="wishlist-cart-actions__button-icon"></span>
              </span>
          </button>
      </div>
  </form>
{% include '@SharedComponents/modules/shared-product/components/wishlist-cart-actions/wishlist-cart-actions.twig' %}
{
  "cartButton": {
    "method": "post",
    "title": "In den Warenkorb"
  },
  "quantitySwitcher": {
    "variant": "light",
    "quantity": {
      "id": "quantity",
      "name": "qty",
      "label": "Quantity",
      "min": "1",
      "max": "99",
      "value": "5",
      "required": true,
      "disabled": false,
      "autocomplete": ""
    },
    "identifier": {
      "name": "productId",
      "value": "abcdefghijk-123"
    }
  }
}
  • Content:
    @import "~shared/base";
    @import "~cando-cx-components-library/components/modules/shared-product/components/wishlist-cart-actions/wishlist-cart-actions";
  • URL: /components/raw/wishlist-cart-actions/wishlist-cart-actions.scss
  • Filesystem Path: src/components/modules/shared-product/components/wishlist-cart-actions/wishlist-cart-actions.scss
  • Size: 152 Bytes

No notes defined.