Jump to content

How to create scripts to simulate saving of whole products categories through exec('updateProduct')


ietax

Recommended Posts

Hello, I need help to create 2 modules/ scripts. version PS 1.6.1.2

1- I'd like to develop a script which allows me to simulate the use of button "SAVE" for every single product of a certain category.
I mean: I have the list of my product categories, I select a certain and enter the command that set all the products of this selected category as SAVED. (Probably through Hook::exec('updateProduct')
This operation is the same of opening every single product of the list and clicking on SAVE.

2- It would b very helpful if I could update the shipping numbers for shipped orders automatically, that is to say to automate the update.
Now I insert the tracking number of every single order directly in DB automatically through a script.

I should have a function that simulates the pressure of button EDIT-> UPDATE in field tracking number of every single order for all the orders marked as SHIPPED in the same day
 
If anybody can help me I'd be very very grateful, thanks

 

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