Solved

Pre-order tutorial not working. Help!

mytoywagon
Tourist
6 0 1

 Hi, 

I'm new to Shopify with little coding background. I tried to follow this basic tutorial to add a pre-order option (https://community.shopify.com/c/Shopify-Design/Product-pages-Allow-pre-orders-for-products/m-p/62591...) but the prompts did not work. Specifically, I could not find this code in any file: 

addToCart: {{ 'products.product.add_to_cart' | t | json }},

 much less be able to replace it.

I'm using the theme District, so I don't know if this code is theme-specific or just doesn't work for me.

My "product.pre-order.liquid" file contains this code: 

{% comment %}
The contents of the product.liquid template can be found in /sections/product-template.liquid
{% endcomment %}

{% section 'product-pre-order-template' %}
{% section 'product-recommendations' %}

Can someone help me troubleshoot this issue? I'd rather not use an app for pre-ordering. Thank you for your time. 

Irfana

Accepted Solution (1)

SNJ_Designs
Shopify Partner
3 1 2

This is an accepted solution.

Hello,

I'm not familiar with this theme, but it appears that you may already have a template for pre-orders. 
https://help.stylehatch.com/article/270-district-changelog

View solution in original post

Replies 2 (2)

SNJ_Designs
Shopify Partner
3 1 2

This is an accepted solution.

Hello,

I'm not familiar with this theme, but it appears that you may already have a template for pre-orders. 
https://help.stylehatch.com/article/270-district-changelog

made4Uo
Shopify Partner
3805 713 1129

Hi, 

You can add a pre-order button without an app or external library. It works with multiple variants too. Check the video for more information. 

made4Uo_0-1650422705226.gif

 

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!