Replace "Quick View" with "Add To Cart" - Impulse Theme

Replace "Quick View" with "Add To Cart" - Impulse Theme

frnak
Tourist
6 1 0

So I have this in the product-grid-item.liquid snippet, but not sure how to change it into an add to cart button. Any help greatly appreciated!

 

        {%- if quick_shop_enable and type == blank -%}
          <button class="quick-product__btn quick-product__btn--not-ready js-modal-open-quick-modal-{{ product.id }} small--hide">
            {{ settings.quick_shop_text }}
          </button>
        {%- endif -%}
Reply 1 (1)

PaulNewton
Shopify Partner
7139 632 1488

Hi @frnak 👋 You need to replace it with a product form buy buttons, and or suitable javascript if you don't want it to immediately redirect to the cart.

Some themes may have a buy-buttons or products form snippet you can try to swap for the quickview but no guarantees it will work without suitable development work.

 

This makes it an advanced customization

 

If you need this customization then contact me by my email for services, or if you have access private message by clicking here (sloooower).
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Contact [email protected] for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org