Answer the question
In order to leave comments, you need to log in
How to hide the delivery address for pickup in minishop 2?
How to hide in minishop2 to hide when exporting the export itself?
Answer the question
In order to leave comments, you need to log in
Add a small javascript code, parse the value of the delivery field, if pickup - hide the address.
$('#msOrder input[name="delivery"]').change(function(){
if($(this).val() == 1){ //самовывоз
$('.addressBlock').hide();
}else{
$('.addressBlock').show();
}
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question