Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

php7 and search result page
(1 viewing) (1) Guest

TOPIC: php7 and search result page

php7 and search result page 4 years, 9 months ago #38951

I just bought the plugin,
first it looks not compatible with php7:
plgK2Sjk2filter has a deprecated constructor in D:\web\alparc2019\plugins\k2\sjk2filter\sjk2filter.php on line 18
when the plugin is enabled, else (only with the module), no result at all.

Then with php 5.6, I get the results but:
I lose the template of the page (just the component is displayed, and without the item pictures)
the option "auto result" doesnt look working... (no action is taken)

I am missing something here?

Re: php7 and search result page 4 years, 9 months ago #38956

Dear

1. go to \plugins\k2\sjk2filter\sjk2filter.php on line 18 and find

plgK2Sjk2filter

change to

__construct

2. Please configure prntscr.com/nyqg0a

thanks

Re: php7 and search result page 4 years, 9 months ago #38971

Thanks, the php fix worked (not anymore with php 5.6 but it doesn't matter)

I don't know how works the "value range" for extrafields filters,
I have this last column (date) and would like to make a select list with it, or something more userfriendly (for now it works if we enter a date eg.:2012)
is it possible? I dont find any documentations about that...

Best,

Jm

Re: php7 and search result page 4 years, 9 months ago #38974

Dear jmbernier

You can create the extra filed type list prntscr.com/nzw3l9 or prntscr.com/nzw3yr
you can try with some type for your want.
then add your extra field in our module k2 filter: prntscr.com/nzw4h8

thanks

Re: php7 and search result page 4 years, 9 months ago #38975

Thanks for quick reply,
I know that, but the field "year" is all ready created on a few thousand items...
it is just a textfield and I will not go to change them one by one...

I wonder if I could use the "value range" option (see attached the screenshot), I just don't know how t make it working...

Re: php7 and search result page 4 years, 9 months ago #38980

Dear jmbernier

Please send us the screenshot again to clearer your question

thanks
Time to create page: 0.23 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes