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/post/625914) 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