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 [email protected] 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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024