[Skip to main content](#vessel-content)

#   Sorting of sumary in cart

##

- **[Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile")**
- [![Šev?ík's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13844-sev-ik "View Šev?ík's Profile") Topic Author
- [ Offline](/forum/user/13844-sev-ik)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 11 months ago -  10 years 11 months ago [\#221683](#221683) by [Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile")  *[Sorting of sumary in cart](/forum/27-checkout/880653-sorting-of-sumary-in-cart#221683 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Firefox 42.0  Hello, I can´t find an answer for sumary sorting in forum so please help me with that. All I explained on the attached picture.  Thank you.")* was created by *[Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 2.5.28
-- Browser(s) name and version -- : Firefox 42.0

Hello,
I can´t find an answer for sumary sorting in forum so please help me with that. All I explained on the attached picture.

Thank you.

- [ ![tax.jpg](/forum/attachment/27913) ](/forum/attachment/27913 "tax.jpg") [ ](/forum/attachment/27913?download=1 "tax.jpg")

Last edit: 10 years 11 months ago by [Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY1My1zb3J0aW5nLW9mLXN1bWFyeS1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

10 years 11 months ago [\#221700](#221700) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sorting of sumary in cart](/forum/27-checkout/880653-sorting-of-sumary-in-cart#221700 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Firefox 42.0  Hello, I can´t find an answer for sumary sorting in forum so please help me with that. All I explained on the attached picture.  Thank you.")*

Hi,

If you don't want to have several lines of taxes, you can turn off the "detailed tax display" setting of the HikaShop configuration.
I didn't understand your remark regarding the shipping price and the total.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY1My1zb3J0aW5nLW9mLXN1bWFyeS1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile")**
- [![Šev?ík's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13844-sev-ik "View Šev?ík's Profile") Topic Author
- [ Offline](/forum/user/13844-sev-ik)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 11 months ago [\#221722](#221722) by [Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile")  Replied by *[Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile")* on topic *[Sorting of sumary in cart](/forum/27-checkout/880653-sorting-of-sumary-in-cart#221722 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Firefox 42.0  Hello, I can´t find an answer for sumary sorting in forum so please help me with that. All I explained on the attached picture.  Thank you.")*

Hi,
I ment that there is sorting:
Price for products
Shipping and delivery
DPH 15%
DPH 21%
Payment
Total cost

but I want sorting like:
Price for products
Shipping and delivery
Payment
DPH 15%
DPH 21%
Total cost

Interesting is that in email which receive the customer is this order right. How can I set in checkout cart?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY1My1zb3J0aW5nLW9mLXN1bWFyeS1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 11 months ago [\#221753](#221753) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Sorting of sumary in cart](/forum/27-checkout/880653-sorting-of-sumary-in-cart#221753 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Firefox 42.0  Hello, I can´t find an answer for sumary sorting in forum so please help me with that. All I explained on the attached picture.  Thank you.")*

Hi,

You can edit the view "checkout / cart" and change the order of the elements.
[ www.hikashop.com/support/documentation/s...ize-the-display.html](http://www.hikashop.com/support/documentation/support/documentation/153-customize-the-display.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY1My1zb3J0aW5nLW9mLXN1bWFyeS1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile")**
- [![Šev?ík's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13844-sev-ik "View Šev?ík's Profile") Topic Author
- [ Offline](/forum/user/13844-sev-ik)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 11 months ago [\#221849](#221849) by [Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile")  Replied by *[Šev?ík](/forum/user/13844-sev-ik "View Šev?ík's Profile")* on topic *[Sorting of sumary in cart](/forum/27-checkout/880653-sorting-of-sumary-in-cart#221849 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Firefox 42.0  Hello, I can´t find an answer for sumary sorting in forum so please help me with that. All I explained on the attached picture.  Thank you.")*

Ok. But can you tell me why is the order like I want right in the email order to customer and on the website in checkout no? It seems to me a little bit strange.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY1My1zb3J0aW5nLW9mLXN1bWFyeS1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 11 months ago [\#221891](#221891) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Sorting of sumary in cart](/forum/27-checkout/880653-sorting-of-sumary-in-cart#221891 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Firefox 42.0  Hello, I can´t find an answer for sumary sorting in forum so please help me with that. All I explained on the attached picture.  Thank you.")*

Hi,

Please use this content for the view "checkout / cart": Code:

&lt;?php $this-&gt;setLayout('listing_price'); $this-&gt;params-&gt;set('show_quantity_field', 0); $comp_description = $this-&gt;params-&gt;get('comp_description'); if(empty($comp_description)){ $this-&gt;params-&gt;set('comp_description',JText::_('CART_EMPTY')); } if($this-&gt;paymentType == 'no'){ $this-&gt;nextButton = false; } $app = JFactory::getApplication(); ?&gt; &lt;div id="hikashop_checkout_cart" class="hikashop_checkout_cart"&gt; &lt;?php if(empty($this-&gt;rows)) { echo $this-&gt;params-&gt;get('comp_description'); } else { if($this-&gt;config-&gt;get('print_cart',0)&amp;&amp;JRequest::getVar('tmpl','')!='component'){ ?&gt; &lt;div class="hikashop_checkout_cart_print_link"&gt; &lt;a title="&lt;?php echo JText::_('HIKA_PRINT');?&gt;" class="modal" rel="{handler: 'iframe', size: {x: 760, y: 480}}" href="&lt;?php echo hikashop_completeLink('checkout&amp;task=printcart',true); ?&gt;"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES; ?&gt;print.png" alt="&lt;?php echo JText::_('HIKA_PRINT');?&gt;"/&gt; &lt;/a&gt; &lt;/div&gt; &lt;?php } foreach($this-&gt;rows as $i =&gt; $row) { if(empty($row-&gt;cart_product_quantity)) continue; if(!empty($row-&gt;product_min_per_order)) { if($row-&gt;product_min_per_order&gt;$row-&gt;cart_product_quantity) { $this-&gt;nextButton = false; $app-&gt;enqueueMessage(JText::sprintf('YOU_NEED_TO_ORDER_AT_LEAST_X_X',$row-&gt;product_min_per_order,$row-&gt;product_name)); } } } $row_count = 4; ?&gt; &lt;br/&gt; &lt;table class="table table-striped table-hover" width="100%"&gt; &lt;thead&gt; &lt;tr&gt; &lt;?php if($this-&gt;params-&gt;get('show_cart_image')){ $row_count++;?&gt; &lt;th id="hikashop_cart_product_image_title" class="hikashop_cart_product_image_title hikashop_cart_title"&gt; &lt;?php echo JText::_('CART_PRODUCT_IMAGE'); ?&gt; &lt;/th&gt; &lt;?php } ?&gt; &lt;th id="hikashop_cart_product_name_title" class="hikashop_cart_product_name_title hikashop_cart_title"&gt; &lt;?php echo JText::_('CART_PRODUCT_NAME'); ?&gt; &lt;/th&gt; &lt;th id="hikashop_cart_product_price_title" class="hikashop_cart_product_price_title hikashop_cart_title"&gt; &lt;?php echo JText::_('CART_PRODUCT_UNIT_PRICE'); ?&gt; &lt;/th&gt; &lt;th id="hikashop_cart_product_quantity_title" class="hikashop_cart_product_quantity_title hikashop_cart_title"&gt; &lt;?php echo JText::_('PRODUCT_QUANTITY'); ?&gt; &lt;/th&gt; &lt;th id="hikashop_cart_product_total_title" class="hikashop_cart_product_total_title hikashop_cart_title"&gt; &lt;?php echo JText::_('CART_PRODUCT_TOTAL_PRICE'); ?&gt; &lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;?php $k = 0; $group = $this-&gt;config-&gt;get('group_options',0); $defaultParams = $this-&gt;config-&gt;get('default_params'); $productClass = hikashop_get('class.product'); $quantityDisplayType = hikashop_get('type.quantitydisplay'); foreach($this-&gt;rows as $i =&gt; $row){ if(empty($row-&gt;cart_product_quantity)) continue; if($group &amp;&amp; $row-&gt;cart_product_option_parent_id) continue; $productClass-&gt;addAlias($row); ?&gt; &lt;tr class="row&lt;?php echo $k; ?&gt;"&gt; &lt;?php if($this-&gt;params-&gt;get('show_cart_image')){ ?&gt; &lt;td data-title="&lt;?php echo JText::_('CART_PRODUCT_IMAGE'); ?&gt;" class="hikashop_cart_product_image_value"&gt; &lt;?php $width = $this-&gt;config-&gt;get('thumbnail_x'); $height = $this-&gt;config-&gt;get('thumbnail_y'); if(!empty($row-&gt;images)){ $image = reset($row-&gt;images); $this-&gt;image-&gt;checkSize($width,$height,$image); }else{ $image = null; } if($image &amp;&amp; !$this-&gt;config-&gt;get('thumbnail')){ echo '&lt;img src="'.$this-&gt;image-&gt;uploadFolder_url.$image-&gt;file_path.'" alt="'.$image-&gt;file_name.'" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;'; }else{ ?&gt; &lt;div class="hikashop_cart_product_image_thumb" &gt; &lt;?php $image_options = array('default' =&gt; true,'forcesize'=&gt;$this-&gt;config-&gt;get('image_force_size',true),'scale'=&gt;$this-&gt;config-&gt;get('image_scale_mode','inside')); $img = $this-&gt;image-&gt;getThumbnail(@$image-&gt;file_path, array('width' =&gt; $width, 'height' =&gt; $height), $image_options); if($img-&gt;success) { echo '&lt;img class="hikashop_product_checkout_cart_image" title="'.$this-&gt;escape(@$image-&gt;file_description).'" alt="'.$this-&gt;escape(@$image-&gt;file_name).'" src="'.$img-&gt;url.'"/&gt;'; } ?&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;/td&gt; &lt;?php } ?&gt; &lt;td data-title="&lt;?php echo JText::_('CART_PRODUCT_NAME'); ?&gt;" class="hikashop_cart_product_name_value"&gt; &lt;p class="hikashop_cart_product_name"&gt; &lt;?php global $Itemid; $checkout_itemid = $this-&gt;config-&gt;get('checkout_itemid'); if(!empty($checkout_itemid )){ $Itemid = $checkout_itemid ; } $url_itemid=''; if(!empty($Itemid)){ $url_itemid='&amp;Itemid='.$Itemid; } ?&gt; &lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt;&lt;a class="hikashop_no_print" href="&lt;?php echo hikashop_contentLink('product&amp;task=show&amp;cid='.$row-&gt;product_id.'&amp;name='.$row-&gt;alias.$url_itemid,$row);?&gt;" &gt;&lt;?php } ?&gt; &lt;?php echo $row-&gt;product_name; ?&gt; &lt;?php if ($this-&gt;config-&gt;get('show_code')) { ?&gt; &lt;span class="hikashop_product_code_checkout"&gt;&lt;?php echo $row-&gt;product_code; ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt;&lt;/a&gt;&lt;?php } ?&gt; &lt;?php if($group){ $display_item_price=false; foreach($this-&gt;rows as $j =&gt; $optionElement){ if($optionElement-&gt;cart_product_option_parent_id != $row-&gt;cart_product_id) continue; if(!empty($optionElement-&gt;prices[0])){ $display_item_price = true; } } if($display_item_price){ $this-&gt;row=&amp;$row; $this-&gt;unit=true; echo ' &lt;span class="hikashop_product_base_price"&gt;'.strip_tags($this-&gt;loadTemplate()).'&lt;/span&gt;'; } } ?&gt; &lt;/p&gt; &lt;?php ob_start(); if(hikashop_level(2) &amp;&amp; !empty($this-&gt;extraFields['item'])){ foreach($this-&gt;extraFields['item'] as $field){ $namekey = $field-&gt;field_namekey; if(empty($row-&gt;$namekey) &#124;&#124; !strlen($row-&gt;$namekey)) continue; echo '&lt;p class="hikashop_cart_item_'.$namekey.'"&gt;'.$this-&gt;fieldsClass-&gt;getFieldName($field).': '.$this-&gt;fieldsClass-&gt;show($field,$row-&gt;$namekey).'&lt;/p&gt;'; } } $input=''; if($group){ foreach($this-&gt;rows as $j =&gt; $optionElement){ if($optionElement-&gt;cart_product_option_parent_id != $row-&gt;cart_product_id) continue; if(!empty($optionElement-&gt;prices[0])){ if(!isset($row-&gt;prices[0])){ $row-&gt;prices[0] = new stdClass(); $row-&gt;prices[0]-&gt;price_value=0; $row-&gt;prices[0]-&gt;price_value_with_tax=0; $row-&gt;prices[0]-&gt;price_currency_id = hikashop_getCurrency(); } foreach(get_object_vars($row-&gt;prices[0]) as $key =&gt; $value){ if(is_object($value)){ foreach(get_object_vars($value) as $key2 =&gt; $var2){ if(strpos($key2,'price_value')!==false) $row-&gt;prices[0]-&gt;$key-&gt;$key2 +=@$optionElement-&gt;prices[0]-&gt;$key-&gt;$key2; } }else{ if(strpos($key,'price_value')!==false) $row-&gt;prices[0]-&gt;$key+=@$optionElement-&gt;prices[0]-&gt;$key; } } } if(empty($optionElement-&gt;variant_name)){ if(empty($optionElement-&gt;characteristics_text)){ $text = $optionElement-&gt;product_name; }else{ $text = $optionElement-&gt;characteristics_text; } }else{ $text = $optionElement-&gt;variant_name; } echo '&lt;p class="hikashop_cart_option_name"&gt;'.$text; if(@$optionElement-&gt;prices[0]-&gt;price_value_with_tax&gt;0){ echo ' ( + '; $this-&gt;row=&amp;$optionElement; $this-&gt;unit=true; echo strip_tags($this-&gt;loadTemplate()).' )'; } echo '&lt;/p&gt;'; $input .='document.getElementById(\'product_option_'.$optionElement-&gt;cart_product_id.'\').value=qty_field.value;'; if(empty($this-&gt;disable_modifications)) echo '&lt;input type="hidden" id="product_option_'.$optionElement-&gt;cart_product_id.'" name="item['.$optionElement-&gt;cart_product_id.']" value="'.$row-&gt;cart_product_quantity.'"/&gt;'; } } $html = ob_get_clean(); if(!empty($html)){ echo '&lt;div class="hikashop_cart_product_custom_item_fields"&gt;'.$html.'&lt;/div&gt;'; } ?&gt; &lt;/td&gt; &lt;td data-title="&lt;?php echo JText::_('CART_PRODUCT_UNIT_PRICE'); ?&gt;" class="hikashop_cart_product_price_value"&gt; &lt;?php $this-&gt;row =&amp; $row; $this-&gt;unit = true; echo $this-&gt;loadTemplate(); ?&gt; &lt;?php if(HIKASHOP_RESPONSIVE){ ?&gt;&lt;span class="visible-phone"&gt;&lt;?php echo JText::_('PER_UNIT'); ?&gt;&lt;/span&gt;&lt;?php } ?&gt; &lt;/td&gt; &lt;td data-title="&lt;?php echo JText::_('PRODUCT_QUANTITY'); ?&gt;" class="hikashop_cart_product_quantity_value"&gt; &lt;?php if(empty($this-&gt;disable_modifications)){ if($row-&gt;product_parent_id != 0 &amp;&amp; isset($row-&gt;main_product_quantity_layout)){ $row-&gt;product_quantity_layout = $row-&gt;main_product_quantity_layout; } if($row-&gt;product_quantity_layout == 'show_select' &#124;&#124; (empty($row-&gt;product_quantity_layout) &amp;&amp; $this-&gt;config-&gt;get('product_quantity_display', '') == 'show_select')){ $min_quantity = $this-&gt;row-&gt;product_min_per_order; $max_quantity = $this-&gt;row-&gt;product_max_per_order; if($min_quantity == 0) $min_quantity = 1; if($max_quantity == 0) $max_quantity = (int)$min_quantity * 15; $values = array(); if($this-&gt;params-&gt;get('show_delete',1)){ $values[] = JHTML::_('select.option', 0, '0'); } for($j = $min_quantity; $j &lt;= $max_quantity; $j += $min_quantity){ $values[] = JHTML::_('select.option', $j, $j); } echo JHTML::_('select.genericlist', $values, 'item['.$row-&gt;cart_product_id.']', '', 'value', 'text', $row-&gt;cart_product_quantity,'hikashop_checkout_quantity_'.$row-&gt;cart_product_id); }else{ ?&gt; &lt;input id="hikashop_checkout_quantity_&lt;?php echo $row-&gt;cart_product_id;?&gt;" type="text" name="item[&lt;?php echo $row-&gt;cart_product_id;?&gt;]" class="hikashop_product_quantity_field" value="&lt;?php echo $row-&gt;cart_product_quantity; ?&gt;" onchange="var qty_field = document.getElementById('hikashop_checkout_quantity_&lt;?php echo $row-&gt;cart_product_id;?&gt;'); if (qty_field){&lt;?php echo $input; ?&gt;}; return true;" /&gt; &lt;?php } ?&gt; &lt;div class="hikashop_cart_product_quantity_refresh"&gt; &lt;a class="hikashop_no_print" href="#" onclick="var qty_field = document.getElementById('hikashop_checkout_quantity_&lt;?php echo $row-&gt;cart_product_id;?&gt;'); if (qty_field &amp;&amp; qty_field.value != '&lt;?php echo $row-&gt;cart_product_quantity; ?&gt;'){&lt;?php echo $input; ?&gt; qty_field.form.submit(); } return false;" title="&lt;?php echo JText::_('HIKA_REFRESH'); ?&gt;"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES . 'refresh.png';?&gt;" border="0" alt="&lt;?php echo JText::_('HIKA_REFRESH'); ?&gt;" /&gt; &lt;/a&gt; &lt;/div&gt; &lt;?php if($this-&gt;params-&gt;get('show_delete',1)){ ?&gt; &lt;div class="hikashop_cart_product_quantity_delete"&gt; &lt;a class="hikashop_no_print" href="&lt;?php echo hikashop_completeLink('product&amp;task=updatecart&amp;product_id='.$row-&gt;product_id.'&amp;quantity=0&amp;return_url='.urlencode(base64_encode(urldecode($this-&gt;params-&gt;get('url'))))); ?&gt;" onclick="var qty_field = document.getElementById('hikashop_checkout_quantity_&lt;?php echo $row-&gt;cart_product_id;?&gt;'); if(qty_field){qty_field.value=0; &lt;?php echo $input; ?&gt; qty_field.form.submit();} return false;" title="&lt;?php echo JText::_('HIKA_DELETE'); ?&gt;"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES . 'delete2.png';?&gt;" border="0" alt="&lt;?php echo JText::_('HIKA_DELETE'); ?&gt;" /&gt; &lt;/a&gt; &lt;/div&gt; &lt;?php } }else{ echo $row-&gt;cart_product_quantity; } ?&gt; &lt;/td&gt; &lt;td data-title="&lt;?php echo JText::_('CART_PRODUCT_TOTAL_PRICE'); ?&gt;" class="hikashop_cart_product_total_value"&gt; &lt;?php $this-&gt;row=&amp;$row; $this-&gt;unit=false; echo $this-&gt;loadTemplate(); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php $k = 1-$k; } ?&gt; &lt;?php if($this-&gt;params-&gt;get('show_cart_image')) $td = '&lt;td colspan="3" class="hikashop_cart_empty_footer"&gt;&lt;/td&gt;'; else $td = '&lt;td colspan="2" class="hikashop_cart_empty_footer"&gt;&lt;/td&gt;'; $taxes = round($this-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax-$this-&gt;full_total-&gt;prices[0]-&gt;price_value,$this-&gt;currencyHelper-&gt;getRounding($this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id)); if(!empty($this-&gt;coupon) &#124;&#124; !empty($this-&gt;shipping) &#124;&#124; !empty($this-&gt;additional) &#124;&#124; bccomp($taxes,0,5)) { ?&gt; &lt;tr class="margin"&gt;&lt;?php echo $td; ?&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;?php echo $td; ?&gt; &lt;td id="hikashop_checkout_cart_total2_title" class="hikashop_cart_subtotal_title hikashop_cart_title"&gt; &lt;?php echo JText::_('SUBTOTAL'); ?&gt; &lt;/td&gt; &lt;td class="hikashop_cart_subtotal_value" data-title="&lt;?php echo JText::_('SUBTOTAL'); ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_subtotal"&gt; &lt;?php if($this-&gt;params-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format(@$this-&gt;total-&gt;prices[0]-&gt;price_value_with_tax,@$this-&gt;total-&gt;prices[0]-&gt;price_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format(@$this-&gt;total-&gt;prices[0]-&gt;price_value,@$this-&gt;total-&gt;prices[0]-&gt;price_currency_id); } ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } if(!empty($this-&gt;coupon)) { ?&gt; &lt;tr&gt; &lt;?php echo $td; ?&gt; &lt;td id="hikashop_checkout_cart_coupon_title" class="hikashop_cart_coupon_title hikashop_cart_title"&gt; &lt;?php echo JText::_('HIKASHOP_COUPON'); ?&gt; &lt;/td&gt; &lt;td class="hikashop_cart_coupon_value" data-title="&lt;?php echo JText::_('HIKASHOP_COUPON'); ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_coupon"&gt; &lt;?php if(bccomp($taxes,0,5)==0 &#124;&#124; !$this-&gt;params-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format(@$this-&gt;coupon-&gt;discount_value_without_tax*-1,@$this-&gt;coupon-&gt;discount_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format(@$this-&gt;coupon-&gt;discount_value*-1,@$this-&gt;coupon-&gt;discount_currency_id); } ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } if(!empty($this-&gt;shipping)) { ?&gt; &lt;tr&gt; &lt;?php echo $td; ?&gt; &lt;td id="hikashop_checkout_cart_shipping_title" class="hikashop_cart_shipping_title hikashop_cart_title"&gt; &lt;?php echo JText::_('HIKASHOP_SHIPPING'); ?&gt; &lt;/td&gt; &lt;td class="hikashop_cart_shipping_value" data-title="&lt;?php echo JText::_('HIKASHOP_SHIPPING'); ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_shipping"&gt; &lt;?php if(isset($this-&gt;value)) { echo $this-&gt;value; } else { $shipping_price = null; foreach($this-&gt;shipping as $shipping) { if(!isset($shipping-&gt;shipping_price) &amp;&amp; isset($shipping-&gt;shipping_price_with_tax) ) { $shipping-&gt;shipping_price = $shipping-&gt;shipping_price_with_tax; //$shipping-&gt;shipping_price_with_tax = 0.0; } if(isset($shipping-&gt;shipping_price)) { if($shipping_price === null) $shipping_price = 0.0; if(bccomp($taxes,0,5)==0 &#124;&#124; !$this-&gt;params-&gt;get('price_with_tax') &#124;&#124; !isset($shipping-&gt;shipping_price_with_tax)) { $shipping_price += $shipping-&gt;shipping_price; } else { $shipping_price += $shipping-&gt;shipping_price_with_tax; } } } if($shipping_price !== null) { echo $this-&gt;currencyHelper-&gt;format($shipping_price, $this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id); } } ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } if(!empty($this-&gt;payment) &amp;&amp; $this-&gt;payment-&gt;payment_price != 0) { ?&gt; &lt;tr&gt; &lt;?php echo $td; ?&gt; &lt;td id="hikashop_checkout_cart_payment_title" class="hikashop_cart_payment_title hikashop_cart_title"&gt; &lt;?php echo JText::_('HIKASHOP_PAYMENT'); ?&gt; &lt;/td&gt; &lt;td class="hikashop_cart_payment_value" data-title="&lt;?php echo Jtext::_('HIKASHOP_PAYMENT'); ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_payment"&gt; &lt;?php if(!isset($this-&gt;payment-&gt;payment_price) &amp;&amp; isset($this-&gt;payment-&gt;payment_price_with_tax) ) { if(isset($this-&gt;value)) { echo $this-&gt;value; } else { $this-&gt;payment-&gt;payment_price = 0.0; $this-&gt;payment-&gt;payment_price_with_tax = 0.0; } } if(isset($this-&gt;payment-&gt;payment_price)) { if(bccomp($taxes,0,5)==0 &#124;&#124; !$this-&gt;params-&gt;get('price_with_tax') &#124;&#124; !isset($this-&gt;payment-&gt;payment_price_with_tax) ){ echo $this-&gt;currencyHelper-&gt;format(@$this-&gt;payment-&gt;payment_price,$this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format(@$this-&gt;payment-&gt;payment_price_with_tax,$this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id); } } ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } if(!empty($this-&gt;additional)) { $exclude_additionnal = explode(',', $this-&gt;config-&gt;get('order_additional_hide', '')); foreach($this-&gt;additional as $k =&gt; $additional) { if(in_array($additional-&gt;name, $exclude_additionnal)) continue; ?&gt; &lt;tr id="hikashop_checkout_cart_additional_&lt;?php echo str_replace(' ','_',$k); ?&gt;_line" &gt; &lt;?php echo $td; ?&gt; &lt;td id="hikashop_checkout_cart_additional_&lt;?php echo str_replace(' ','_',$k); ?&gt;_title" class="hikashop_cart_additional_title hikashop_cart_title"&gt;&lt;?php echo JText::_($additional-&gt;name); ?&gt;&lt;/td&gt; &lt;td class="hikashop_cart_additional_value" data-title="&lt;?php echo JText::_($additional-&gt;name); ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_additional"&gt; &lt;?php if(!empty($additional-&gt;price_value) &#124;&#124; empty($additional-&gt;value)) { if(bccomp($taxes,0,5)==0 &#124;&#124; !$this-&gt;params-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format(@$additional-&gt;price_value,$additional-&gt;price_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format(@$additional-&gt;price_value_with_tax,$additional-&gt;price_currency_id); } } else { echo $additional-&gt;value; } ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } } if(bccomp($taxes,0,5)){ if($this-&gt;config-&gt;get('detailed_tax_display') &amp;&amp; isset($this-&gt;full_total-&gt;prices[0]-&gt;taxes)) { foreach($this-&gt;full_total-&gt;prices[0]-&gt;taxes as $tax) { ?&gt; &lt;tr&gt; &lt;?php echo $td; ?&gt; &lt;td id="hikashop_checkout_cart_tax_title" class="hikashop_cart_tax_title hikashop_cart_title"&gt; &lt;?php echo $tax-&gt;tax_namekey; ?&gt; &lt;/td&gt; &lt;td class="hikashop_cart_tax_value" data-title="&lt;?php echo $tax-&gt;tax_namekey; ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_taxes"&gt; &lt;?php echo $this-&gt;currencyHelper-&gt;format($tax-&gt;tax_amount,$this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id); ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } } else { ?&gt; &lt;tr&gt; &lt;?php echo $td; ?&gt; &lt;td id="hikashop_checkout_cart_tax_title" class="hikashop_cart_tax_title hikashop_cart_title"&gt; &lt;?php echo JText::_('TAXES'); ?&gt; &lt;/td&gt; &lt;td class="hikashop_cart_tax_value" data-title="&lt;?php echo Jtext::_('TAXES'); ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_taxes"&gt; &lt;?php echo $this-&gt;currencyHelper-&gt;format($taxes,$this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id); ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } } ?&gt; &lt;tr&gt; &lt;?php echo $td; ?&gt; &lt;td id="hikashop_checkout_cart_final_total_title" class="hikashop_cart_total_title hikashop_cart_title"&gt; &lt;?php echo JText::_('HIKASHOP_TOTAL'); ?&gt; &lt;/td&gt; &lt;td class="hikashop_cart_total_value" data-title="&lt;?php echo Jtext::_('HIKASHOP_TOTAL'); ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_final_total"&gt; &lt;?php echo $this-&gt;currencyHelper-&gt;format($this-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,$this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id); ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;?php if(empty($this-&gt;disable_modifications) &amp;&amp; $this-&gt;params-&gt;get('show_quantity')){ ?&gt; &lt;noscript&gt; &lt;input id="hikashop_checkout_cart_quantity_button" class="btn button" type="submit" name="refresh" value="&lt;?php echo JText::_('REFRESH_CART');?&gt;"/&gt; &lt;/noscript&gt; &lt;?php } } $config =&amp; hikashop_config(); if(hikashop_level(1) &amp;&amp; $config-&gt;get('checkout_convert_cart') &amp;&amp; $config-&gt;get('enable_wishlist') &amp;&amp; (($config-&gt;get('hide_wishlist_guest', 1) &amp;&amp; hikashop_loadUser() != null) &#124;&#124; !$config-&gt;get('hide_wishlist_guest', 1))){ $this-&gt;params-&gt;set('cart_type','wishlist'); echo $this-&gt;cart-&gt;displayButton(JText::_('CART_TO_WISHLIST'),'wishlist',$this-&gt;params,hikashop_completeLink('cart&amp;task=convert&amp;cart_type=cart&amp;cart_id='.$this-&gt;full_cart-&gt;cart_id.$url_itemid),'window.location.href = \''.hikashop_completeLink('cart&amp;task=convert&amp;cart_type=cart&amp;cart_id='.$this-&gt;full_cart-&gt;cart_id.$url_itemid).'\';return false;'); } ?&gt; &lt;/div&gt;

We will update that on our end, it was indeed not consistent.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY1My1zb3J0aW5nLW9mLXN1bWFyeS1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.064 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
