"Carousel Product Cart Slider"
Bootstrap 3.1.0 Snippet by BhaumikPatel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div class="row">
<div class="col-md-9">
<h3>
Carousel Product Cart Slider</h3>
</div>
<div class="col-md-3">
<!-- Controls -->
<div class="controls pull-right hidden-xs">
<a class="left fa fa-chevron-left btn btn-success" href="#carousel-example"
data-slide="prev"></a><a class="right fa fa-chevron-right btn btn-success" href="#carousel-example"
data-slide="next"></a>
</div>
</div>
</div>
<div id="carousel-example" class="carousel slide hidden-xs" data-ride="carousel">
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<div class="row">
<div class="col-sm-3">
<div class="col-item">
<div class="photo">
<img src="http://placehold.it/350x260" class="img-responsive" alt="a" />
</div>
<div class="info">
<div class="row">
<div class="price col-md-6">
<h5>
Sample Product</h5>
<h5 class="price-text-color">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@import url(http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css);
.col-item
{
border: 1px solid #E1E1E1;
border-radius: 5px;
background: #FFF;
}
.col-item .photo img
{
margin: 0 auto;
width: 100%;
}
.col-item .info
{
padding: 10px;
border-radius: 0 0 5px 5px;
margin-top: 1px;
}
.col-item:hover .info {
background-color: #F5F5DC;
}
.col-item .price
{
/*width: 50%;*/
float: left;
margin-top: 5px;
}
.col-item .price h5
{
line-height: 20px;
margin: 0;
}
.price-text-color
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

it's not working on phone screens...can anyone help?

Ashiesh () - 9 years ago - Reply 1


how can i get it to slide one item at a time?

Ochepo Jeremiah () - 7 years ago - Reply -1


I think you could try something like this: https://bootsnipp.com/snipp...

maxsurguy () - 7 years ago - Reply 0


Thanks you!

Ochepo Jeremiah () - 7 years ago - Reply 0


It's not working on code pen io. why?

dhouglasoaktree () - 8 years ago - Reply -1


Bro thnx a lot it worked searched for this since last 30 mins and all other have some or the other missing

MayankDev-11 () - 3 years ago - Reply 0


Thanks !! awesome

Michael Jay Santome () - 8 years ago - Reply 0


Awesome work!! I used your design with owl carousel and the results were amazing (100% Responsive). Thank you!

eddyM () - 8 years ago - Reply 0


Anyone was able to make this carousel dynamic & responsive?

wael101 () - 8 years ago - Reply 0


Anyone was able to make this carousel dynamic & responsive?

wael101 () - 8 years ago - Reply 0


helllo freinds i wanna to make it dynamic in php any idea,when i making activ item dynamic it,s break the row after 4

Attaullah Khan () - 8 years ago - Reply 0


thx

Genr8 () - 9 years ago - Reply 0


well done, great work :)

Lee () - 9 years ago - Reply 0


Very cool!!
Im trying to make this dynamic with AngularJS. I am using angular-ui bootsrap and bootstrap css frameworks. Apparently, angular-ui bootstrap also has carousel feature, but I solved the conflict via ngNonBindable. However, angular is an SPA which treats hashbangs in a different way. So the sliding thing is not happening via #carousel-example where you had it in the prev and next buttons. Trying to solve for that. Let me know if you have any thoughts around that.

Allampalli Sandeep () - 9 years ago - Reply 0


Hi, were you able to make this carousel dynamic & responsive?

wael101 () - 8 years ago - Reply 0


Not working in responsive,

ajay mohan () - 9 years ago - Reply 0


Hey any body can you help me
how can stop auto scroll only 1 slider because i am using 3 slider in 1page (3 category slider)

jabbar () - 9 years ago - Reply 0


just change to carousal ids

amir () - 7 years ago - Reply 0


just change carousal ids for each product carousal slider

amir Ali () - 7 years ago - Reply 0


it work will.so,good luck

amir Ali () - 7 years ago - Reply 0


How to slow speed?

Manish () - 10 years ago - Reply 0


hello, went i copy to 2 time , this next button cant use, can some one tell me how to soldved

big () - 10 years ago - Reply 0


Hello there, when you change the carousel "ID" to something different, it will work perfectly fine.

Ochepo Jeremiah () - 7 years ago - Reply 0


hello, went i copy to 2, this next button cant use, can some one tell me how to soldved

big () - 10 years ago - Reply 0


Did anyone ever happen to figure out how to change the speed of the slider?

Joe Miller () - 10 years ago - Reply 0


yes, just add data-interval="10000" after data-ride="carousel" and change the 10,000 number to your own (milliseconds), that should do it.

maxsurguy () - 10 years ago - Reply 0


@maxsurguy:disqus thanks for your willingness to always help. I have really learnt alot from your shared knowledge. Thank you boss!

Ochepo Jeremiah () - 7 years ago - Reply 0


How can I change speed on slider? Thanks

Marko Krstic () - 10 years ago - Reply 0


please find some solution to make this awesome thing working on iphone...

Guest () - 10 years ago - Reply 0


Thanks for sharing! :)

Alex () - 10 years ago - Reply 0


#carousel-example {height:350px; overflow:hidden;} This works on iphone guys

MT () - 10 years ago - Reply 0


its not working MT.

Kaushal Panchal () - 10 years ago - Reply 0


it doesn't

mustapa Oumarov () - 8 years ago - Reply 0


Thanks! Great job!

H.T () - 10 years ago - Reply 0


I need some help regarding this snippet.How to make the items slide back and forth on click of buttons prev and next.

Swarnim () - 10 years ago - Reply 0


so instead of arrows you want to use buttons with text?

maxsurguy () - 10 years ago - Reply 0


Does this plugin not require javascript? I have copied the same code but it is not working

Mahesh () - 10 years ago - Reply 0


Do you have Bootstrap javascript included in your HTML ?

maxsurguy () - 10 years ago - Reply 0


How do I include it?

HTO () - 7 years ago - Reply 0


Hey, guys! To make this app works on phone screens, you'll have to delete the "hidden-xs" classes.

Jason Ming () - 10 years ago - Reply 0


How do you remove these "hidden-xs" classes, can't find them

mustapa Oumarov () - 8 years ago - Reply 0


working but having some design bugs...
thanks jason...

Kaushal Panchal () - 10 years ago - Reply 0


please you know how I can make this to slide one item at a time?

Ochepo Jeremiah () - 7 years ago - Reply 0


Not Working Jason. When we remove the hidden-xs class the the carousel is working and is responsive but It directly shows the 5th block after the 1st one.

Dipender Singh () - 10 years ago - Reply 0


I agree would be great if this scaled down. But you get to a certain breakpoint and the whole lot disappears.

Dave M () - 10 years ago - Reply 0


I would like to work with this but it doesn't work at phone screen sizes.

David Buchmueller () - 11 years ago - Reply 0


Awesome!

Thanks for sharing!!!!!

-Kraymer

Timmy () - 11 years ago - Reply 0


Great stuff u have. thanks for sharing :)

Alfred Yeap () - 11 years ago - Reply 0