Home Forums WoodMart support forum Dynamic shop page

Dynamic shop page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #573194

    jimfarg
    Participant

    We have created a new custom page and set it as our shop page. We used elements such as a search bar, banner categories, and a sidebar with filters. However, these elements are not working dynamically.
    Specifically:
    When selecting a category, it redirects to https://adamantopoulos.yellowtest.gr/product-category/lighting/.
    When selecting a ‘stock status,’ it redirects to https://adamantopoulos.yellowtest.gr/test/?stock_status=onsale.
    What we want is for all these actions to be dynamic on the existing page. When a user selects a category or applies filters, we want the product results to be displayed directly on the same page without redirection.
    Additionally, the elements do not offer an option for AJAX functionality luike here: https://geneamed.gr/shop/

    #573229

    Artem Temos
    Keymaster

    Hello,

    Dynamic elements like filters can work on the WooCommerce shop page only. If you create a custom page and do not set it as the shop page, filters and categories will lead to the defined shop page.

    In your case, the custom elements like the search bar, banner categories, and sidebar filters are not working dynamically because they need to be used on the designated WooCommerce shop page for the AJAX functionality to work as expected.

    To achieve the dynamic behavior you described, you should set the default WooCommerce shop page in your settings and then customize it with the elements you need. This way, when a user selects a category or applies filters, the results will be displayed directly on the same page without redirection, and you can utilize AJAX functionality.

    If you need further assistance with this setup or have any other questions, please let us know.

    Best regards

Viewing 2 posts - 1 through 2 (of 2 total)