Home Forums WoodMart support forum Product category linking to category page with anchor

Product category linking to category page with anchor

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #361316

    isuedtirol
    Participant

    Hello there, is there a way to link product categories to the anchor in the category page which we insert with html blocks?

    We want this so customers don’t have to scroll down everytime they go to a categorypage.

    Best wishes and thanks in advance

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

    isuedtirol
    Participant

    Maybe something like this helps?

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

    Artem Temos
    Keymaster

    Hello,

    We have a special option for the AJAX shop and you can enable it in Theme Settings. Here is a screenshot https://prnt.sc/rtcIFBh_ch2I

    Kind Regards

    #361418

    isuedtirol
    Participant

    Thanks for the info. We now tried this solution via jquery:

    (function($) { 
      $('html, body').animate({
        scrollTop: $('#categories').offset().top}, 1000);
    })(jQuery);  

    This works fine while navigating through the categories. But when we go the standard category (“Sonstige Kategorien”) or the standard shop page and then back to the other categories, the jquery code doensn’t load/work correctly. Only after refreshing on the category page it works again and goes to the anchor.

    Unfortunately we are beginners and don’t know how to fix this problem.. maybe you have a clue on how to fix this problem?

    Best wishes and thanks in advance,
    Julian

    #361526

    Artem Temos
    Keymaster

    Hello,

    Sorry, but we don’t have an instruction for such customisation. And fixing 3rd party code like this is out of our theme support scope.

    Kind Regards

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