How We create a two buttons on product page in gecko theme?

Kindle help me in case i’m worried about it.

@wasras

Welcome to the shopify community, kindly share the store URL so I can have a look
and potentially provide you a solution.

1 Like

Hi @wasras
Please Add a new button in product template then add a jquery code and animation if you want

jQuery( “.second_btn” ).click(function(event) {
event.preventDefault();
alert(‘test’);
jQuery( “.product-form__cart-submit” ).trigger( “click” );
});

Below code is my debut theme product template code please check

{% form ‘product’, product, class:form_classes, novalidate: ‘novalidate’, data-product-form: ‘’ %}
{% unless product.has_only_default_variant %}

{% for option in product.options_with_values %}
{{ option.name }}
{% endfor %}
{% endunless %}

{% if section.settings.show_quantity_selector %}

{{ 'products.product.quantity' | t }}
{% endif %}
{{ 'general.accessibility.error' | t }} {% include 'icon-error' %} {{ 'products.product.quantity_minimum_message' | t }}
{% unless current_variant.available %} {{ 'products.product.sold_out' | t }} {% else %} {{ 'products.product.add_to_cart' | t }} {% endunless %} {% include 'icon-spinner' %} {% if section.settings.enable_payment_button %} {{ form | payment_button }} {% endif %}
{% endform %} Second button

@Propero see store link https://www.manizeh.com/

@Propero

kindly see the store link mentioned below :

https://www.manizeh.com/