Skip to main content

Subtotal price is the same as final price

More
12 years 4 days ago #176566 by Xavier
Hi,

Please replace this line:
Code:
$oldTaxSetting = $this->params->set('price_with_tax');
By:
Code:
$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.

More
12 years 4 days ago - 12 years 4 days ago #176609 by CMS-Buttler
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: 12 years 4 days ago by CMS-Buttler.

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

More
12 years 4 days ago #176627 by permsk
The question in the topic, the same problem but in the email letter. 't fix
or Can the field be deleted ?

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

More
12 years 4 days ago #176631 by CMS-Buttler
fix would be great

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

More
12 years 4 days ago #176635 by permsk
I figured out how to delete these two lines.

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

More
12 years 3 days ago #176646 by Xavier
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.

More
12 years 11 hours ago #177007 by CMS-Buttler
Thx

i know the cocumentation

but cant find the line.

thx anyway

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

More
11 years 11 months ago #177058 by Mohamed Thelji
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.

More
11 years 11 months ago #177142 by CMS-Buttler
I have send a login to nicolas
yesterday

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

More
11 years 11 months ago #177917 by Xavier
Hi,

To align the buttons, use the following css:
Code:
.hikashop_cart_product_quantity_value input{ width: 40px !important; }

To change the position between shipping and taxes, move:
Code:
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:
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 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.502 seconds
Powered by Kunena Forum