Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

AndyC

Editing Products

Recommended Posts

Posted (edited)

Hoping someone can help  (TB 1.1.0 - Panda Template)

I was trying to edit a product today and I can't edit it as the save buttons are continuously have the scrolling circles.. I can add new products fine just editing

If I tab onto prices the page is blank and Associations tab is all out of sync and cannot open any folders to get to sub categories.

The first thing I did was to revert back to 1.0.8 but that made no difference . I've disabled all overrides and non thirty bees modules.

I then turned on Debug mode , but it doesn't show up any error.

I've searched under prestashop but nothing really has a outcome apart from upgrading

I have had know band working on my google listings, but with all modules disabled it was still there.

Otherwise I'll have to do a complete site rollback by about 3 days

Capture.JPG

Edited by AndyC

Share this post


Link to post
Share on other sites
Posted (edited)

Hi

Is this what you were after

Capture.JPG

Warnings tab is

 

Capture.JPG

Edited by AndyC

Share this post


Link to post
Share on other sites

Yep - hopefully that will help someone to help you. do you have any modules installed that add functionality to the product page in admin? For example we have 

PRODUCT EXTRA TABS

installed by the Panda Theme
 
Try disabling all those modules which will show if it is a conflict. Not sure Panda has been certified yet

Share this post


Link to post
Share on other sites

Yeah I disabled all from the performance admin page. The last time I actually added a product was a week ago ,since then all I have been doing is SEO pages and I've done a lot in a week 😞 .. So don't really want to do a restore

Share this post


Link to post
Share on other sites

@AndyC this looks like browser cache issue. Your browser uses cached version of /js/admin.js file that doesn't contain function displayPriceValue.

I believe that your problem disappears if you clear your browser cache (or use different browser)

Share this post


Link to post
Share on other sites
Posted (edited)

Hi

I've tried 3 different browsers now Firefox,Chrome and even Edge all have the same thing happen

Have even cleared cache on all of them as well , including in admin under performance.

Edit

I went to look into /js/admin.js and see they been edited on the 26th all the others are 15 or does that not matter

 

Edited by AndyC

Share this post


Link to post
Share on other sites

Sorted now thanks all.. Ended up being my supercacher on my host site.. Didn't even think of that till DataKick showed me it was working his end lolol

  • Like 1

Share this post


Link to post
Share on other sites

@datakick while I was checking something regarding this topic I've noticed that "admin.js" and "tools.js" and both loaded with versioning

"?v='._PS_VERSION_"

(classes/controller/AdminController => setMedia()).

Now that we are working with git updater, I think it will be wise to remove versioning or even better to add git latest commit as versioning.

git log -n 1 --format="%h"

what do you think?

Share this post


Link to post
Share on other sites
10 minutes ago, yaniv14 said:

@datakick while I was checking something regarding this topic I've noticed that "admin.js" and "tools.js" and both loaded with versioning

"?v='._PS_VERSION_"

(classes/controller/AdminController => setMedia()).

Now that we are working with git updater, I think it will be wise to remove versioning or even better to add git latest commit as versioning.


git log -n 1 --format="%h"

what do you think?

I totally agree. There should be some generic assets version control in place. It should be based on either thirtybees version, or even better on git commit as you suggest (it could be any unique identifier associated with release. But git hash seems to be best option). That way, browser cache for all javascript (or css/font/...) assets would be invalidated when merchants upgrades or downgrades thirtybees core. 

Let's create an issue to track this enhancement

  

Share this post


Link to post
Share on other sites

I didn't put this on github, but another version of fixing this would be to use the cache system we use with the front office for the back office css and js files. It would make things a little bit faster too maybe. 

  • Like 1

Share this post


Link to post
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...