Post by billynoah » Mon Nov 11, 2013 5:06 am

the loading.gif tends to disappear prematurely during checkout, especially while waiting for shipping methods to finish pulling quotes. this vqmod keeps it active until the next section is loaded.

Code: Select all

<modification>
	<file name="catalog/view/theme/default/template/checkout/checkout.tpl">
		<operation>
			<search position="replace"><![CDATA[$('.wait').remove();]]></search>
			<add><![CDATA[	]]></add>
		</operation>
		<operation>
			<search position="after"><![CDATA[slideDown('slow');]]></search>
			<add><![CDATA[$('.wait').remove();]]></add>
		</operation>
		<operation>
			<search position="after"><![CDATA[} else if (json['error']) {]]></search>
			<add><![CDATA[	$('.wait').remove();]]></add>
		</operation>
		<operation>
			<search position="after"><![CDATA[beforeSend: function() {]]></search>
			<add><![CDATA[	$('.wait').remove();]]></add>
		</operation>
	</file>
</modification>

Image


Active Member

Posts

Joined
Tue Jan 15, 2013 12:46 pm
Who is online

Users browsing this forum: No registered users and 2 guests