Jump to content

Back Office - How to keep id_category in URL after SAVE / Refresh


Recommended Posts

Hello, 

 

I am modifying PS for my needs and i am quite confused about this:

 

 

1. If I go in BO > catalog > Products. When selecting any category, the top URL changes and id_category=12 is added in URL:

 

post-646595-0-64168100-1410889553_thumb.png
 
2. If i go and edit a product or add new product the id_category remains in the URL:
 
post-646595-0-83480300-1410889554_thumb.jpg
 
3. But after I save the product, or in some case after saving it comes with some errors, the id_category disappears:
 
post-646595-0-80089800-1410889555_thumb.jpg

 

 

Question:

How to keep id_category always inside URL?

 

The reason i need this is because under each category_Id i have some script modification, and in order to keep those scripts working i need to have a URL with id_category!

 

 

 

I already solved this by my self. in case anyone needs help on this please leave a comment!

Edited by Andron777 (see edit history)
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...