Subtotal price is the same as final price

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #176566

Hi,

Please replace this line:

$oldTaxSetting = $this->params->set('price_with_tax');
By:
$oldTaxSetting = $this->params->get('price_with_tax');

There was a little mistake, I edited the code on the previous post too.

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

  • Posts: 203
  • Thank you received: 0
10 years 7 months ago #176609

Thx works now.

Last question about the cart

how so sway shipping price and taxes.

How to have those buttons displayes correct in line?
awesomescreenshot.com/0953po2g7a


thx

andreas

Last edit: 10 years 7 months ago by CMS-Buttler.

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

  • Posts: 101
  • Thank you received: 2
10 years 7 months ago #176627

The question in the topic, the same problem but in the email letter. 't fix
or Can the field be deleted ?

Attachments:

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

  • Posts: 203
  • Thank you received: 0
10 years 7 months ago #176631

fix would be great

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

  • Posts: 101
  • Thank you received: 2
10 years 7 months ago #176635

I figured out how to delete these two lines.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #176646

Hi,

@CMS-Buttler: To align, you have to edit the css properties, it's potentially your template which is overriding our css properties.
Then, to reverse the two lines, you have to edit the view "checkout / cart".
Here is the documentation:
hikashop.com/support/support/documentati...ize-the-display.html

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

  • Posts: 203
  • Thank you received: 0
10 years 7 months ago #177007

Thx

i know the cocumentation

but cant find the line.

thx anyway

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

  • Posts: 12953
  • Thank you received: 1778
10 years 7 months ago #177058

Hello,
We won't be able to help you more without a direct access to the page where you are having your issue.

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

  • Posts: 203
  • Thank you received: 0
10 years 7 months ago #177142

I have send a login to nicolas
yesterday

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #177917

Hi,

To align the buttons, use the following css:

.hikashop_cart_product_quantity_value input{
    width: 40px !important;
}

To change the position between shipping and taxes, move:
		if(!empty($this->shipping)) {
?>
				<tr>
					<?php echo $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->value)) {
				echo $this->value;
			} else {
				$shipping_price = null;
				foreach($this->shipping as $shipping) {
					if(!isset($shipping->shipping_price) && isset($shipping->shipping_price_with_tax) ) {
						$shipping->shipping_price = $shipping->shipping_price_with_tax;
						//$shipping->shipping_price_with_tax = 0.0;
					}
					if(isset($shipping->shipping_price)) {
						if($shipping_price === null)
							$shipping_price = 0.0;
						if(bccomp($taxes,0,5)==0 || !$this->params->get('price_with_tax') || !isset($shipping->shipping_price_with_tax)) {
							$shipping_price += $shipping->shipping_price;
						} else {
							$shipping_price += $shipping->shipping_price_with_tax;
						}
					}
				}
				if($shipping_price !== null) {
					echo $this->currencyHelper->format($shipping_price, $this->full_total->prices[0]->price_currency_id);
				}
			}
?>
						</span>
					</td>
				</tr>
<?php
		}
After:
		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 echo $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 echo $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
			}
		}

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

Time to create page: 0.112 seconds
Powered by Kunena Forum