Jump to content

A strange problem that I didn't see anywhere before.


Recommended Posts

I've made a fresh intsall of PS 1.7.8.7.

I've added  the Electron Theme from ThemeVolty. Everything seems to work okay.

The problem is, the quantity on the product page, before the "add to cart" button first shows "1" as it should be but then dissapers immediately if I scroll the page a little.

After that you need to enter the quantity manually or using - + buttons.

I couldn't find a similar problem thus a solution to this error. 

This problem do not exist on tablets or mobiles, just on desktop browsers, both on Chrome and Edge as well.

You can see the problem on the product page below. It's the same on all product pages.

https://proses.com/shop/root/249-ballast-spreader-8680979260203.html

Thanks in advance.

  • Like 1
Link to comment
Share on other sites

  • 7 months later...

this  problem is almost 'always' a module is displaying the return code of a function call, which is either 1, 0 or null.  you can disable 3rd party modules via performance and see  if issue disappears, or each individually  to  determine which module is displaying the return code, i.e. 1

Link to comment
Share on other sites

  • 6 months later...
On 5/16/2023 at 1:44 PM, PrestaHeroes USA said:

this  problem is almost 'always' a module is displaying the return code of a function call, which is either 1, 0 or null.  you can disable 3rd party modules via performance and see  if issue disappears, or each individually  to  determine which module is displaying the return code, i.e. 1

Amen to that... there are so many modules, with so many devs on so many level of expertise.

I also use ThemeVolty's theme (sigh) ... some of their code is just pure garbage and for security measures, I'm not comfortable letting them access to my production server and they refuse to review their errors on my code repository.

Anyways... to fix issue with disappearing quantities on product page when you scroll you have to replace {theme_folder}/assets/js/theme.js with a newer version (you can either compile from prestashop's repository or get it from distribution in the classic theme folder.
 

Hope this will help.

Link to comment
Share on other sites

  • 6 months later...

Hi.

I'm also using the electron theme and I didn't want to have to contact support again because it sucks.

I also have the problem that the quantities disappear when I scroll. I've tried changing the theme.js as hydromel2008 said, but it doesn't work. Has anyone been able to solve it?

 

Regards.

Link to comment
Share on other sites

Posted (edited)

Hi.
I'm using different theme but also from ThemeVolty. In my case quantity disappears if scrolling if i have a "Product page bottom bar sticky status " disabled in theme settings. Enabling it solved the problem.That's a marvelous hindu coding standards...

I also have a problem with the product photo gallery in the mobile view. It stops working if I disable the blog module from ThemeVolty.
The module must therefore be enabled even if it is not in use.
The connection between these things is beyond my ability to reason...

Edited by Xymor (see edit history)
Link to comment
Share on other sites

17 minutes ago, Xymor said:

I also have a problem with the product photo gallery in the mobile view. It stops working if I disable the blog module from ThemeVolty.

Developers press some of their thinking toward the customer. Its not based on UX in most cases.
If that happens have a look how many people visit the gallery first.


Taking Search engine and user behavior into account a gallery does not make sense.

Link to comment
Share on other sites

Posted (edited)
9 hours ago, Nickz said:

Developers press some of their thinking toward the customer. Its not based on UX in most cases.
If that happens have a look how many people visit the gallery first.


Taking Search engine and user behavior into account a gallery does not make sense.

I'm not sure if I understand you correctly, but it's probably because I didn't explain it thoroughly. I'm talking about product photos on the product page, not a separate photo gallery. If I disable the blog module (tvcmsblog), each page scroll changes the correctly functioning page:

 

Zrzutekranuz2024-07-08o11_51_35.thumb.png.f800dcac1751ae35e6a33cc554de8e4d.png

to:

Zrzutekranuz2024-07-08o11_51_43.thumb.png.1dc0e8fedbd6594a19cacfedabd88144.png

With the blog module (tvcmsblog) enabled, everything returns to normal.

 

But what can you expect from a company that has a link to support on its  own website in the form:
<a href="mailto:support@yourdomain.com"> Email us at [email protected]</a>

https://themevolty.com/contact-us

 

 

 

Edited by Xymor (see edit history)
Link to comment
Share on other sites

16 hours ago, Xymor said:

But what can you expect from a company that has a link to support on its  own website in the form:

Not everyone has the time to get their own sites up and running.
Have you tried to get support from there?

You might be surprised, positively. ;)

 

Link to comment
Share on other sites

  • 1 month later...

Hello all
i am in 8.1.7 and use a themevolty theme.
It seems i have almost the same problem.
My homepage fit all in the screen (no scroll)

As long as i dont "move" in the page (resize it in this case), the module used dont appear...

I contact the support but no news about this problem from last tuesday.

If you know how to remove the icon where customers can change theme option, i need it too.
best regards

Capture d’écran 2024-09-07 235630.png

Link to comment
Share on other sites

  • 1 month later...
Em 07/08/2024 às 09:19, Xymor disse:

Oi.
Estou usando um tema diferente, mas também do ThemeVolty. No meu caso, a quantidade desaparece se rolar se eu tiver um "status pegajoso da barra inferior da página do produto" desativado nas configurações do tema. Habilitar isso resolveu o problema. Esse é um maravilhoso padrão de codificação hindu...

Eu também tenho um problema com a galeria de fotos do produto na visualização móvel. Ele para de funcionar se eu desativar o módulo do blog do ThemeVolty.
O módulo deve, portanto, ser ativado mesmo que não esteja em uso.
A conexão entre essas coisas está além da minha capacidade de raciocinar...

I had this problem too, I did exactly what you said and it worked again :) Thank you so much, you saved my day.

Link to comment
Share on other sites

Hello, the themevolty support correct my problem.
They take pc PC remotly and using my session (without give themn my admin pwd)

Their theme are very beautiful, but not sure that all the coding norms were respected O_o

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...