Quantcast
Channel: Opinion: Shopify Community - Shopify Design
Viewing all articles
Browse latest Browse all 57838

Jason commented on Need help with my checkout

$
0
0

Is this your code?

The JavaScript on your site is telling that remove button to do nothing (not even the default action). All it does it attempt to hide that row with no delete action being fired.

/*============ delete item from dropdown cart ========*/
$(function(){
	$('#mainNav #cart div.cart_content ul li').find('a.remove_item').click(
		function(e){
			e.preventDefault();
			$(this).parents('li')
			.animate({ "opacity": "hide" }, "slow");
		}
	);
});
/*======= end it =========*/

As for the checkout button - that has been placed outside of the <form> so when you click it it does not know what to submit (as it belongs to no form) so does nothing. 


Viewing all articles
Browse latest Browse all 57838

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>