Quantcast
Channel: Opinion: Shopify Community - Shopify & Ecommerce Jobs
Viewing all articles
Browse latest Browse all 7259

Gail Girard commented on Cart Attributes and help needed to pull info to the printable order form

$
0
0

I'm sure it is easy if I knew what to do:

here are the attributes in the cart


<p> <label>Child's Name</label>
  <input id="childs-name" type="text" name="attributes[childs-name]" value="{{ cart.attributes.childs-name }}" />
</p>

<p>      <p class="field">
  <label>Teacher's Name</label>
  <input id="teachers-name" type="text" name="attributes[teachers-name]" value="{{ cart.attributes.teachers-name }}" />

</p>

<p>
<p class="field">
  <label>Delivery Instructions</label>
  <input type="radio" name="attributes[delivery-instructions]" value="Deliver to the school (orders received by 12/1)"{% if cart.attributes.delivery-instructions == "Deliver to the school (orders received by 12/1)" %} checked{% endif %} /> <span>Deliver to the school (orders received by 12/1)</span><br />
  <input type="radio" name="attributes[delivery-instructions]" value="Pick up at Big Frog (1141 Brook Forest Ave.)"{% if cart.attributes.delivery-instructions == "Pick up at Big Frog (1141 Brook Forest Ave.)" %} checked{% endif %} /> <span>Pick up at Big Frog (1141 Brook Forest Ave.)</span><br />
</p>

What I have set up in the email notification is (really don't know how to do the delivery instructions

Child's Name {{childs-name}}
Teacher's Name {{teachers-name}}
Delivery Instructions {{note}}

Really appreciate your help


Viewing all articles
Browse latest Browse all 7259

Trending Articles