• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #20484 - Add a new style for product miniatures

How could I create a new style to display product miniatures? I have seen that there are 5 styles, but I would like to create a custom one. Is this possible?

Comments

Antonio Barroso Díaz 17 Jan 2021, 10:11

I forgot to mention that when I change my settings in the “Product Miniature” tab it doesn’t seem to affect the product list view. The product listings are still displayed in the same way, no matter what values I enter in the Theme Settings.

Antonio Barroso Díaz 17 Jan 2021, 10:42

Please ignore my second comment. It was probably a caching problem. Now, the changes are displayed correctly.

The only thing I would need to know is if I can create my own style of product miniature.

Fred 18 Jan 2021, 10:05

To create your own style you just need to add your custom CSS code, nothing more

Antonio Barroso Díaz 18 Jan 2021, 10:54

That’s what I’ve been doing so far, but I was referring to how to create a new content layout, as I’d like to add a new label over the photo.

Fred 18 Jan 2021, 10:55

what is the label?

Antonio Barroso Díaz 18 Jan 2021, 11:03

I want to add an icon/text that refers to the top ten products sold. Each product in the list would have the text Top01, Top02, Top03… over the image.

I have attached an image of what the final result would look like, although it is possible that the position of the label will change in the final version, in order to be able to show the discount label.

Attachments:

TOP-TEN.jpg (76.7 KiB)
Fred 18 Jan 2021, 11:34

There are too many conditions, you seems need a module that will allow you to manage product labels.
You can also try to add your label manually directly into the file /themes/alysum/templates/catalog/_partials/miniatures/product.tpl

Antonio Barroso Díaz 18 Jan 2021, 12:29

Thanks! I’ll try to solve it manually or look into the available modules. Do you have any plans to include a child theme in the future?

Fred 18 Jan 2021, 12:38

But the child theme is available in the archive, you can also find information in the documentation