In order to do that you need to modify the theme's code, in particular you need to focus on file product-template.liquid
Around line 212 you will find the code that display the buttons and you can add your code just before there.
<div class="product-form__error-message-wrapper product-form__error-message-wrapper--hidden{% if section.settings.enable_payment_button %} product-form__error-message-wrapper--has-payment-button{% endif %}"
data-error-message-wrapper
role="alert">
<span class="visually-hidden">{{ 'general.accessibility.error' | t }} </span>
{% include 'icon-error' %}
<span class="product-form__error-message" data-error-message>{{ 'products.product.quantity_minimum_message' | t }}</span>
</div>
{%- comment -%}
After this comment you can add your custom code, and it will appear before the buttons
{%- endcomment -%}
<div class="product-form__controls-group product-form__controls-group--submit">
<div class="product-form__item product-form__item--submit
{%- if section.settings.enable_payment_button %} product-form__item--payment-button {%- endif -%}
{%- if product.has_only_default_variant %} product-form__item--no-variants {%- endif -%}">
https://www.mercistore.co/collections/find-your-pawducts%E2%9D%A4/products/customizable-phone-cases
check it.
I want to add a line of text above add to cart, some text will be hyperlink to a photo pop up.
User | Count |
---|---|
27 | |
19 | |
14 | |
12 | |
10 |