🔥 Black Friday & Cyber Monday: Flat 50% OFF!View Code

Unneccesary /* */ code inside product cards

Marcelo Perez

Hi there. We have a pro version running (cannot find license key). We already had another issue solved this morning but we realize that an old one – partialy fixed using js – has returned.

 

Please check any product page

https://www.distribuidorapop.com.ar/producto/chupetines/chupetin-coco-pop-x-8u/

 

Scroll down to “Productos Relacionados” (related products)

For NON VARIATIONS products, we are showing this unneccesary and uggly text chain at the bottom of any product card

 

/* */

 

We were removing this using js (actually that fix is still working fine in stg – after page loads we are removing them using jquery – not beauty at all but s something)

https://stg.distribuidorapop.com.ar/producto/chupetines/caramelos-wacky-monkey-band/

 

We need a real fix for this

please send instructions to me

[email protected]

 

and to product owner:

[email protected]

Tanvirul Haque

Hello Marcelo Perez,

I have not found such an issue on there https://prnt.sc/257gpd9 could you please confirm with us? Also, please make sure you have shown the valid license key here to get the pro related support.

Thanks

Hakik Zaman

—

Marcelo Perez

Hi tanvirul

 

You´re cheching stg.

Please check production

https://www.distribuidorapop.com.ar/producto/chupetines/chupetin-coco-pop-x-8u/

 

In both environments (stg + production) I had to add this jquery (for some reason it stoped working on production – but anyway is not a good fix coz unneccesary code is loading and later is being removed – user will see that weird jump in screen)

 

$(‘li.ast-article-single:contains(“/* */”)’).each(function(){
$(this).html($(this).html().split(“/* */”).join(“”));
});

 

 

I already asked store owner for the licence key just in case

 

Tanvirul Haque

Hi Marcelo,

We do have not any job in simple products, and those /* */ are appearing in simple products.

Could you disable our swatches plugin and check is it working without our plugin or not?

Thank you