How to add an order form to your Shopify store

Do you want to create an order form on your Shopify store? You will list products that belong to a collection inside a table, one product per row with a quantity box. Your customers can add to the cart all products in that table that don’t have their quantity box set to zero with one click on a single button.

DEMO

Adding an order form to your website lets you collect orders and helps to increase your sales.

In this article, we’ll show you how to create a simple order form in Shopify.

You can add your order form to a regular page, such as /pages/order-form, or to a collection page, such as /collections/wholesale.

Add an order form to a regular page

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit, and then click Actions > Edit code.
  3. On the left side, under Templates, click Add a new template. Create a new template for ‘page‘ called ‘order-form‘:
  4. Replace the content of your new page.order-form.liquid template with the bellow content
  5. Choose which collection to use in your order form. Once you have decided which collection to use, take note of its handle, and at the very top of your template, add this line of code:

    Replace the your-collection-handle-here bit with your collection handle.

    Then save.

  6. Create a new page under Pages.
  7. After you created your page, scroll all the way down to the Template section, and select “page.order-form” in the drop-down. Then save your page.

  8. You are done. Go to your page on your store’s front to test things out.

Add an order form to a collection page

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit, and then click Actions > Edit code.
  3. On the left side, under Templates, click Add a new template. Create a new template for ‘collection‘ called ‘order-form‘:
  4. Replace the content of your new collection.order-form.liquid template with the bellow content
  5. Choose which collection to use in your order form.
  6. Once you have decided which collection to use, browse to that collection in your store’s admin, then scroll all the way down to the Template section, and select “collection.order-form” in the drop-down. Save your collection.
  7. You are done. Go to your collection page on your store’s front to test things out.

DEMO

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *