• Priority: Medium
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 04.11.22, 13:36
  • Opened by: Nicu Mihalcescu

Ticket #23908 - error after update v8

Hello,

after update to theme version 8.0 i have the following errors:

1. Search bar from header item not show list of products after type minimum of characters (3). show all product after hit enter.
2.Comparation tab in product page it’s not shown (only with version 2.1.0 of module)
3.Add to compare button (in product page or category page don’t do anything. Mixed content error (see picture), with 2.1.0 or 2.2.0 version of module.

Please check.

Thank you

Nicu

Attachments:

Comments

Fred 04 Nov 2022, 17:42

Hi, Nicu.
1. We recommend to use new widget Advanced Search instead of old way to display search through Header Items widget
2. It’s in progress. Going to fix it in the next minor update soon.
3. It could be a cache issue, but I don’t have permissions to try to clean it

Nicu Mihalcescu 05 Nov 2022, 10:53

Hello Fred,

1. Ok it’s work for desktop but how to change in mobile version? (see picture)
2. until is finished i will use 2.1.0 version of compare module
3. i don’t think is from cache, try it yourself, now you have superadmin access.

4. New issue.
Cannot import json template in creative elements if promokit widgets is active.(error 500). I tried with 2.5.9 and 2.5.11 version of creative elements module.

Thank you

Attachments:

Fred 05 Nov 2022, 17:50

1. mobile version works fine for me https://take.ms/lVQ9F

2. Now it’s fixed, please check
3. That’s seems because you have non-secure links on your page, like this https://take.ms/ZkSAW

4. What template are you trying to import?

Nicu Mihalcescu 05 Nov 2022, 22:32

1. maybe I didn’t express myself correctly. try the search function without activating the promokit AMP module, in mobile format or even directly on a phone. here is the search bar from header items, the old one.
2. ok please tell me what changes must do to live site
3. I corrected the links but it still didn’t work. I solved it with the solution described here:https://support.hostinger.com/en/articles/4468993-how-to-fix-mixed-content-error-in-prestashop It may help other users
4.pik any template. export it and then import
that is the error
Compile Error: Cannot declare class CE\WidgetProductDescription, because the name is already in use

in WidgetProductDescription.php

Thank you

Fred 06 Nov 2022, 17:36

1. Here is the result of mobile search, without AMP https://take.ms/mnnPr

2. Whole Comparison module (pkcompare) was updated
3. Thank you for sharing the solution
4. I just imported a template with no problem - https://take.ms/A6TbL

Nicu Mihalcescu 07 Nov 2022, 19:12

Hello,

1.Please clear cache. My search bar is named “cauta”. If you see “search” you are not in the right place.
See attached video.
2. Yes alysum-empty works because is empty (no promokit widget)
try alysum-home.
See attachet video.

Thank you.

Attachments:

Fred 07 Nov 2022, 19:49

1. Yes, I finally see that. Need some time to fix the issue.
2. I just did exactly the same and have it successfully imported - https://take.ms/bo3jQ

Nicu Mihalcescu 07 Nov 2022, 22:55

1. I will wait but i hope you work on that.
2. i think you import again alysum-empty template. please try alysum-home or try more templates. for error the template must include promokit widgets elements.

Thank you

Fred 07 Nov 2022, 23:05

Something wrong with Creative Elements module. The only way to solve it is complete reinstallation, but that’s not a simple process because the module doesn’t touch database during this process. So you need to do the following:
1. Export important templates
2. Uninstall CE module
3. Go to phpMyAdmin find following templates and delete them

ps_ce_content_lang
ps_ce_content_shop
ps_ce_meta
ps_ce_revision
ps_ce_template

4. Install CE module back

Fred 07 Nov 2022, 23:28

We just make tests and found out your search is broken for some reason, maybe by some third party module or something else.
Here is the comparison of search result in your website and our local fresh installation - https://take.ms/sSQUv

You can make fresh install to test this search and make sure it works.

Nicu Mihalcescu 08 Nov 2022, 08:25

“We just make tests and found out your search is broken for some reason, maybe by some third party module or something else.
Here is the comparison of search result in your website and our local fresh installation - https://take.ms/sSQUv You can make fresh install to test this search and make sure it works.”

i don’t know what you do yesterday but today search bar from header item work it. on both format (desktop or mobile). See attached
first the products was shown “undefined” but after clear cache everything’s work normal.
Now the question is how do i replicate in live site.
Do you remember what you have changed?

Thank you

Attachments:

Fred 08 Nov 2022, 17:27

I edit this file to debug the issue /themes/alysum/modules/ps_searchbar/ps_searchbar.js but I didn’t apply any changes, as I remember

Nicu Mihalcescu 08 Nov 2022, 21:13

Hello Fred,

I think i solve all problems with your help, or i know where is the problem.

1. Search bar from header item not show list of products after type minimum of characters (3). show all product after hit enter.
Yes you changed ps_searchbar.js
/themes/alysum/modules/ps_searchbar/ps_searchbar.js
Attached working file.

2.Comparation tab in product page it’s not shown (only with version 2.1.0 of module)
you changed the module pk_compare 2.2.0. Maybe you must include in the theme version.

3.Add to compare button (in product page or category page don’t do anything. Mixed content error (see picture), with 2.1.0 or 2.2.0 version of module.
I solved it with the solution described here:https://support.hostinger.com/en/articles/4468993-how-to-fix-mixed-content-error-in-prestashop

4.Cannot import json template in creative elements if promokit widgets is active.(error 500). I tried with 2.5.9 and 2.5.11 version of creative elements module.

Is from third party module. Clean url module. I will contact the developer.

Thank you for support
Nicu

Attachments:

Fred 09 Nov 2022, 18:03

1. Thanks, added to the theme.
2. Already there
3. Thanks
4. ok, let me know the solution, if possible