Skip to content

Swift2 Visual editor placeholder content inconsistencies #45

@ivaigor96

Description

@ivaigor96

When viewing the product details pages or components in visual editor there is some placeholder content sometimes
I just tested this on 2.0.0 and it seems very inconsistent at the moment

Image

Here we have an example of all 3 scenarios:

The product name, price, number are hard coded in the template
The variant selector and field display groups are just placeholders
The Media table (for showing assets) is neither! There is no way to see from the visual editor there is a paragraph there, this is the worst

When customizing Swift, like when creating an entierly new componenent for the PDP, we would like to be alligned with Swift and visual editor, however it is not clear where the direction is. Is the plan to have some hard coded example content for everything (this seems to be a new thing in Swift2 templates) Is it a mix ? I really don't like the mix idea, it is how we have it in Swift 1 and it is a mess. I think overall it might be a better idea to hard code some example content instead of basing on a single product, because some products have only part of the data so to really view how something will look we need to change the product (and the hardest part is knowing which product it is)

So for me the option that Swift2 will have some default content for all of the product components and we in services will also include that as a practice whenever possible

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions