commerce-product--home-summary.html.twig 714 B

123456789101112131415161718192021222324252627
  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. <article{{ attributes }}>
  23. {{- product|without('variation_attributes') -}}
  24. <a href="/{{ language }}/pricing" @click.prevent="onClickLink" class="btn">
  25. {% trans %}View Option Details{% endtrans %}
  26. </a>
  27. </article>