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.

TB1.1.0 BO Product edit - JS Error: displayPrice is not defined.

Featured Replies

Hello,

On my local TB, on FIREFOX, When i try to edit price on product. the price tab content is empty. All saves buttons from all tab are disable with the loading animation. 

JS console tell me:

JS Error: displayPrice is not defined.

the displayPrice function is in:
https://github.com/thirtybees/thirtybees/blob/1.1.x/js/tools.js#L90,
and it call  from:
https://github.com/thirtybees/thirtybees/blob/1.1.x/js/admin/price.js#L152

All Works fine when I disable firefox cache.

Do you experiment the same problem?

Does it continue to work if you turn the cache back on? Or don't turn it off, just reload the page using the reload button? It might be a stale tools.js, which would be a one-time problem.

  • Author

OMG, Sorry for the inconvenience, hard refresh ( CTRL + R on Firefox)   seem fix the issue.

Thx for the Poster @datakick, I will print it and hang it on my wall.

Thx for the reply  @Traumflug and @datakick

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.