Shopify themes, liquid, logos, and UX
Hi
I would like to add a small section like this, How did you hear about us and with a blank field to write in, can this be done in a code or similar? 🙂
The section should be on the on a page where the check out comes in. 🙂
Thanks in advance. 🙂
Depending on total needs this can be an advanced customization, beyond just simple CSS band-aids.
Create an input, of fieldset of inputs, that uses cart attributes and put it in a custom-liquid section, or custom-liquid block if available, on the cart template
make sure the custom inputs or containing fieldset has the form attribute```form="cart"``` to connect it to the actual cart form:
e.g.
<p class="cart-attribute__field">
<label for="referrer_message">How did you hear about us?</label>
<textarea
form="cart"
id="referrer"
name="attributes[referrer_message]"
>
{{ cart.attributes["referrer_message"] }}
</textarea>
</p>
To match a themes structure & style more consistently look for the themes contact us page code and copy the relevant parts that create a form.
Or use similar approach if you need this info to be summited like a contact form before a customer checks out.
If you need more advanced customization then contact me by my email for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Good Hunting
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025