You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.
I have two questions regarding the excellent Ajaxify:
Is there a way to have a have the dropdown cart appear when I hover over my cart button?
Simply trying this does not yield any results: toggleCartButton: '#cartToggle, li.cart a:hover'
My responses/errors (out of stock message after I add a product to cart from the product page) are appearing below my form. However on the Timber Theme these responses appear in a specific/logical location below the product description. I am trying to replicate this behavior but can't find out where this is set.
Thank you for any help!
The text was updated successfully, but these errors were encountered:
Perhaps I am asking the wrong question, basically, I'm trying to figure out what is telling Timber's Ajax Cart plugin to print the feedback near the Add to Cart button. Because for me it puts the feedback text at the bottom of my form. I've tried everything but can't locate what is causing it.
The cart toggle is setup on click, so changing that to hover will be in ajaxify.js or ajaxify.js.liquid depending on your Timber version. You'll want to look for this line in your file and change it to what works for you. hover or mouseover would probably be the best. Remember though, this click toggles the cart open and closed so you may need to do some custom work to make sure it doesn't trigger too often.
Can you provide a screenshot and/or link to your theme so I can test out the second part of your question?
Looks like the issue was the form markup. The error message is appended after the form element on the product page, so it's best to only wrap the variant options, quantity selector, and submit buttons with the form.
I have two questions regarding the excellent Ajaxify:
Simply trying this does not yield any results: toggleCartButton: '#cartToggle, li.cart a:hover'
Thank you for any help!
The text was updated successfully, but these errors were encountered: