Skip to content

improving product options rendering #6630

Closed
@krejcif

Description

@krejcif

Product options HTML is generated in two ways:

  • by options template
  • by swatch-renderer.js (if you have any swatch attribute on product)

What does it mean?

  • extending look of swatches mean complex rewrite of JS renderer (to be able upgrade later)
  • if you have any product without any swatch attr (quite usual), you have to also modify options template (doubled work)

Ideas what to do?

  • merge logic into UI component
  • some kind of inheritance from non-swatch to swatch approach
  • get rid of HTML generation with JS string concats!

Main objective?

  • streamlined customization
  • better extendability
  • M2 approach

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions