error with box_similar_products.inc.php

LiteCart Fan
Tól től France
Tagság jan. 2015 óta

Hi TIM.
After updating yesterday with latest commit, I've emptied the cache. And in a product page, I've just seen an error I didn't notice before

Error reported on my shop on line 19
'keywords' => explode(',', $product->keywords),

Of course I've got keywords for each product, keywords separated by a coma. This line should work. I don't understand.
I replaced the line by 'keywords' => $product->keywords, so the error is no more visible. Question: are keywords useful here ?

tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
tim

I had not pushed the fix yet. But here it is, for box_similar_products.inc.php:

Find

      'keywords' => explode(',', $product->keywords),

Replace with

      'keywords' => $product->keywords,

Yes keywords can be useful, but are optional.

I appreciate the feedback.

LiteCart Fan
Tól től France
Tagság jan. 2015 óta

Hi TiM.
I've already got this fix. Thanx for your update !

Ezt a témát a hosszú inaktivitás miatt bezártuk. A hozzászólás nem lehetséges.
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.