3
Sirs,
I’m trying and hitting my head to create a Cascading filter for Prestashop, based on its categories, and the plugins I found are paid for. What would be the best way to do?
If only Prestashop would return me a json, I could popular the dropdowns with the categories, but ended up being without north...
this is my structure:
<div id="filtro">
                        <form>
                            <div class="form-group">
                                <label class="col-sm-12 control-label">Montadora</label>
                                <div class="col-sm-12">
                                    <select style="width:100%" name="montadora_tur" required="required" class="form-control" id="montadora_tur">
                                        <option class="montadora_zero" value="">Selecione</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-12 control-label">Carro</label>
                                <div class="col-sm-12">
                                    <select style="width:100%" name="carro_tur" required="required" class="form-control" id="carro_tur">
                                        <option class="carro_zero" value="">Selecione</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-12 control-label">Ano</label>
                                <div class="col-sm-12">
                                    <select style="width:100%" name="ano_tur" required="required" class="form-control" id="ano_tur">
                                        <option value="ano_zero">Selecione</option>
                                    </select>
                                </div>
                            </div>
                        </form>
                    </div>
Someone would have some light?
There’s some code, there’s what’s been done, demonstrate with examples your problem
– novic
I posted my current structure.
– Julio Rodrigues
@Virgilionovic updated! Thanks for the remark!
– Julio Rodrigues