Prestashop run script after purchase of a precise item - prestashop-1.6

As title, I would like to run a script after a precise item has been purchased.
I searched on web to find some clue on how to start it, but nothing.
Thanks a lot
Riccardo

You could create a custom module that is using the actionValidateOrder hook which is called after the order was created. In the hook you could loop through the ordered products to check whether the specific product was purchased and execute a given code block if the condition is met.

Related

I have created a rule to automatically create a Child Task but it is not working

I am using Azure DevOps WIT One Click Extension. I am trying to create a Rule to generate multiple Work Items (Child Tasks) when an specific Work Item gets saved or assigned to an individual.
I have tried over and over and the rule does appear for me to manually executed but it is not working to automatically generate the Tasks.
I have no code... I am not a Programmer or Developer. I am a user trying to use the tool
I expect the rule to work and automatically create the Child tasks when the Request Item (Parent) is saved or assigned to someone.
I'm afraid the trigger way you want does not support by this extension now.
generate multiple Work Items (Child Tasks) when an specific Work Item
gets saved or assigned to an individual
For this rule you would like -- save a specific work item and assigned to an individual are belong to trigger way -- as I understand, what you want is when a work item saved and be assigned to someone, it will trigger the action generate multiple child tasks.
So, in this rule, save a work item or assign it to someone is trigger way. The action is generate multiple child tasks. But, unfortunately, these trigger ways does not be support by this extension. It just support New work item load and Field changed now.
That's why it does not working automatically. Because the trigger way you configured not supported.
The rules you can create which also supported by this extension, is open a workitem or change one field will link a child task.
In addition, I also check the rules which Azure Devops support. The trigger way you want are also does not supported.

Multiple Export of Different Selections in Dropdown selection

I'm trying to find a way to automatically change the dropdown to the next name on the list, wait for a second or so for the results below to change and then export that page as PDF!
I would do it manually but there will be about 100 names on the list!
The data pulls up fine it's just the avoiding all the manual work that would be done each month for the 100 people!
And maybe if there's a way to rename the pdf with the name of the person?
Too Much?
I
Why not make a script ?
You could first get all the item of your drop down list, then you change the cell value of your drop down list and you pause the script for 1 second.
If you need more help to do it just ask me !
this is not really resolvable in the scope of Google Sheets only. basically what you need is a macro that will run outside of the box and automate whole this process while you take a quick nap. you should look into AutoHotKey which is able to do exactly what you want with delays, auto clicking on buttons to download and stuff like that. there is full documentation on how to build your script, many tutorials and even discord channel if you need pro help. Example:
https://youtu.be/bS-ycdoOyj8

Is it possible to bulk follow work items in TFS 2017?

I want to follow several work items and to be able to do this in bulk rather than having to go into each item and click 'follow'. I have created a query but can't see a way of getting updates on the status of each item within the query. Is this possible?
Unfortunately, there isn't the feature for now, there are two user voices to suggest the feature , you can go and vote them up to achieve it in future:
User Voice:
https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/16650295-i-can-t-seem-to-bulk-follow-items
https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/13885038-assign-followers-to-a-work-item
As a workaround, you can create a notification alert for the work items change. See Set alerts, get notified when changes occur for details.

How to add same set of tasks (as child) to multiple user stories in tfs?

Suppose i have some set of tasks say:-
Analysing Code.
Coding.
Exception Handling.
View Integration
Deployment.
Bug Fixing.
How do i bulk create the same set of tasks under multiple user stories as its respective child objects?
Eg:- say i have
45678,45679,45670,45671,45672 as my user stories.
If i manually create the 6 listed tasks to the 1st user story, then how can i bulk create the same set of tasks to all other user stories as child objects?
There is no automation out of the box for this.
You can use excel to copy/paste the tasks as children of PBI's. There are also some third party tools out there that can do what you want. I built the TFS Event Handler in 2008 for an organization but have not had much call for it since.
http://nakedalm.com/tfs-event-handler-for-team-foundation-server-2010/
The reason I don't get much call for this sort of thing is that if you need it, then you are doing something wrong. Your list above is something that would make a lot more sense on a definition of done than a task list. If this was the DOD then the tasks should be the development teams plan to get them done...

SharePoint search not finding someone and job title displaying incorrectly for one person

I am the SharePoint administrator for a company. Usually I can find how to fix problems rather easily but this time I am stumped. I have two problems. One of them is there is a person who has a MySite but when you use the people search she does not show up. The second problem is there is another whose job does not show correctly and when you search by job it doesn't show correctly. Its missing one word in the job title. To update profiles we use a data base that stores there information and sends it to a intermediate database when a specific job is run. We use AD groups to determine who gets a MySite.

Resources