Answer the question
In order to leave comments, you need to log in
How to display GET variable in tvFilters?
It is necessary that the catalog is filtered by a get-request in the getproducts snippet. It is necessary that a list of certain categories of goods be formed using pre-created links.
Here is the getproducts call:
<?php
return $_GET["tags"];
Answer the question
In order to leave comments, you need to log in
Try handwriting the tag first:
Also see what your snippet returns.
You can also try to generate the entire request with a snippet as I did:
<?php
if(isset($_GET['filter_name']) && isset($_GET['filter_value'])){
return '{"'.$_GET['filter_name'].'":"'.$_GET['filter_value'].'"}';
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question