Post
by jordischut » Mon Sep 05, 2011 10:07 pm
markman-b wrote:jordischut wrote:
Het is inderdaad 2x hetzelfde veld, dus je kan er voor kiezen om er 1 weg te halen. Dit kan bijv. (als je het veld weg wilt halen bij het verzendgedeelte) in het bestand: /catalog/view/theme/default/template/checkout/shipping.tpl.
Dan heb je daar een gedeelte wat er als volgt uitziet:
Code: Select all
<b><?php echo $text_comments; ?></b>
<textarea name="comment" rows="8" style="width: 98%;"><?php echo $comment; ?></textarea>
<br />
Als je daar van maakt:
Code: Select all
<?php /*<b><?php echo $text_comments; ?></b>
<textarea name="comment" rows="8" style="width: 98%;"><?php echo $comment; ?></textarea>
<br />*/ ?>
Staat het 'uitgezet'.
Hoi Jordi,
Dit werkt helaas niet naar behoren. De checkout procedure slaat vast bij stap 4 verzending.
Ik zou dit graag opgelost zien. Help je me nog even?
mvg
Markman-B
Ik heb het even getest, maar bij mij werkt dit wel? Het bestand ziet er in zijn volledigheid dan zo uit:
Code: Select all
<?php if ($error_warning) { ?>
<div class="warning"><?php echo $error_warning; ?></div>
<?php } ?>
<?php if ($shipping_methods) { ?>
<p><?php echo $text_shipping_method; ?></p>
<table class="form">
<?php foreach ($shipping_methods as $shipping_method) { ?>
<tr>
<td colspan="3"><b><?php echo $shipping_method['title']; ?></b></td>
</tr>
<?php if (!$shipping_method['error']) { ?>
<?php foreach ($shipping_method['quote'] as $quote) { ?>
<tr>
<td style="width: 1px;"><?php if ($quote['code'] == $code || !$code) { ?>
<?php $code = $quote['code']; ?>
<input type="radio" name="shipping_method" value="<?php echo $quote['code']; ?>" id="<?php echo $quote['code']; ?>" checked="checked" />
<?php } else { ?>
<input type="radio" name="shipping_method" value="<?php echo $quote['code']; ?>" id="<?php echo $quote['code']; ?>" />
<?php } ?></td>
<td><label for="<?php echo $quote['code']; ?>"><?php echo $quote['title']; ?></label></td>
<td style="text-align: right;"><label for="<?php echo $quote['code']; ?>"><?php echo $quote['text']; ?></label></td>
</tr>
<?php } ?>
<?php } else { ?>
<tr>
<td colspan="3"><div class="error"><?php echo $shipping_method['error']; ?></div></td>
</tr>
<?php } ?>
<?php } ?>
</table>
<?php } ?>
<?php /*<b><?php echo $text_comments; ?></b>
<textarea name="comment" rows="8" style="width: 98%;"><?php echo $comment; ?></textarea>
<br />*/ ?>
<br />
<div class="buttons">
<div class="right"><a id="button-shipping" class="button"><span><?php echo $button_continue; ?></span></a></div>
</div>
Ik kan dan gewoon door naar de volgende stap.
Officieel OpenCart partner, ontwikkelaar van Beslist, Bol.com (nieuwe API V3!), Exact, Twinfield & E-boekhouden koppelingen. Vragen? Stel ze gerust!
http://www.internetbureauschut.nl/