FROM CACHE - en_header

Add Gift message in cart

Solved
Hg_thomas
Shopify Partner
47 2 0

Hi, 

I want to add the possibility to customers to add a message to the order for example if is a gift.

So I add the note option include with the theme, but I want to display the text-area when the customer checked the checked box 

Could you help me ?

Here is the code of the checkbox and textarea : 

Capture d’écran 2021-04-27 à 18.05.37.png

{%- if section.settings.cart_notes_enable -%}
<div class="grid__item medium-up--one-half cart-note">
<input for="CartSpecialInstructions" type="checkbox">{{ 'cart.general.note' | t }}
<textarea name="note" id="CartSpecialInstructions" class="cart-note__input" data-cart-notes>{{ cart.note }}</textarea>
</div>
{%- endif -%}

ThomasHg
Développeur
Accepted Solution (1)

Accepted Solutions
Hg_thomas
Shopify Partner
47 2 0

This is an accepted solution.

sure the URL is : https://boutiquedealertest.myshopify.com/

and the password for access is "test"

ThomasHg
Développeur

View solution in original post

Replies 3 (3)
UmairA
Shopify Partner
1082 98 217

Hey there @Hg_thomas,

Can you please include the URL of your store? I'll take a look for you before I can offer any solution/guidance. Thanks

Hire me for: Shopify Development | Conversion Rate Optimization | Custom Coding
umairabbascs@gmail.com || WhatsApp || LinkedIn
Want to 2X your store's sales with a highly converting design & stunning user experience? Contact me for FREE consultation and store audit!
Hg_thomas
Shopify Partner
47 2 0

This is an accepted solution.

sure the URL is : https://boutiquedealertest.myshopify.com/

and the password for access is "test"

ThomasHg
Développeur
Calistalow
New Member
3 0 0

Hello, I would like to add gift message at the product page instead of cart out page. can someone help with the coding> thanks!!!