Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bug in checkout when smart cache for javascript is activated

Featured Replies

Hi,

I am using 1.1.x version (bleeding edge) and I have found a bug within the javascript cache.

I have no guest checkout activated (but If I activate it the problem is the same) so if customers are no login when they arrive to the checkout, it should be visible the registration form to introduce the data. Something like this:

image.thumb.png.0120557ea6af9812aaf8eb8dc691d326.png

 

BUT, if I activate the smart cache for javascript, this is not showed and instead it appears:

 

image.thumb.png.feb2a467f6160228f9f5c9528b130e1a.png

This is wrong because it is showing the guest checkout (but it is deactivated) instead the fields directly.

This bug also affect when guest checkout is activated but the difference is that appearing this last screenshot would be normal, but once I clic in "guest checkout" button, instead of showing the fields without leaving the checkout, it redirects to the account page creation.

 

I have registered it in video:

 

https://www.screencast.com/t/wWwnRF51u

 

Any idea how to correct it?

 

Regards

I cant watch the video, since I am too lazy to download flash player again. But I believe I understand the issue. Have you checked the browser console?

  • Author

in chrome, just click in allow after doing clic in install. It is about 3 sec 😉
about checking....I should know what to check first :S
No dev knowledge here, but since our shop is closed, I activated the smart cache for javascript so you can see the problem yourself if you would like.

Just enter here: https://www.lesielle.com/es/activos/retinol-vitamina-a-03/1 

Click in "reservar" and go to the checkout. You will see both buttons (instead of the registration form), including the guest checkout button (that is deactivated) and whatever you do you will be redirected to "my account" page

Yeah you have multiple console errors (right click in chrome and use inspectation). I would try to deactivate external modules and check again... Dont forget, to delete cache always after changes...

  • Author

you are right! it seems it is a module because deactivating it, it is solved. I deactivated the module now. Could you tell me from the console if there is something I can correct? (only if it is simple)

Na this is hard to tell for me. I can only say, that you probably use multiple modules, that are not super clean in their js handling. Probably also the cookie module you use...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.