Commit e3e8325fe6d627890f2ea81737f171af23bc2a93
1 parent
e03dd931
-collection
Showing
2 changed files
with
9 additions
and
15 deletions
Show diff stats
common/modules/product/widgets/views/products_block_similar.php
... | ... | @@ -29,21 +29,6 @@ |
29 | 29 | } ?> |
30 | 30 | </div> |
31 | 31 | |
32 | - <?php $js = "$(\"#collection .new_collection\").owlCarousel({ | |
33 | - navigation : true, // Show next and prev buttons | |
34 | - slideSpeed : 500, | |
35 | - autoplayTimeout:3000, | |
36 | - paginationSpeed : 1000, | |
37 | - singleItem:true, | |
38 | - autoPlay:true | |
39 | - | |
40 | - }); | |
41 | -"; | |
42 | - | |
43 | - | |
44 | - | |
45 | - $this->registerJs($js, View::POS_LOAD); | |
46 | - ?> | |
47 | 32 | <div class="clearfix"></div> |
48 | 33 | |
49 | 34 | </div> | ... | ... |
frontend/views/site/index.php
... | ... | @@ -67,6 +67,15 @@ responsiveClass: true, |
67 | 67 | navSpeed:200, |
68 | 68 | |
69 | 69 | }) |
70 | +$('#collection .new_collection').owlCarousel({ | |
71 | + navigation : true, // Show next and prev buttons | |
72 | + slideSpeed : 500, | |
73 | + autoplayTimeout:3000, | |
74 | + paginationSpeed : 1000, | |
75 | + singleItem:true, | |
76 | + autoPlay:true | |
77 | + | |
78 | + }); | |
70 | 79 | "; |
71 | 80 | |
72 | 81 | ... | ... |