FROM CACHE - en_header
Return management just got easier! We’ve launched Customer Self-Serve Returns to all Shopify merchants. Click here to learn more!
Some merchants and partners are experiencing problems when logging into their Shopify accounts. We will continue to provide updates to you here.

attributes

mel30
Shopify Partner
69 2 20

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&colon;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

Capture.PNG

but now it is not being displayed. I am using responsive theme. We have not customized or added an new application.

Replies 17 (17)
KetanKumar
Shopify Partner
36265 3609 11701

@mel30 

if issue other theme try new code again

https://ui-elements-generator.myshopify.com/pages/cart-attribute 

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
mel30
Shopify Partner
69 2 20

@KetanKumar 

Thank you for your response.

I tried the new code, but still, the attribute is not being displayed.

 

KetanKumar
Shopify Partner
36265 3609 11701

@mel30 

are check on test order 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
mel30
Shopify Partner
69 2 20
KetanKumar
Shopify Partner
36265 3609 11701

@mel30 

any error?

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
mel30
Shopify Partner
69 2 20
KetanKumar
Shopify Partner
36265 3609 11701

@mel30 

oh sorry 

how can i check and guide you!

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
mel30
Shopify Partner
69 2 20

@KetanKumar 

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.

KetanKumar
Shopify Partner
36265 3609 11701

@mel30 

yes please sent store url so i will check

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
mel30
Shopify Partner
69 2 20

@KetanKumar 

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?Capture.PNG 

KetanKumar
Shopify Partner
36265 3609 11701

@mel30 

i need store url please 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
KetanKumar
Shopify Partner
36265 3609 11701

@mel30 

thanks but i can't see 

KetanKumar_0-1634455642836.png

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
mel30
Shopify Partner
69 2 20

@KetanKumar 

Thank you so much for your help!

As mentioned it is only for special customers.

Hence if some other workaround would do

 

KetanKumar
Shopify Partner
36265 3609 11701

@mel30 

thanks of update sorry can't doesn't check proper 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
mel30
Shopify Partner
69 2 20

@KetanKumar 

 

Thank you very much for taking your time to help me 🙂

KetanKumar
Shopify Partner
36265 3609 11701

@mel30 

its my pleasure to help us 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing