Jump to content

ReferenceError: id_product is not defined


markovo

Recommended Posts

Hello,

Suddenly, after I didn't do anything, my product editing page stopped working.

I get this error:

ReferenceError: id_product is not defined

xxxxxxxxxxxxxxx.PNG.9f251f2b1f34788e9ee645dbcdad42f5.PNG

And the product editing page does not load tinyMCE:

vvvvvvvvvvvvvvvv.thumb.PNG.adcff97dc2e33b3514466fe210d58335.PNG

The save buttons are loading infinitely.

I have tried replacing the products.js with another one from my other shop, but there was no change. My PrestaShop version is 1.6.1.20

Enabling DEV mode didn't show any errors. In all other pages (CMS, categories, etc) the tinyMCE works just fine.
Please, give me some advice!

Link to comment
Share on other sites

Hello:

Check all other modules hooked to the admin product section. Maybe the problem is located on a JS from these modules.

Then you can try to replace your products.js from the basic installation zip file of your PS version. Or even check the product.js sintax on an online tools.

Regards

  • Like 1
Link to comment
Share on other sites

14 minutes ago, Rolige said:

Hello:

Check all other modules hooked to the admin product section. Maybe the problem is located on a JS from these modules.

Then you can try to replace your products.js from the basic installation zip file of your PS version. Or even check the product.js sintax on an online tools.

Regards

Actually I replaced the admin theme JS folder with another one from my other shop just now and the problem disappeared.

The problem is SOLVED.

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...