News:

Support the VirtueMart project and become a member

Main Menu

Send waitinglist notification via CLI

Started by sandomatyas, April 21, 2022, 15:22:05 PM

Previous topic - Next topic

sandomatyas

Is it possible to use VirtueMartModelWaitingList.notifyList() via CLI script?
I can call the method but can't get the correct language and the correct image url's
Do you have maybe some example scripts for something like that?

pinochico

With Email Manager and Waiting List plugin you can use cron
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

sandomatyas

Thanks, but waiting list is just an example, I want to learn how to manage VM things via CLI script

(FYI: yout site's SSL cert has expired)

pinochico

Quote(FYI: yout site's SSL cert has expired)

thanks, yesterday was ok, so I send info to our server staff.

We created more CLI script for VM:
- for synchronization VM orders with mobile app
- for synchronization sale prices (sales price before normal price) for filtering
- for synchronization payment with bank account

For every script we created php file - inside call vm trigger.
Sometimes as system plugin into joomla, sometimes call with CLI OPC Rupostel
For notify (waiting list) we created system plugin.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products