Prix HT dans la liste des produits ?

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #92865

Bonjour,

Il faut déplacer le code:

				if(!empty($this->shipping)){
					?>
					<tr>
						<?php if($this->params->get('show_cart_image')) echo '<td></td>'; ?>
						<td>
						</td>
						<td>
						</td>
						<td id="hikashop_checkout_cart_shipping_title" class="hikashop_cart_shipping_title hikashop_cart_title">
							<?php echo JText::_('HIKASHOP_SHIPPING'); ?>
						</td>
						<td class="hikashop_cart_shipping_value" >
							<span class="hikashop_checkout_cart_shipping">
							<?php
								if(!isset($this->shipping->shipping_price) && isset($this->shipping->shipping_price_with_tax) ) {
									if(isset($this->value)) {
										echo $this->value;
									} else {
										$this->shipping->shipping_price = 0.0;
										$this->shipping->shipping_price_with_tax = 0.0;
									}
								}
								if(isset($this->shipping->shipping_price)) {
									if(bccomp($taxes,0,5)==0 || !$this->params->get('price_with_tax') || !isset($this->shipping->shipping_price_with_tax) ){
										echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id);
									}else{
										echo $this->currencyHelper->format(@$this->shipping->shipping_price_with_tax,$this->shipping->shipping_currency_id);
									}
								}
							?>
							</span>
						</td>
					</tr>
					<?php
				}
Sous le code:
				if(bccomp($taxes,0,5)){
					if($this->config->get('detailed_tax_display') && isset($this->full_total->prices[0]->taxes)){
						foreach($this->full_total->prices[0]->taxes as $tax){
													 ?>
								<tr>
									<?php if($this->params->get('show_cart_image')) echo '<td></td>'; ?>
									<td>
									</td>
									<td>
									</td>
									<td id="hikashop_checkout_cart_tax_title" class="hikashop_cart_tax_title hikashop_cart_title">
										<?php echo $tax->tax_namekey; ?>
									</td>
									<td class="hikashop_cart_tax_value">
										<span class="hikashop_checkout_cart_taxes">
										<?php
											echo $this->currencyHelper->format($tax->tax_amount,$this->full_total->prices[0]->price_currency_id);
										?>
										</span>
									</td>
								</tr>
						<?php
						}
					}else{

						 ?>
						<tr>
							<?php if($this->params->get('show_cart_image')) echo '<td></td>'; ?>
							<td>
							</td>
							<td>
							</td>
							<td id="hikashop_checkout_cart_tax_title" class="hikashop_cart_tax_title hikashop_cart_title">
								<?php echo JText::_('TAXES'); ?>
							</td>
							<td class="hikashop_cart_tax_value">
								<span class="hikashop_checkout_cart_taxes">
								<?php
									echo $this->currencyHelper->format($taxes,$this->full_total->prices[0]->price_currency_id);
								?>
								</span>
							</td>
						</tr>
				<?php }
				}

The following user(s) said Thank You: REMO

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum