commerce-product--3--home-summary.html.twig 738 B

123456789101112131415161718192021222324252627282930313233
  1. {#
  2. /**
  3. * @file
  4. *
  5. * Default product template.
  6. *
  7. * Available variables:
  8. * - attributes: HTML attributes for the wrapper.
  9. * - product: The rendered product fields.
  10. * Use 'product' to print them all, or print a subset such as
  11. * 'product.title'. Use the following code to exclude the
  12. * printing of a given field:
  13. * @code
  14. * {{ product|without('title') }}
  15. * @endcode
  16. * - product_entity: The product entity.
  17. * - product_url: The product URL.
  18. *
  19. * @ingroup themeable
  20. */
  21. #}
  22. {#
  23. <article{{ attributes }}>
  24. {{- product -}}
  25. </article>
  26. #}
  27. <article{{ attributes }}>
  28. {{- product|without('variation_attributes') -}}
  29. <a href="/pricing/multijoueur" class="btn">
  30. {% trans %}Ask for a quote{% endtrans %}
  31. </a>
  32. </article>