cancel
Showing results for 
Search instead for 
Did you mean: 

Page Builder. Products Content Type. Use Swiper.

Page Builder. Products Content Type. Use Swiper.

Hi,

I have Magento 2.3.4.

 

I want to use Page Builder and add in page Products.

I want to change the template of carousel so i use my child theme to override template:

app\design\frontend\MyVendor\luma_child\Magento_PageBuilder\templates\catalog\product\widget\content\carousel.phtml

 

Ok it works, i changed the html.

 

Now i to want use a different javascript for preview and frontend but i don't know how do that.

 

I tried to override the preview.js file but not work:

app\design\frontend\MyVendor\luma_child\Magento_PageBuilder\view\adminhtml\web\products\preview.js

 

In front end how can i modify the javascript?

 

 

My target is to use a different library like swiper.