Hi, On my homepage section I want to add buttons to my collection images rather than the standard text below the image. Can this be done?
I can either edit the pictures and add the buttons in Canva, I would need to remove the existing buttons from under the image, or
Get a button added to the image on Shopify.
Thank you in advanced
Jennie
@Jennie_Zuri Please send me your store URL.
@DelightCart I haven’t got this theme published yet. I am doing a revamp of the website so I am only customising at the moment
Hi.
Try this
{%- form ‘product’, card_product, id: product_form_id, class: ‘form’, novalidate: ‘novalidate’, data-type: ‘add-to-cart-form’ -%}
{%- if card_product.selected_or_first_available_variant.available -%}
{{ 'products.product.add_to_cart' | t }}
{%- else -%}
{{ 'products.product.sold_out' | t }}
{%- endif -%}
{%- endform -%}
Also in theme layout add before header
{% if template == ‘collection’ %}
{% endif %}
WOULD YOU BE ABLE TO LET ME KNOW WHERE DO YOU ADD THIS CODE?