When a customer places an order on your site, he/she will see a default thank you page.
If you'd like to display a customized thank you page, you can do so with just a few clicks:
- In your CoreCommerce admin area, click on in the top right and click on Checkout Settings.
- When the page loads, make sure the Checkout tab is selected and scroll down until you see the "When an order is complete, take the customer to" setting under "Option(s)."
- By default, the "Default Template" option is selected in the drop down.
- Note: If you ever want to go back to using the default thank you page, you simply have to come back to this screen, select that option and save.
- To make the store use a custom thank you page, change the "When an order is complete, take the customer to" drop down to "A custom URL."
- Once you do that, a couple things will appear on the screen. You'll see a "URL" input field. Specify the full URL to the custom thank you page you want to use.
- You will also see a checkbox titled "Use the custom URL only if certain products are in the order". If you leave this setting turned off, your custom URL will be used for every order placed in your store. If you turn it on, however, the default template will be used unless the order contains at least one specially marked product. With the setting on, only orders with these special products will use your custom thank you page.
- If you turn the "Use the custom URL only if certain products are in the order" setting on, you will most likely want to mark some products as special so orders containing them will use your custom thank you page.
- Go edit the product you want to mark as special, go to the Advanced section at the top, make sure the Advanced Options tab is selected and you will see a "This product requires the custom thank you page" checkbox.
- Turn that slider on and your product will force orders containing it to use your custom thank you page (assuming the rest of the options we discussed above are still configured correctly) after you save it [the product].
- Once you flip that switch to the on position, you'll see an additional text field titled "Custom Thank you Page ID" appear on the screen. This is an advanced feature and typically isn't used by most stores. This field is optional and whatever value you specify in it will be passed as a GET parameter (a value in the URL) to your thank you page. The GET will only include values for products that have something specified in this input field. For example, if your custom thank you page URL is https://www19.corecommerce.com/~samplestore123/thank_you.html and a customer orders 3 products one of which has a "Custom Thank you Page ID" of "nkia_e63_rd", another one has a "Custom Thank you Page ID" of "sny_ercssn" and the last one has a blank "Custom Thank you Page ID", he will be sent t0 https://www19.corecommerce.com/~samplestore123/thank_you.html?ID1=nkia_e63_rd&ID2=sny_ercssn
- Note: Even though the order had three products, there are only two pieces of information in the URL. Keep in mind that the "Custom Thank you Page ID" will be passed to the thank you page ONLY if the "Use the custom URL only if certain products are in the order" setting is turned on in checkout settings. This is typically used when a store has custom programming features needed for this ID to be passed.