开发者 | printreach |
---|---|
更新时间 | 2023年5月31日 21:27 |
PHP版本: | 5.0 及以上 |
WordPress版本: | 6.2.0 |
版权: | GPL3 |
版权网址: | 版权信息 |
To configure your plugin you need your MyOrderDesk Provider ID, site Hosted address, and your Wordpress configured landing page. To find your Provider ID, log into your MyOrderDesk website with an administrator account. Open the administration menu by clicking the three horizontal lines in the top left corner of the screen. You will see a dropdown menu that says "[#####] Your Company Name" The numbers inside of the square brackets will be your Provider ID. Your Hosted Address can be found from the administration menu by visiting Site Settings > Home Page & Domains. Your Landing Page is the Wordpress page that contains a shortcode for MyOrderDesk that handles incoming link requests. Typically this will be /w2p. This page should not be nested (/not/like/this). Once you successfully enter your information, the page layout should change and you should see a list of shortcodes that can be used to display specific pages based on that Provider ID.
The final step of setup is putting the shortcode onto the respective pages that you want your site to appear on. To do this, all you need to do is copy the [mod-xxxxxx] text, and paste it into the page that you want it to display on. The plugin will handle everything else for you, and it\'s that simple! For more complex scenarios, where you want to embed specific order forms, catalgos, or use a branded site, you can implement that by changing the modifier designated to it. [mod-orderform form="###"] is used to link specific order forms [mod-catalog catalog="###"] is used to link specific catalogs site="###" can be added to any shortcodes as well, to change what site is being displayed, rather than the master set in settings. This lets you link branded websites. For the [mod-order] page, in some cases you may want to force the user to log in before they can view the page. For this, you can add "force" to the shortcode, like so: [mod-order force]