Skip to main content

How to disable the display of taxes, form of order

More
12 years 7 months ago #143170 by slavik
Hello all, there are two problems.

1. How to disable or desirable to change the form that comes to my email? (Form of order confirmation).
drive.google.com/file/d/0B7kfSjBUvQDgSUd...UzQ/edit?usp=sharing

2. How to disable the display of taxes??When you add to cart it does not, and you can see it before paying ..
drive.google.com/file/d/0B7kfSjBUvQDgcHB...T3M/edit?usp=sharing
drive.google.com/file/d/0B7kfSjBUvQDgMlZ...bzQ/edit?usp=sharing

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

More
12 years 7 months ago #143183 by Mohamed Thelji
Hi,
1. You'll be able to that by editing your translation file, and change this line :
Code:
HIKASHOP_MAIL_HEADER="If you don't see this email properly, click here to see your order details"
By:
Code:
HIKASHOP_MAIL_HEADER=" "
2. The solution will be to use the "Show taxed prices" option of the page "Hikashop->System->Configuration->Main->Taxes"

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

More
12 years 7 months ago #143274 by Mohamed Thelji
You'll be able to remove this line by using some CSS code, this CSS property will probably do the job :
Code:
display : none;
The following user(s) said Thank You: slavik

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

More
12 years 7 months ago #143302 by slavik
and you can paint more detail, I can not find .. thanks

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

More
12 years 7 months ago #143328 by nicolas
You can add that CSS in the frontend CSS file of HikaShop that you can edit in the Display tab of the configuration:
.hikashop_cart_subtotal_title, .hikashop_cart_subtotal_value, .hikashop_cart_tax_title, .hikashop_cart_tax_value{ display:none; }
The following user(s) said Thank You: slavik

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

More
12 years 7 months ago #143446 by slavik
Great it worked! There is another issue about taxes in the form that comes to e mail ..
drive.google.com/file/d/0B7kfSjBUvQDgTXV...cFk/edit?usp=sharing

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

More
12 years 7 months ago #143472 by Mohamed Thelji
Hi,
Note that you'll be able to directly edit your emails dynamic content through "Hikashop->System->Email" by using the business version of Hikashop.

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

More
12 years 7 months ago #143484 by slavik
How to do it in the free version?

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

More
12 years 7 months ago #143489 by Eliot
You have to manually edit the files in media/com_hikashop/mail

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

More
12 years 7 months ago #143497 by slavik
Yes, I understand I edited order_creation_notification.html.php
These figures go from here think that change? help ...
!--{START:ORDER_FOOTER}-->
<tr>
<td colspan="3" style="text-align:right;color:#1c8faf !important;font-size:12px;font-weight:bold;">{LINEVAR:NAME}</td>
<td style="text-align:right">{LINEVAR:VALUE}</td>
</tr>

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

More
12 years 7 months ago #143505 by slavik
In what file to look for?
contact_request.html.php
cron_report.html.php
new_comment.html.php
order_admin_notification.html.php
order_cancel.html.php
order_notification.html.php
order_status_notification.html.php
out_of_stock.html.php
payment_notification.html.php
subscription_eot.html.php
unfinished_order.html.php
user_account.html.php
user_account_admin_notification.html.php
waitlist_notification.html.php

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

More
12 years 7 months ago #143531 by Tristan
In the order_creation_notification.text.php file, find the line :
echo JText::sprintf('TOTAL_WITHOUT_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value,$data->order_currency_id))."\n";
and comment it (add '//' behind).
You won't see taxes display anymore. Please notice that since you're modifying manually the file (and not through the panel of Buisness version), you'll have to do it each time Hikashop will be updated.

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

More
12 years 7 months ago #143590 by slavik
Thanks for the quick reply, but I have not, here is my code show on it .. Thank you ..

if($data->cart->full_total->prices[0]->price_value!=$data->cart->full_total->prices[0]->price_value_with_tax){
if($config->get('detailed_tax_display') && !empty($data->order_tax_info)){
foreach($data->order_tax_info as $tax){
echo $tax->tax_namekey. ' : '.$currencyHelper->format($tax->tax_amount,$data->order_currency_id)."\n";
}
}else{
echo JText::sprintf('TOTAL_WITHOUT_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value,$data->order_currency_id))."\n";
}
echo JText::sprintf('TOTAL_WITH_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id))."\n\n";
}else{
echo JText::_('HIKASHOP_FINAL_TOTAL'). ' : '.$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id)."\n";
}

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

More
12 years 7 months ago #143606 by Tristan
Well just replace the code you sent me by this one :

if($data->cart->full_total->prices[0]->price_value!=$data->cart->full_total->prices[0]->price_value_with_tax){
if($config->get('detailed_tax_display') && !empty($data->order_tax_info)){
foreach($data->order_tax_info as $tax){
echo $tax->tax_namekey. ' : '.$currencyHelper->format($tax->tax_amount,$data->order_currency_id)."\n";
}
}else{

}
echo JText::sprintf('TOTAL_WITH_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id))."\n\n";
}else{
echo JText::_('HIKASHOP_FINAL_TOTAL'). ' : '.$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id)."\n";
}

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

More
12 years 7 months ago #143616 by slavik

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

More
12 years 7 months ago #143626 by Tristan
Did you :
- save the file order_creation_notification.text.php after having replaced your code by the one I sent you ?
- verify you still had the option "Detailed tax display" disable in your administration panel ?
- recreate a new order after change ?

If you did everything correctly, you shouldn't see the tax anymore.

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

More
12 years 7 months ago #143649 by slavik
Yes, I changed the file and uploaded to the site ..
drive.google.com/file/d/0B7kfSjBUvQDgLTd...SDA/edit?usp=sharing

Verify still had the option "Detailed tax display" disable in your administration panel
drive.google.com/file/d/0B7kfSjBUvQDgZ1F...Qlk/edit?usp=sharing

Create a new order and now here ...
drive.google.com/file/d/0B7kfSjBUvQDgYUp...MTg/edit?usp=sharing

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

More
12 years 7 months ago #143675 by Tristan
In the file order_creation_notification.preload.php, find the lines :
Code:
if($config->get('detailed_tax_display') && !empty($data->cart->order_tax_info)) { foreach($data->cart->order_tax_info as $tax) { $cartFooters[] = array( 'NAME' => $tax->tax_namekey, 'VALUE' => $currencyHelper->format($tax->tax_amount,$data->cart->order_currency_id) ); } } else { $cartFooters[] = array( 'NAME' => JText::_('ORDER_TOTAL_WITHOUT_VAT'), 'VALUE' => $currencyHelper->format($data->cart->full_total->prices[0]->price_value,$data->cart->order_currency_id) ); }
and replace them by :
Code:
if($config->get('detailed_tax_display') && !empty($data->cart->order_tax_info)) { foreach($data->cart->order_tax_info as $tax) { $cartFooters[] = array( 'NAME' => $tax->tax_namekey, 'VALUE' => $currencyHelper->format($tax->tax_amount,$data->cart->order_currency_id) ); } } else { }
The following user(s) said Thank You: slavik

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

More
12 years 7 months ago #143692 by slavik
You are a genius! Thanks!

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

Time to create page: 0.379 seconds
Powered by Kunena Forum