Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1331889

    We have a website under development at https://fischermedicalsupply.com/ which is password protected – F4sch3r

    We are working on this product page https://fischermedicalsupply.com/product/urology-betterbox/ which resets to the tab upon loading https://fischermedicalsupply.com/product/urology-betterbox/#gender and then does a page jump down the page which we do not want to happen.

    Can you help us figure out how to fix that? Thanks for any help!

    #1332043

    Hi whtmsting1,

    I have checked your site, however, it shows this instead:

    This site can’t be reached

    Is your site down at the moment or is there some country restriction?

    Best regards,
    Nikko

    #1332079

    maybe it is a focus thing on your shop settings.

    #1332161

    I gave you the password to access the site. Please go to https://fischermedicalsupply.com/product/urology-betterbox/#gender and use the password provided.

    #1332204

    Hi whtmsting1,

    I can’t seem to view it yesterday.
    I have now checked it and the behavior seems correct as the dropdown box has the ID of gender.
    Can you give us temporary admin access? so we can try to reproduce the same setup on our end.
    Just post the credentials in private content.

    Best regards,
    Nikko

    #1332358

    Are you telling me you are seeing the page jump and that it is the correct behavior? How do I stop that from happening is my question. It makes the opening of the page confusing as you don’t start at the top.

    #1332492

    Hi,
    Thank you for your patience and for the link to your page, I see that you are using the Composite Products extension, I have tried to go through the documentation for the extension as it is not standard or free, and we don’t have assess to it, but besides the documentation I could not find a live example so I’m not sure if the redirect ID #gender or as you wrote: resets to the tab upon loading
    can be disabled, as this is what is causing the “page jump”.
    This “page jump” is the result of an ID in the URL and is a web standard, this is how all anchor links work, so from the point of adding an ID to a URL and that ID is in the page HTML, “jumping” to the ID is “correct behavior”, this is the ID of the dropdown menu.
    But this ID doesn’t “reset” the drop down or any other options on the page, it only acts to “jump” to the option, which would be good if the option was at the bottom of the page and you didn’t want anyone to look at the product details.
    You can test this by watching the gender dropdown carefully on page load when the #gender ID is not in the URL, you will see before it is added the dropdown says Choose an option, then try making a choice and remove #gender from the URL and hit [Enter] after reload and before the ID is added once again the dropdown says Choose an option.
    So the added ID is doing nothing.
    Since this is a paid extension you should ask the woocommerce team how to stop the ID from being added, unless to can see this option in your backend and can disable it.

    Best regards,
    Mike

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Page jump on url anchor’ is closed to new replies.