Tlačítko Pokračovat v nákupu do advanced order
<a id="continue_shopping" href="." class="btn btn-conversion">Chci ještě nakupovat</a>
<script>
var waitForEl = function(selector, callback) {
if (jQuery('.advanced-order').length) {
callback();
} else {
setTimeout(function() {
waitForEl('.advanced-order', callback);
}, 100);
}
};
waitForEl('.advanced-order', function() {
$('#continue_shopping').insertBefore('.advanced-order .extra.step a');
$('.advanced-order .extra.step a:last-child').text('Chci dokončit objednávku');
});
</script>