Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Search By Category And Location Rate Topic   - - - - -

 

Posted 27 June 2019 - 08:33 AM #1

hi friends.

 

I have a question. Sorry for writing poorly! I do not know English!
I want to use the search by category and location on the site, as shown below.
 
Capture.PNG
 
But I just managed to use the following code to search by category and I can not search by category and location!
<div class="ty-float-left">{* dont delete this div. its really needed! *}
{assign var="all_categories" value=0|fn_get_plain_categories_tree:false}
<select name="cid">
<option value="0" {if $category_data.parent_id == "0"}selected{/if}>- {__("all_categories")} -</option>
{foreach from=$all_categories item="cat"}

{/foreach}
</select>
</div>

add into:  templates / addons / my_changes / hooks / search / additional_fields.pre.tpl

 
please help me. Thanks.
 

 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19764 posts

Posted 28 June 2019 - 05:25 AM #2

What do you mean by location? Is it product feature?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 29 June 2019 - 08:33 AM #3

What do you mean by location? Is it product feature?

yes my friend,

is it product feature.

i want search by category and location feature



 

Posted 13 July 2019 - 01:11 AM #4

Hi,

 

cart-power did something like this:

 

https://cart-power.c...lio/smolotka24/

https://smolotka-24.ru/