Skip to content

Conversation

@CySSoO
Copy link
Contributor

@CySSoO CySSoO commented Jan 13, 2026

Motivation

  • Implement the desired desktop layout where the category slider shows its title and navigation on the slide and two product miniatures appear to the right of the slider while remaining products flow below in full width.
  • Keep existing carousel behavior intact for desktop slider mode and preserve mobile presentation/carousel behavior.

Description

  • Update views/templates/hook/prettyblocks/prettyblock_category_tabs.tpl to detect when slider images are present and useDesktopSlider is false, then render sideProductsCount = 2 products to the right of the slider and remaining products in a full-width row below using col-12 product classes.
  • Maintain existing desktop carousel rendering when useDesktopSlider is true and keep mobile carousel rendering under useMobileSlider as before.
  • Ensure displayBeforeProductMiniature and displayAfterProductMiniature hooks are preserved and product column sizing continues to use productColumnClasses where appropriate.

Testing

  • No automated tests were executed for this change.
  • The change was validated by updating the template and committing the modification locally.

Codex Task

@CySSoO CySSoO merged commit 6ddf61f into master Jan 13, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants