Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>you will need to add some code to your template files... </p> <p>Open catalog/view/theme/*/template/checkout/register.tpl and find the following:</p> <pre><code>&lt;input type="text" name="email" value="" class="large-field" /&gt; </code></pre> <p>and then after it add:</p> <pre><code> &lt;br /&gt; &lt;br /&gt; &lt;span class="required"&gt;*&lt;/span&gt; &lt;?php echo $entry_ncid; ?&gt;&lt;br /&gt; &lt;input type="text" name="ncid" value="" class="large-field" /&gt; </code></pre> <p>and then open catalog/view/theme/*/template/checkout/checkout.tpl and find the following:</p> <pre><code>if (json['error']['email']) { </code></pre> <p>You will find that there are three occurrences... two are for payment details and one is for shipping details (the line below "if (json['error']['email']) {" shows if it is a shipping address or a payment address), depending on your configuration will depend on whether you do all three... </p> <p>and before it add:</p> <pre><code>if (json['error']['ncid']) { $('#payment-address input[name=\'ncid\'] + br').after('&lt;span class="error"&gt;' + json['error']['ncid'] + '&lt;/span&gt;'); } </code></pre> <p>You will then need to do the same thing to the register template file... </p> <p>Open catalog/view/theme/*/template/account/register.tpl find the following:</p> <pre><code>&lt;td&gt;&lt;input type="text" name="email" value="&lt;?php echo $email; ?&gt;" /&gt; </code></pre> <p>and then after it add (offset it by 4):</p> <pre><code> &lt;tr&gt; &lt;td&gt;&lt;span class="required"&gt;*&lt;/span&gt; &lt;?php echo $entry_ncid; ?&gt;&lt;/td&gt; &lt;td&gt;&lt;input type="text" name="ncid" value="&lt;?php echo $ncid; ?&gt;" /&gt; &lt;?php if ($error_ncid) { ?&gt; &lt;span class="error"&gt;&lt;?php echo $error_ncid; ?&gt;&lt;/span&gt; &lt;?php } ?&gt;&lt;/td&gt; &lt;/tr&gt; </code></pre> <p>Please vote my answer up if it helped...</p> <p>That should solve it... let me know if you have any problems... </p> <p>many thanks Jeremy</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload