Home Forums WoodMart support forum Shop with WPML : Clear filters does not take language into consideration

Shop with WPML : Clear filters does not take language into consideration

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #251473

    bernasch
    Participant

    Hello,

    When you “Clear filters” in the Shop it brings you always to the Shop original language.

    In my attachment you can see that the language argument is not taken in woodmart-clear-filters.

    Thanks for giving me a feedback and workaround.

    Regards,
    Olivier

    Attachments:
    You must be logged in to view attached files.
    #251504

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    I am checking your shop page and I stay at the same page when I reset the filters: https://gyazo.com/ec0d66edf33517ee740ef1369a7e00f8

    Please provide the step by step instruction to reproduce the problem.

    Best Regards

    #251505

    bernasch
    Participant

    Hello,

    You should be in another language als the french default one.

    For instance :
    1. Switch to english
    2. Go to Shop
    3. Filter by ingredient
    4. Click on “Clear filters”
    5. It will switch the Shop to french

    At your disposal.
    Olivier

    #251593

    Hello,

    I have tested and I stayed on the English page https://gyazo.com/403aaab76d9bb9843af5a47cf5302301

    I tested with several filters and categories. Please clarify.

    Best Regards

    #251598

    bernasch
    Participant

    On your video you don’t click on “clear filters”, but on clear “Vegan”…

    Please do exactly as following :
    1. Got to Shop in english
    2. Select brand attribute ABBGen
    3. Click on “Clear filters”

    You will see that it toggles from english to french…

    Attachments:
    You must be logged in to view attached files.
    #251607

    bernasch
    Participant

    The argument ?lang=en is missing in the link when your “Clear filters”. The link should be https://hathanatura.ch/shop/?lang=en and not https://hathanatura.ch/shop/

    The critical point is when you are in a product-category and you clear filters, it leads to a 404 page because the argument ?lang=en is missing.

    Example:
    – Clear filters lead to https://hathanatura.ch/product-category/clinic/
    – Instead of https://hathanatura.ch/product-category/clinic/?lang=en

    #251771

    Hello,

    Our theme does not influence the URL forming, please contact WPML support on this issue.

    Best Regards

    #252700

    bernasch
    Participant

    Hello,

    The default theme has no filter capabilities by attributes as implemented in Woodmart.

    As you can see below the URL forming is defines in your class :

    Clear filters

    #252701

    bernasch
    Participant

    <!–
    Clear filters
    //–>

    #252839

    Hello,

    Woodmart filter is a visually customized Woocommerce attribute filter. Please check how it works on the Storefront theme, you can find the Product Attribute filter in Appearance > Widgets.

    Best Regards

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