zmarcin Posted January 12, 2017 Share Posted January 12, 2017 Witam, mam problem z modułem accessories-block. Chciałbym pozbyć się z niego slidera ale gdy usunę z niego nawet id #bxslider produkty z listy nie wyświetlają. Czy można go jakoś odpiąć? Chcę go oprzeć całkiem na gridzie ale robi mi style wpisane co jest problemem. Niestety z tego samego korzysta slider na stronie głównej i nie usunę go ze strony. Z góry dziękuję za odpowiedź. Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2017 Share Posted January 12, 2017 usuwamy reść pliku productscategory.js który znajduje się w katalogu /themes/default-bootstrap/js/modules/productscategory/js/productscategory.js 1 Link to comment Share on other sites More sharing options...
zmarcin Posted January 12, 2017 Author Share Posted January 12, 2017 Super, dziękuje, działa! Znalazłem też że do accessories-block wystarczy usunąć fragment z pliku \themes\default-bootstrap\js\product.js if ($('#bxslider li').length && !!$.prototype.bxSlider) $('#bxslider').bxSlider({ minSlides: 1, maxSlides: 6, slideWidth: 178, slideMargin: 20, pager: false, nextText: '', prevText: '', moveSlides:1, infiniteLoop:false, hideControlOnEnd: true }); if (!$('#bxslider li').length) $('.accessories-block').parent().remove(); 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now