Why isn't my drop-shipping attribute displaying on the order details page?

Hi

I have added an attribute in the cart page

{% if customer %}

Drop Shipping ?

{% 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.

1 Like

@mel30

if issue other theme try new code again

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

1 Like

@KetanKumar

Thank you for your response.

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

1 Like

@mel30

are check on test order

1 Like

@KetanKumar Yes

1 Like

@mel30

any error?

@KetanKumar No

1 Like

@mel30

oh sorry

how can i check and guide you!

1 Like

@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.

1 Like

@mel30

yes please sent store url so i will check

1 Like

@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?

1 Like

@mel30

i need store url please

@KetanKumar https://letsallbehealthy.myshopify.com/

1 Like

@mel30

thanks but i can’t see

1 Like

@KetanKumar

Thank you so much for your help!

As mentioned it is only for special customers.

Hence if some other workaround would do

1 Like

@mel30

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

1 Like

@KetanKumar

Thank you very much for taking your time to help me :slightly_smiling_face:

1 Like

@mel30

its my pleasure to help us