Adding delivery timings when checking out

Hi,

I want to have the feature of adding different delivery timings for the customer to choose from when they check out. For example:

  • Delivery from 9AM to 2PM
  • Delivery from 2PM to 6PM
  • Delivery from 6PM to 10PM
  • I dont mind any of the above

How can I achieve this?

Hello @3loow16 ,

Use this https://ui-elements-generator.myshopify.com/pages/cart-attribute to generate a select dropdown with the option you have.
Once you do it then use generated code in cart template and make it required with JS so customer cannot checkout without making a selection.

Thanks

@3loow16
Add By using this app

I hope this will be helpful
Thank you.

So I did what you said and ended up with this:

What time would you like it delivered?

The problem im facing is that it automatically chooses “9AM - 2PM” and therefore bypasses the required element. I would like to have it empty at first and then the customer can choose from the dropdown, and if they dont choose anything then they cant click “submit” without having done so.