A
A
a_palanski2016-09-14 20:59:36
PHP
a_palanski, 2016-09-14 20:59:36

How to implement opencart 2.0 product filter?

Good evening, tell me how to implement filtering like on this site tastycoffeesale.ru/coffee where is the method of making coffee, so that instead of an inscription, just insert pictures

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
web-mechanic, 2016-08-13
@proudmore

$query = "UPDATE `users` SET `type` = '".$type."' WHERE `users`.`user_id` = '".$id."'";
And still it is necessary to put protection against sql-injection

H
hicenko, 2016-09-22
@a_palanski

It's better to use an external one. For example mega filter

W
web-mechanic, 2016-09-19
@amfetamine

there is a FILTER field, use it, but this is the first IM where I meet such an implementation, third-party filters are usually used

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question