Add suffix to cart values and reword a few things.

  • Posts: 62
  • Thank you received: 0
12 years 10 months ago #43133

Hi,

- Hikashop Business 1.5.6
- I want to achieve:

1. "inc GST" after the values
2. Change the text as per the blue
3. Remove the GST (Tax) row

I realise this is done by editing checkout / cart.php but I don't want to have to mess with the table widths and I cannot seem to get the "inc GST" as part of say the red value making up the total value. I cannot figure out how to modify the PHP from:

          <td class="hikashop_cart_subtotal_value">
          <?php
            $this->row=$this->total;
            echo $this->loadTemplate();
            ?>
          </td>

I then have the same problem getting "inc GST" as part of:
           <?php
                if(bccomp($taxes,0,5)==0 || !$this->params->get('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);
                }
              ?>

All pointers and help greatly appreciated.

Attachments:

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

  • Posts: 62
  • Thank you received: 0
12 years 10 months ago #43262

Bump?

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

  • Posts: 83103
  • Thank you received: 13417
  • MODERATOR
12 years 10 months ago #43264

Hi,

1. Just add your text after the ?> tag in that view file

2. For that, you should override the translations:
www.hikashop.com/en/download/languages.html#modify

3. You can replace:
if(bccomp($taxes,0,5)){
by:
if(false){
in that same view file.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum