Jump to content

Managing products quantities and categories through my controller instead of the default one


daemonzone

Recommended Posts

Hi,

 

I'd like to use a different AdminController to manage Products.

 

I copied AdminProductsController.php to AdminMyProductsController.php and substituted all occurrences of AdminProduct with "AdminMyProducts" but I still get some errors from PS 1.5.2.

 

In particular, I cannot set Quantities for Products because some Ajax stuff probably goes wrong and it hangs saying "Saving data...". Nothing is saved, anyway.

 

What do I need to check to correct this behavior?

 

 

Could someone also please help me to automatically assign a Product to a Category if the Product is created through AdminMyProducts?

 

Thanks in advance.

 

Have a nice day!

 

DAve

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