delete coupon field on print version of bill

  • Posts: 7
  • Thank you received: 0
13 years 9 months ago #8886

hi,

im actually trying to delete the coupon field on the print version of a bill. its german, so "Gutschein" means coupon (see image).

how can i do that?

Attachments:
Last edit: 13 years 9 months ago by chilledkroete.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #8902

You can go in the menu Display->Views and edit the file invoice of the view order (for back end invoices) and/or the file show of the view order (for front end invoices) and remove the coupon line from the view code.

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

  • Posts: 7
  • Thank you received: 0
13 years 9 months ago #8907

thanks for your answer.

i deleted in the file order:

tr>
<td colspan="<?php echo $colspan; ?>">
</td>
<td class="hikashop_order_coupon_title key">
<label>
<?php echo JText::_( 'HIKASHOP_COUPON' ); ?>
</label>
</td>
<td class="hikashop_order_coupon_value" >
<?php echo $this->currencyHelper->format($this->order->order_discount_price*-1.0,$this->order->order_currency_id); ?>
</td>
</tr>

and in the file invoice:

<tr>
<td colspan="2">
</td>
<td class="key">
<label>
<?php echo JText::_( 'HIKASHOP_COUPON' ); ?>
</label>
</td>
<td>
<?php echo $this->currencyHelper->format($this->order->order_discount_price*-1.0,$this->order->order_currency_id); ?>
</td>
</tr>


nothing changed. im not a programmer, so im not sure if this is correct what i did

greets

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #8909

Did you do the change for the template you use and not another one ?
If you don't do it for your template, you won't see the modification as modifications only apply to one template.

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

  • Posts: 7
  • Thank you received: 0
13 years 9 months ago #8930

I did it for my used templates. i also made new example orders to see if the change isnt only for new incoming orders. but nothing changed. the coupon line is still visible

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #8931

Then, could you give an access to your backend so that we can check on the change?

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

  • Posts: 7
  • Thank you received: 0
13 years 9 months ago #8932

how can i send you a personal message with the login information?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #8933

You can use our contact form: www.hikashop.com/en/support/contact-us.html

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #8949

We received the username and password from you. However, you didn't specify the URL of your website. Could you give us that information as well ?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #8951

You modified the invoice view for the template menu_rechts. However, you use the template bluestork in the backend, so it's normal that you don't see the modification in the backend. I've made the change for you.

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

  • Posts: 7
  • Thank you received: 0
13 years 9 months ago #8952

ohh what a stupid mistake.

thanks a lot!!!

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

Time to create page: 0.072 seconds
Powered by Kunena Forum