• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 18.08.26, 00:12
  • Opened by: JUAN CARLOS HUERTA

Ticket #26543 - ERROR ON HOME

Hola,

Estamos detectando un problema bastante extraño con la
combinación/minificación de CSS en Alysum y hemos conseguido acotarlo
bastante.

De forma aleatoria (normalmente al cabo de unas horas o al día
siguiente), la home comienza a verse mal. Los dos síntomas principales
son:

El widget Lookbook pierde completamente su maquetación y los productos
aparecen amontonados.
Los widgets de PK Links / categorías muestran los puntos (list-style:
disc), como si no se estuvieran cargando sus estilos específicos.

Si regenero el CSS desde Creative Elements y después limpio la caché
de Alysum y de PrestaShop, todo vuelve a verse correctamente. Sin
embargo, pasado un tiempo vuelve a ocurrir sin haber realizado
cambios.

He comparado los CSS generados y he encontrado una diferencia importante:

El CSS correcto pesa aproximadamente 263 KB.
El CSS incorrecto pesa aproximadamente 256 KB.

En el CSS que falla faltan varios bloques completos, entre ellos:

Los estilos específicos del elemento .elementor-3010000
.elementor-element-164639b (PK Links).
Todo el bloque de estilos del Lookbook (.lookbook-item,
.lookbook-products-list, .lookbook-image, .pois, etc.).

No parece que exista un error de sintaxis en el CSS, sino que durante
la generación del CSS combinado algunos recursos de Creative Elements
dejan de incluirse.

¿Podríais revisar si existe algún problema conocido entre la
combinación de CSS de Alysum y Creative Elements, o si hay algún
proceso de caché que pueda provocar que no se añadan todos los estilos
al CSS generado?

Si necesitáis, adjunto tanto el CSS correcto como el CSS incorrecto
para que podáis compararlos.

Muchas gracias.


Hello,

We’re detecting a rather strange problem with CSS merging/minification in Alysum, and we’ve managed to narrow it down quite a bit.

Randomly (usually after a few hours or the next day), the homepage starts to look wrong. The two main symptoms are:

The Lookbook widget completely loses its layout, and the products appear jumbled together.
The PK Links/category widgets display bullets (list-style: disc), as if their specific styles aren’t loading.

If I regenerate the CSS from Creative Elements and then clear the cache for both Alysum and PrestaShop, everything looks correct again. However, after a while, it happens again even though no changes have been made.

I’ve compared the generated CSS and found a significant difference:

The correct CSS is approximately 263 KB.

The incorrect CSS is approximately 256 KB.

The faulty CSS is missing several complete blocks, including:

The specific styles for the .elementor-3010000 element

.elementor-element-164639b (PK Links).

The entire Lookbook style block (.lookbook-item,
.lookbook-products-list, .lookbook-image, .pois, etc.).

There doesn’t appear to be a syntax error in the CSS itself, but rather that during the generation of the combined CSS, some Creative Elements resources are being omitted.

Could you please check if there are any known issues with the combination of Alysum and Creative Elements CSS, or if there is a caching process that might be preventing all styles from being added to the generated CSS?

If needed, I can attach both the correct and incorrect CSS for you to compare.

Thank you very much.

Attachments:

image.png (151.7 KiB)

Comments

Fred 21 Aug 2026, 21:28

Hi, JUAN CARLOS HUERTA.
It's hard to debug minified styled.
From my experience such problem happened when one of css file is invalid. We provide valid css files with the theme. So the problem could come from:
- third party modules
- your custom CSS code which you added in the Theme Settings → Customer CSS code

JUAN CARLOS HUERTA 26 Aug 2026, 11:27

Hi,

Thank you for your reply.

We have already tested the possibilities you mentioned and can rule out our Custom CSS as the cause.

The issue has been reproduced:

- With our Custom CSS completely disabled.
- With CSS combination/minification disabled.
- After clearing the PrestaShop cache and regenerating Creative Elements assets.
- Before the additional third-party modules currently installed in the shop were added.
- On a different temporary server, where we performed the same tests and obtained the same intermittent behaviour.

Therefore, the issue does not appear to be specific to the current hosting environment either.

The behaviour is intermittent: the homepage can render correctly and later lose some styles without any changes being made.

We have also compared the working and faulty states. This does not appear to be a CSS syntax error causing the stylesheet to stop being parsed. Instead, complete CSS blocks required by Alysum/Promokit modules are sometimes loaded and sometimes missing.

For example, we have observed the styles for a Creative Elements template (".elementor-3010000") disappear, as well as generic styles required by "pklookbook" (".lookbook-item", ".lookbook-products-list", ".lookbook-image", ".pois", etc.).

When these styles are present, the homepage renders correctly. When they are missing, the affected elements lose their layout.

This suggests that there may be an issue with the way Alysum, Creative Elements and the Promokit modules register/load their assets, possibly related to the module or hook execution order, rather than an invalid Custom CSS file.

As a temporary workaround, we have copied the CSS rules that intermittently fail to load into Custom CSS. Therefore, these rules may sometimes be duplicated, but this prevents the live shop from appearing broken when the original module styles are missing.

At this point, we would appreciate it if you could investigate the issue directly on the installation and determine why these module styles are intermittently not being loaded.

You already have FTP and PrestaShop Back Office access to the shop, so please feel free to use them to debug the theme and module asset loading directly.

Fred 01 Sep 2026, 22:32

Hi, JUAN CARLOS HUERTA.
Sorry for the delay.
Can you please give me a link to a page where I can see broken styles, because homepage looks fine for me

JUAN CARLOS HUERTA 02 Sep 2026, 09:59

Buenos días, como les decía hemos aplicado en los css personalizados del theme una réplica de los css de lookbook para que se vea siempre bien, si lo elimino (adjunto en el css lo que he eliminado ahora) ya no se ve bien la home. Pero puede que cuando se vuelva a generar la caché de PrestaShop sí que se vea, es un error intermitente.
Mirad la home ahora (si podéis) y mi pantallazo para que veáis cómo se ve.

https://doadoa.es/ image.png

Si incluyo de nuevo en theme Settings>Custom CSS lo que hay en el archivo adjunto ya se verá bien, pero lo suyo es que siempre se incluya en el css que se publica en la web. Podéis probar a quitar la compresión CSS en los ajustes de rendimiento, sigue pasando lo mismo.


Good morning, as I mentioned, we've applied a replica of Lookbook's CSS to the theme's custom CSS to ensure it always displays correctly. If you remove it (I've attached the CSS file showing what I've removed), the homepage no longer displays correctly. However, it might work once the PrestaShop cache is regenerated; it's an intermittent issue.
Please take a look at the homepage now (if you can) and my screenshot to see how it looks.

https://doadoa.es/ image.png

If I reinsert the content from the attached file into the theme's Settings > Custom CSS, it will display correctly, but ideally, it should always be included in the CSS that's published on the website. You can try disabling CSS compression in the performance settings, but the problem persists.

Attachments:

01.png (588.7 KiB)
Fred 04 Sep 2026, 23:08

Ok, it's clear now.
I need access to your back office to be able to toggle the CSS Compression option. Please fill out password field in your profile https://support.promokit.eu/myprofile

JUAN CARLOS HUERTA 05 Sep 2026, 09:05

OK, you can now log in.

Thank you

JUAN CARLOS HUERTA 15 Sep 2026, 10:34

Hi,

Were you able to fix it?

Thanks

Fred 15 Sep 2026, 22:53

Sorry for the delay. I didn't manage to find a reason of the issue and proper solution, so I added missing css code into the theme.css file and everything looks fine now

JUAN CARLOS HUERTA 16 Sep 2026, 09:54

Hi,

Since you already have access to the back office, could you please also review the Promokit Lookbook module as a whole? We have found several issues with its administration:

When we edit the title of an existing Lookbook and save it, the module displays “Updated successfully”, but the new title is not actually saved/shown.
When we create a new Lookbook, it does not appear in the list in the back office.
There are no related PHP errors in the error_log.
However, when checking the database directly, we can see that several Lookbooks created during our tests have actually been saved there, even though they are not displayed in the back office.

So it seems that the records are being created in the database, but the module is not retrieving or displaying them correctly in the administration area.

Could you please check why the Lookbooks stored in the database are not appearing in the back-office list, and why editing a title returns a successful update message even though the change is not reflected?

We would also like to clarify the intended functionality of the module: is it possible to create and manage several different Lookbooks and then choose which one is displayed on the homepage? If so, could you please check that this functionality is working correctly as well?

Since there seem to be several related issues, we would appreciate it if you could review the module's back-office functionality as a whole rather than only one specific error.

Thank you!

Fred 22 Sep 2026, 23:16

Hi, JUAN CARLOS HUERTA.
Sorry for the delay. We need some time on that. Back to you with updates soon

JUAN CARLOS HUERTA 23 Sep 2026, 08:23

Hello,

Okay. I'll wait.

Thank you.

Fred 28 Sep 2026, 23:07

I just updated the Cookbook module, please test it out