[Resolved] The option “Display add to cart panel on scroll” is not displayed

Home Forums Support The option “Display add to cart panel on scroll” is not displayed

  • This topic has 8 replies, 3 voices, and was last updated 1 month, 1 week ago by Luiz Guilherme.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1409982
    Luiz Guilherme

    The option “Display add to cart panel on scroll” is not displayed if nothing is filled in the field: “Description”.

    This feature should be displayed whenever the “BUY” button is hidden.

    But it is only displayed when the “DESCRIPTION” is filled and visible.

    #1410122
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That shouldn’t be the case, the panel checks if you scroll past the button and displays once it’s no longer visible.

    Can you link us to the page so we can take a look?

    #1410147
    Luiz Guilherme

    I added the upsell coca-cola product, and removed the description, the same is happening here.

    The button appears only for a moment during scrolling, as soon as the upsell product is displayed, if I keep scrolling, when related products are displayed, the button disappears.

    And only reappears if I roll the page backwards, when the upsell reappears.

    I believe too that this button should continue to be displayed as long as the main buy button does not appear again, regardless of how far down the page I scrolled.

    https://roquesburger.com/produto/roques-bacon/

    In addition to what I said before, if there is no description “and now upsell products” the button does not even appear in the footer.
    See it here:

    https://roquesburger.com/produto/smash-burger/

    #1410249
    David
    Staff
    Customer Support

    Hi there,

    i am not seeing this issue – however to make it work i had to view it on Mobile or shorten the height of my browser or go to mobile responsive view.

    I think the problem is there isn’t enough content on the screen, and you cannot scroll sufficiently past the Buy button to make it appear.

    Adding the Description makes the page longer which is why it then works.

    #1410262
    Luiz Guilherme

    Exactly. the button only appears on the phone, because I have little content.

    The point is that the Floating Button “should” appear after the main button is hidden and remains there.

    but what happens is that when the scroll reaches the related area it disappears, and when the product has no description or upsell it doesn’t even appear.

    it is as if the code that causes it to be displayed is conditioned to the display of some container after the main button, and not to the hiding of the main button.

    See, I have another test site. and the same is true of him.
    when the description area is hidden and the footer widgets are displayed, the button also disappears.

    It is not an isolated problem

    https://loja.delaitec.com/site/produto/agua-mineral-linhagua-20litros-sem-galao/

    how can we solve this?

    #1411440
    Tom
    Lead Developer
    Lead Developer

    The point is that the Floating Button “should” appear after the main button is hidden and remains there.

    That’s what happens. However, on pages where the button doesn’t disappear because there is not enough content, the panel won’t appear.

    but what happens is that when the scroll reaches the related area it disappears, and when the product has no description or upsell it doesn’t even appear.

    Since the panel appears at the bottom of your screen on mobile, it will disappear once you reach the footer so it doesn’t block your visitors from interacting with links in the footer.

    The issue here is that you don’t have enough page length to display the panel from a decent amount of time. By the time the buy now button is no longer visible, you’re reaching the footer and the panel will go away so it doesn’t block the footer.

    It’s actually acting as it should, so there really isn’t any way to solve it.

    #1411481
    Luiz Guilherme

    Now you have new information 😀
    it disappears when it reaches the footer.
    this has not been explained before.

    I added some items to the sidebar and to the footer widgets.

    https://loja.delaitec.com/site/produto/agua-mineral-linhagua-20litros-sem-galao/

    see that it disappears the moment the first footer widget appears.

    shouldn’t it disappear when it actually touches the bottom of the page?

    #1411830
    Tom
    Lead Developer
    Lead Developer

    The code currently looks for the top of the .site-footer element. Once it reaches that element (could be the top of the footer widgets), it will hide.

    .site-info would be better, we’ll run some tests on that and consider changing it in 1.12 🙂

    #1411927
    Luiz Guilherme

    Nice, thank you.

    Good night.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.