Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Use a Query action on onAfterUserUpdate, onAfterUpdateUser triggers and update the address information for their basket rows in _cbsubs_payment_baskets. There is no other way to do this.Is there a way to update the correct data apart from a direct change in the cbsubs_payment_baskets table ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Order by the id column so the most recent is first (e.g. `id` DESC) then apply LIMIT 1 so you only are updating the most recent entry. This should work fine since you're not joining any other tables since order by and limit in update queries is only allowed in single table queries.How could I simply update the last ones that exist at the time of the change ?
Please Log in or Create an account to join the conversation.