Skip to content

Use ps_imageslider options with Bootstrap slider#920

Merged
Touxten merged 2 commits intoPrestaShop:developfrom
tblivet:feat/ps-imageslider-fix
Feb 2, 2026
Merged

Use ps_imageslider options with Bootstrap slider#920
Touxten merged 2 commits intoPrestaShop:developfrom
tblivet:feat/ps-imageslider-fix

Conversation

@tblivet
Copy link
Contributor

@tblivet tblivet commented Jan 30, 2026

Questions Answers
Description? Use ps_imageslider options with Bootstrap slider
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket? --
Sponsor company @PrestaShopCorp
How to test? Test the slider with the available options

@tblivet tblivet requested a review from ga-devfront January 30, 2026 15:26
@github-project-automation github-project-automation bot moved this to Ready for review in PR Dashboard Jan 30, 2026
Copy link
Contributor

@ga-devfront ga-devfront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not that bad

<div class="carousel-inner" role="list" aria-label="{l s='Carousel container' d='Shop.Theme.Global'}">
{foreach from=$homeslider.slides item=slide name='homeslider'}
<div class="carousel-item {if $slide@first} active{/if}" role="listitem">
<div class="carousel-item {if $slide@first} active{/if}" role="listitem"{if $homeslider.speed > 0} data-bs-interval="{$homeslider.speed}"{/if}>
Copy link
Contributor

@ga-devfront ga-devfront Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<div class="carousel-item {if $slide@first} active{/if}" role="listitem"{if $homeslider.speed > 0} data-bs-interval="{$homeslider.speed}"{/if}>
<div class="carousel-item{if $slide@first} active{/if}" role="listitem"{if $homeslider.speed > 0} data-bs-interval="{$homeslider.speed}"{/if}>

<div
id="ps_imageslider"
class="carousel slide"
{if $homeslider.speed > 0} data-bs-ride="carousel"{/if}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{if $homeslider.speed > 0} data-bs-ride="carousel"{/if}
{if $homeslider.speed > 0}data-bs-ride="carousel"{/if}

id="ps_imageslider"
class="carousel slide"
{if $homeslider.speed > 0} data-bs-ride="carousel"{/if}
{if $homeslider.pause !== "hover"} data-bs-pause="false"{/if}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{if $homeslider.pause !== "hover"} data-bs-pause="false"{/if}
{if $homeslider.pause !== "hover"}data-bs-pause="false"{/if}

class="carousel slide"
{if $homeslider.speed > 0} data-bs-ride="carousel"{/if}
{if $homeslider.pause !== "hover"} data-bs-pause="false"{/if}
{if $homeslider.wrap === "false"} data-bs-wrap="false"{/if}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{if $homeslider.wrap === "false"} data-bs-wrap="false"{/if}
{if $homeslider.wrap === "false"}data-bs-wrap="false"{/if}

Copy link
Contributor

@ga-devfront ga-devfront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@ps-jarvis ps-jarvis moved this from Ready for review to To be tested in PR Dashboard Jan 30, 2026
@AureRita AureRita self-assigned this Feb 2, 2026
Copy link

@AureRita AureRita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tblivet

Thank you for your PR, I tested it and it seems to works as you can see :

Capture.video.du.2026-02-02.10-51-13.mp4

Because the PR seems to works as expected, It's QA ✔️

Thank you

@Touxten Touxten merged commit f41df36 into PrestaShop:develop Feb 2, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from To be tested to Merged in PR Dashboard Feb 2, 2026
@Touxten
Copy link
Contributor

Touxten commented Feb 2, 2026

Thanh you @AureRita && @tblivet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants