Post by alikhan99 » Mon Jan 01, 2018 5:56 am

Version 3.0.2.0

The default modules like slideshow, banner & carousel when rendered, they come along with there own script tag with some properties assigned to them. In case we have more then 1 slideshow or banner on a single page or even on different pages, there can be situations where we would like to change few of the initial values, specially the speed. Maybe for home page we want slower slides and on product page some other banner to have faster speed or maybe we want to have different value for the variable `autoplayDisableOnInteraction` on different pages. Changing the speed in the banner.twig will effect all the banners on the site. Question is if we can somehow have the ability to manage them.

Active Member

Posts

Joined
Fri Jun 29, 2012 4:57 pm

Post by hpwebdesign » Fri Jan 28, 2022 10:41 am

You need to edit these files to provide dynamic variables that can be saved and used as slideshow settings.

admin/view/template/extension/module/slideshow.twig
admin/controller/extension/module/slideshow.php
catalog/view/theme/default/template/extension/module/slideshow.twig
catalog/controller/extension/module/slideshow.php

Maybe you need a professional opencart developer to do it

HP Web Design
http://hpwebdesign.io
Opencart Extension Development | OpenCart Professional Services | OpenCart Tutorials


User avatar
New member

Posts

Joined
Wed Aug 15, 2018 6:58 am
Location - Yogyakarta
Who is online

Users browsing this forum: No registered users and 14 guests