Shopify themes, liquid, logos, and UX
Hi
I have added an attribute in the cart page
{% if customer %}
<p style="text-align: center;color: #de6a14;">
<input type="checkbox" id="drop_shipping" name="attributes[drop_shipping]" value="Yes" />
Drop Shipping <a title="some text here" href="javascript:void(0)" class="drop-ship-que">?</a>
</p>
{% endif %}
whenever a customer selects drop-ship the information would display in the order details page under additional details
but now it is not being displayed. I am using responsive theme. We have not customized or added an new application.
if issue other theme try new code again
https://ui-elements-generator.myshopify.com/pages/cart-attribute
Thank you for your response.
I tried the new code, but still, the attribute is not being displayed.
are check on test order
any error?
oh sorry
how can i check and guide you!
I'm just a beginner not sure if I'm doing it right.
the below code I put in cart-template. liquid
<p class="cart-attribute__field"> <input type="hidden" name="attributes[Your name]" value="No"> <input type="checkbox" name="attributes[Your name]" value="Yes"{% if cart.attributes["Your name"] == "Yes" %} checked{% endif %}> <label>Your name</label> </p>
and placed a test order hoping that the attribute will be displayed on the order details page but it's not.
yes please sent store url so i will check
Thank you we offer the drop-ship option to special customers so you won't be able to see it.
Is there any other workaround?
i need store url please
thanks but i can't see
Thank you so much for your help!
As mentioned it is only for special customers.
Hence if some other workaround would do
thanks of update sorry can't doesn't check proper
its my pleasure to help us
User | RANK |
---|---|
163 | |
141 | |
70 | |
66 | |
55 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023