commerce-product-variation--materio-product-variation-type--summary.html.twig 754 B

123456789101112131415161718192021222324252627
  1. {#
  2. /**
  3. * @file
  4. *
  5. * Default template for product variations.
  6. *
  7. * Available variables:
  8. * - attributes: HTML attributes for the wrapper.
  9. * - product_variation: The rendered product variation fields.
  10. * Use 'product_variation' to print them all, or print a subset such as
  11. * 'product_variation.title'. Use the following code to exclude the
  12. * printing of a given field:
  13. * @code
  14. * {{ product_variation|without('title') }}
  15. * @endcode
  16. * - product_variation_entity: The product variation entity.
  17. * - product_url: The product URL.
  18. *
  19. * @ingroup themeable
  20. */
  21. #}
  22. <div{{ attributes }}>
  23. {{- product_variation -}}
  24. <a href="/pricing" @click.prevent="onClickLink" class="btn">
  25. {% trans %}View Option Details{% endtrans %}
  26. </a>
  27. </div>