Unshift Replace With Push In Shop PAckage Also
This commit is contained in:
parent
bffe993a3b
commit
b26f3a135c
|
|
@ -305,11 +305,11 @@
|
|||
|
||||
if (this.simpleProduct) {
|
||||
this.config.variant_images[this.simpleProduct].forEach(function(image) {
|
||||
galleryImages.unshift(image)
|
||||
galleryImages.push(image)
|
||||
});
|
||||
|
||||
this.config.variant_videos[this.simpleProduct].forEach(function(video) {
|
||||
galleryImages.unshift(video)
|
||||
galleryImages.push(video)
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue