### Windows Task Scheduler configuratie Source: https://www.hostfact.nl/help/artikel/12/cronjob-instellen Padvoorbeelden voor het instellen van een geplande taak in Windows IIS. ```text C:\Program Files (x86)\PHP\vx.x\php.exe ``` ```text C:\xxx\xxx\Pro\cronjob.php ``` -------------------------------- ### Cross-domain ondersteuning inschakelen in bestelformulier Source: https://www.hostfact.nl/help/artikel/69/de-domeinnaamcontrole-geeft-altijd-status-onbekendbezet Schakel cross-domain ondersteuning in door de configuratievariabele in bestellen/config.php op true te zetten. ```php $orderform_should_support_crossdomain = false; ``` ```php $orderform_should_support_crossdomain = true; ``` -------------------------------- ### Cronjob commando's per serveromgeving Source: https://www.hostfact.nl/help/artikel/12/cronjob-instellen Specifieke commando's voor het aanroepen van het cronjob.php bestand op diverse hostingplatformen. ```bash php -q /map/naar/hostfact/Pro/cronjob.php ``` ```bash /usr/local/bin/php /home/ACCOUNT/domains/uwdomein.ext/public_html/Pro/cronjob.php ``` ```bash /usr/bin/php -q /home/www/vhosts/uwdomein.ext/httpdocs/Pro/cronjob.php ``` ```bash wget –q http://www.uwdomein.ext/Pro/cronjob.php >/dev/null 2>&1 ``` -------------------------------- ### Same-site policy aanpassen in klantenpaneel Source: https://www.hostfact.nl/help/artikel/69/de-domeinnaamcontrole-geeft-altijd-status-onbekendbezet Wijzig de sessie-instelling in klantenpaneel/config.php naar 'None' om cross-domain iframe-gebruik mogelijk te maken. ```php $configuration['session']['samesite'] = 'Lax'; ``` ```php $configuration['session']['samesite'] = 'None'; ``` -------------------------------- ### Product toevoegen aan bestelling Source: https://www.hostfact.nl/help/artikel/170/hoe-kan-ik-een-product-toevoegen-aan-een-bestelling?%2F= Voegt een nieuw item toe aan de bestelling op basis van een productcode en een eigen kenmerk. ```php $this->element->newItem('Setupkosten'); $this->element->setAttribute('ProductCode', 'P001'); $this->element->saveItem(); ``` -------------------------------- ### Product verwijderen uit bestelling Source: https://www.hostfact.nl/help/artikel/170/hoe-kan-ik-een-product-toevoegen-aan-een-bestelling?%2F= Verwijdert een eerder toegevoegd item uit de bestelling op basis van het kenmerk. ```php $this->element->removeItem('Setupkosten'); ``` -------------------------------- ### BTW verlegd conditie-tag Source: https://www.hostfact.nl/help/artikel/82/hoe-laat-ik-de-tekst-btw-verlegd-op-mijn-factuur-zien?%2F= Gebruik deze tag in uw factuursjabloon om de tekst 'BTW verlegd' alleen te tonen wanneer de BTW-verleggingsregeling van toepassing is. ```text [reversecharge]BTW verlegd[/reversecharge] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.