Difference between revisions of "Wordpress Connection"
(→Wordpress Connection) |
|||
Line 6: | Line 6: | ||
*Make sure the file wpapi.js is present in the Scripts folder, if not, you can download it here and upload it to the Qmaze environment. | *Make sure the file wpapi.js is present in the Scripts folder, if not, you can download it here and upload it to the Qmaze environment. | ||
*If there is need to place a "Add to cart" button on the Qmaze environment please add the following code into an outputscript, and don't forget to link it in your configuration outputscript: | *If there is need to place a "Add to cart" button on the Qmaze environment please add the following code into an outputscript, and don't forget to link it in your configuration outputscript: | ||
− | <div> | + | |
− | <button class="q-btn-send" id="submit-form" type="button">Voeg toe aan Winkelmand</button> | + | <nowiki /><div> |
− | </div> | + | <nowiki /><button class="q-btn-send" id="submit-form" type="button">Voeg toe aan Winkelmand</button> |
− | <script src="Scripts/wpapi.js"></script> | + | <nowiki /></div> |
+ | <nowiki /><script src="Scripts/wpapi.js"></script> |
Revision as of 10:37, 21 March 2019
This Wiki page will help you setting up a connection between Wordpress en Qmaze. You will need to make some adjustments to both Wordpress as Qmaze.
On Qmaze
- Make sure the file wpapi.js is present in the Scripts folder, if not, you can download it here and upload it to the Qmaze environment.
- If there is need to place a "Add to cart" button on the Qmaze environment please add the following code into an outputscript, and don't forget to link it in your configuration outputscript:
<button class="q-btn-send" id="submit-form" type="button">Voeg toe aan Winkelmand</button>
<script src="Scripts/wpapi.js"></script>