Product Icon

WooCommerce

Sell online with the flexible, customizable ecommerce platform designed to grow with your business. From your first sale to millions in revenue, Woo is with you. See why merchants trust us to power 4+ million online stores.

Expose filter/action to modify single-product gallery (FlexSlider) initialization options

Hello WooCommerce team

On mobile, the single-product gallery uses FlexSlider with predefined initialization options. Currently, there is no PHP or JS hook/filter to allow developers to adjust those options (for example, enabling circular/back looping).

I’ve confirmed this behavior using the default WooCommerce single-product template (no Elementor or theme builder interference), and the WooCommerce community forum has confirmed that modifying FlexSlider options via custom JS reinitialization is the only available approach at present.

Feature request —
So would it be possible to expose a developer-facing filter or action for the single-product gallery initialization options (e.g. the FlexSlider config array), allowing developers to safely override parameters such as :
• animationLoop
• loop / rewind behavior
• other FlexSlider options

Why this helps —
• Does not change default behavior
• Has no impact on non-technical users
• Avoids template or core JS overrides
• Enables update-safe customization for edge cases
• Aligns with WooCommerce’s extensibility-first architecture

This would allow developers to implement advanced or alternative gallery behavior without replacing the gallery or relying on brittle JS reinitialization.

This behavior and the lack of a backend hook were confirmed in a recent WooCommerce community forum discussion.

Thank you for considering this — happy to provide context or testing details if helpful.

Author

billbobong

Current Status

Open

Last updated: February 13, 2026

0 comments

Log in to comment on this feature request.