Hide price per unit

  • Posts: 85
  • Thank you received: 0
9 years 2 weeks ago #249044

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2

Hi,

I try to search in the forum, but unfortunately I did not find.

I would like to hide the Price Per Unit.
<span class="hikashop_product_price_per_unit"> egységár</span>

Attachments:

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

  • Posts: 26275
  • Thank you received: 4045
  • MODERATOR
9 years 2 weeks ago #249049

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 85
  • Thank you received: 0
9 years 2 weeks ago #249118

I set every settings what will hide the price unit, expect the following.

On this link
www.hikashop.com/forum/product-category-...er-unit-display.html

I do not find nicolas second message

<tr <?php if(HIKASHOP_RESPONSIVE){ echo 'class="hidden-phone"'; } ?>>
<td colspan="<?php echo $row_count; ?>">
<hr />
</td>
</tr>
<?php

if(HIKASHOP_RESPONSIVE){
$td = '';
if($this->params->get('show_cart_image'))
$td = '<td colspan="3" class="hidden-phone hikashop_cart_empty_footer"></td>';
else
$td .= '<td colspan="2" class="hidden-phone hikashop_cart_empty_footer"></td>';
}else{
$td = '';
if($this->params->get('show_cart_image'))
$td .= '<td colspan="3" class="hikashop_cart_empty_footer"></td>';
else
$td .= '<td colspan="2" class="hikashop_cart_empty_footer"></td>';
}


to modify to this

<tr <?php if(HIKASHOP_RESPONSIVE){ echo 'class="hidden-phone"'; } ?>>
<td colspan="<?php echo ($row_count-1); ?>">
<hr />
</td>
</tr>
<?php

if(HIKASHOP_RESPONSIVE){
$td = '';
if($this->params->get('show_cart_image'))
$td = '<td colspan="2" class="hidden-phone hikashop_cart_empty_footer"></td>';
else
$td .= '<td colspan="1" class="hidden-phone hikashop_cart_empty_footer"></td>';
}else{
$td = '';
if($this->params->get('show_cart_image'))
$td .= '<td colspan="2" class="hikashop_cart_empty_footer"></td>';
else
$td .= '<td colspan="1" class="hikashop_cart_empty_footer"></td>';
}

Last edit: 9 years 2 weeks ago by palee3.

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
9 years 2 weeks ago #249130

Hi,

To remove the "per unit" text from prices, you can easily do that with a translation override:
www.hikashop.com/download/languages.html#modify

The following user(s) said Thank You: Warber, palee3

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

  • Posts: 85
  • Thank you received: 0
9 years 6 days ago #249629

Ahh.. it's so simple, thank you

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

Time to create page: 0.069 seconds
Powered by Kunena Forum