When you click on the "add to cart" nothing happens at all http://mirmozaic.bget.ru/
Closed due to the fact that the essence of the question is unclear by the participants user194374, Kromster , pavel , Streletz , rdorn Aug 24 '16 at 23:03 .
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
|
1 answer
You have in each directory entry a script block:
$(function(){ $("#add2basket_new_select_form_60937").submit(function(){ var form = $(this); $(window).resize(function(){ modalHeight = $(window).height() / 2 - $("#bx_2782831418_60937_new").height() / 2 + $(window).scrollTop(); $("#bx_2782831418_60937_new").css({ "top" : modalHeight + "px" }); }); $(window).resize(); $("#bx_2782831418_60937_new_body").fadeIn(300); $("#bx_2782831418_60937_new").fadeIn(300); quantityItem = form.find("#quantity_new_60937").attr("value"); $("#bx_2782831418_60937_new .quantity").attr("value", quantityItem); return false; }); $("#bx_2782831418_60937_new_close, #bx_2782831418_60937_new_body").click(function(e){ e.preventDefault(); $("#bx_2782831418_60937_new_body").fadeOut(300); $("#bx_2782831418_60937_new").fadeOut(300); }); }); in which you hang your handler on the send button and cancel the standard action.
Then you try to show which 2 blocks do not exist. And so nothing works for you.
$("#bx_2782831418_60937_new_body").fadeIn(300); $("#bx_2782831418_60937_new").fadeIn(300); - I have already figured out, thanks. and do not tell me how to bring additional. fields of goods? I need to display the size (m2) in the basket. That is, next to the price to insert the size of the added product - Nich
- Ask a separate question, or look even better in the documentation — not a difficult and not so unusual task - Mihanik71
|