28 lines
714 B
Twig
28 lines
714 B
Twig
{#
|
|
/**
|
|
* @file
|
|
*
|
|
* Default product template.
|
|
*
|
|
* Available variables:
|
|
* - attributes: HTML attributes for the wrapper.
|
|
* - product: The rendered product fields.
|
|
* Use 'product' to print them all, or print a subset such as
|
|
* 'product.title'. Use the following code to exclude the
|
|
* printing of a given field:
|
|
* @code
|
|
* {{ product|without('title') }}
|
|
* @endcode
|
|
* - product_entity: The product entity.
|
|
* - product_url: The product URL.
|
|
*
|
|
* @ingroup themeable
|
|
*/
|
|
#}
|
|
<article{{ attributes }}>
|
|
{{- product|without('variation_attributes') -}}
|
|
<a href="/{{ language }}/pricing" @click.prevent="onClickLink" class="btn">
|
|
{% trans %}View Option Details{% endtrans %}
|
|
</a>
|
|
</article>
|