Hello, I am trying to create an online Do it yourself site, will add products on the website, but before checkout, the client needs to complete 10-12 textbooks with different information, is there any way to add another page before checkout with texts, drop downs, so the client can choose some types for their products before going to check out.
Thank you
Hi @PCCPitesti ,
I am from Mageplaza - Shopify solution expert.
To create a custom page before checkout, note that Shopify’s checkout process is restricted for most plans, so you’ll need to implement a workaround. Here are some suggestions to help you achieve this:
Approach 1: Use a Custom Page Before Checkout1. Create a Custom Page in Shopify
- Go to your Shopify admin.
- Navigate to Online Store > Pages > Add Page.
- Create a page with a form for the customizable fields (e.g., text boxes, dropdowns, checkboxes).
-
Add Inputs for Customization
- Use the HTML form to collect customer input. For example:
document.querySelector('.add-to-cart').addEventListener('click', function(e) {
e.preventDefault();
window.location.href = '/pages/customization';
});
Approach 2: Use the Cart Page for Customization1. Customize the Cart Page
- Add inputs (like text boxes, dropdowns) directly to the cart page.
- Edit your cart template file (e.g., cart.liquid) in your theme to include customization options.
-
Validate Before Checkout
- Use JavaScript to ensure all fields are filled before proceeding to checkout.
- Example:
document.querySelector('.checkout-button').addEventListener('click', function(e) {
const customText = document.querySelector('#custom_text').value;
if (!customText) {
e.preventDefault();
alert('Please fill out all required fields.');
}
});
Approach 3: Use a Shopify App
If you prefer not to code, you can use apps to add a customizable page:
- Infinite Options
- Customify
- Bold Product Options
These apps allow you to create advanced customization options with minimal effort.
There are several approaches to meet your requirements; choose the one that works best for your store. I hope this helps! Feel free to leave a comment if you need further assistance.