<div class="button-add-to-returns">
    <form class="button-add-to-returns__container" action="http://localhost:3005/add-to-returns/" method="post">
        <div class="button-add-to-returns__quantity-switcher">
            <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-1790609825" min="1" max="99" name="qty" value="5" required />
                <label class="visually-hidden" for="quantity-1790609825">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>
        <button class="button--primary" type="submit"> <span class="button-add-to-returns__button">
                <span class="visually-hidden">In die Retourenliste</span>
                <span class="button-add-to-returns__button-icon"></span>
            </span></button>
    </form>
</div>
{% include '@SharedComponents/modules/offag-returns/components/button-add-to-returns/button-add-to-returns.twig' %}
{
  "action": "http://localhost:3005/add-to-returns/",
  "method": "post",
  "buttonTitle": "In die Retourenliste",
  "quantity": {
    "id": "quantity",
    "name": "qty",
    "label": "Quantity",
    "min": "1",
    "max": "99",
    "value": "5",
    "required": true,
    "disabled": false,
    "autocomplete": ""
  },
  "identifier": {
    "name": "productId",
    "value": "abcdefghijk-123"
  },
  "variant": "large"
}
  • Content:
    import './button-add-to-returns.scss';
    import ButtonAddToReturns from 'cando-cx-components-library/components/modules/offag-returns/components/button-add-to-returns/button-add-to-returns';
    
    export default ButtonAddToReturns;
  • URL: /components/raw/button-add-to-returns/button-add-to-returns.js
  • Filesystem Path: src/components/modules/offag-returns/components/button-add-to-returns/button-add-to-returns.js
  • Size: 224 Bytes
  • Content:
    @import "~shared/base";
    @import "~cando-cx-components-library/components/modules/offag-returns/components/button-add-to-returns/button-add-to-returns";
  • URL: /components/raw/button-add-to-returns/button-add-to-returns.scss
  • Filesystem Path: src/components/modules/offag-returns/components/button-add-to-returns/button-add-to-returns.scss
  • Size: 151 Bytes

No notes defined.