Author Topic: Send waitinglist notification via CLI  (Read 1773 times)

sandomatyas

  • Jr. Member
  • **
  • Posts: 406
Send waitinglist notification via CLI
« on: April 21, 2022, 15:22:05 PM »
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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1707
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Send waitinglist notification via CLI
« Reply #1 on: April 21, 2022, 16:41:17 PM »
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

  • Jr. Member
  • **
  • Posts: 406
Re: Send waitinglist notification via CLI
« Reply #2 on: April 21, 2022, 17:09:18 PM »
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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1707
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Send waitinglist notification via CLI
« Reply #3 on: April 21, 2022, 18:37:19 PM »
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