Skip to main content

delete coupon field on print version of bill

More
15 years 7 months ago - 15 years 7 months ago #8886 by chilledkroete
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?

Last edit: 15 years 7 months ago by chilledkroete.

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

More
15 years 7 months ago #8902 by nicolas
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.

More
15 years 7 months ago #8907 by chilledkroete
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.

More
15 years 7 months ago #8909 by nicolas
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.

More
15 years 7 months ago #8930 by chilledkroete
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.

More
15 years 7 months ago #8931 by nicolas
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.

More
15 years 7 months ago #8932 by chilledkroete
how can i send you a personal message with the login information?

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

More
15 years 7 months ago #8933 by nicolas

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

More
15 years 7 months ago #8949 by nicolas
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.

More
15 years 7 months ago #8951 by nicolas
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.

More
15 years 7 months ago #8952 by chilledkroete
ohh what a stupid mistake.

thanks a lot!!!

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

Time to create page: 0.219 seconds
Powered by Kunena Forum