All things Shopify and commerce
I have created a custom mandatory field in my cart page using the below code.
<tr>
<td colspan="5">
<label>Instagram name</label>
<input type="text" name="properties[cart name]" class="form-control" required="">
</td>
</tr>
What I am now looking todo is once a customers has completed their order, I want this value to appear against the order and appear under the orders tab in Shopify. Is this possible?
Hi @dressedbyaa ,
You can use below code that will help you to display custom field value into the order flow and you can see it in respective order details under Shopify admin.
<tr>
<td class="cart-attribute__field">
<label for="instagram-name">Instagram name</label>
<input required class="required" id="instagram-name" type="text" name="attributes[cart name]" class="form-control" value="{{ cart.attributes["Instagram name"] }}">
</td>
</tr>
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024