- Posts: 196
- Thank you received: 15
Price with and without TAX in the mail
- StudioPrzyLesie
-
Topic Author
- Offline
How to configure email settings so that the seller will be informed about the price of products with tax and without tax?
Please Log in or Create an account to join the conversation.
You mean that you want to display the unit price with AND without taxes in the order admin notification/payment notification emails that the administrator receives when the order is created/confirmed ?
In that case, that would require customization of the "preload" version of these emails via the menu System>Emails as there is no option you can just activate/change to do that.
Please Log in or Create an account to join the conversation.
- StudioPrzyLesie
-
Topic Author
- Offline
- Posts: 196
- Thank you received: 15
Any hint how to do it? I found how to change the content of an email with a price without TAX:
Simply add the line:
$config->set('price_with_tax',0);
after:
$config =& hikashop_config();
How to change to display two prices (with and without)?
Please Log in or Create an account to join the conversation.
That will require more complex modifications as the email doesn't support that.
You would have to change:
Please Log in or Create an account to join the conversation.
- StudioPrzyLesie
-
Topic Author
- Offline
- Posts: 196
- Thank you received: 15
Thanks!!!
Please Log in or Create an account to join the conversation.
- StudioPrzyLesie
-
Topic Author
- Offline
- Posts: 196
- Thank you received: 15
I'm back on topic.
I wrote recently that I had a problem with orders. The problem turned out to be an overwritten template. It's possible that the above entry was causing the error.
What the override should look like for the new version of hika.
By the way, how to add a logo to an email in the alternative_* template?
Tomek
Please Log in or Create an account to join the conversation.
When you do an override, the whole code is saved.
The piece of code you changed there was not a problem, and you still can do the same modification. The problem was with some other piece of code in there.
To add a logo to an email, you first want to upload the image on your website. Then, you can add an img tag in the email or in the template based on where you want to display it in the email.
Please Log in or Create an account to join the conversation.
- StudioPrzyLesie
-
Topic Author
- Offline
- Posts: 196
- Thank you received: 15
override works - thank you.
Logo
I have a record in the template
but the logo is not showing up.
In the previous template it worked
What should be the record for it to work here?
So that the logo is on the same line as the word "Order"
will you help?
Please Log in or Create an account to join the conversation.
Try using the full URL of the image, without the {VAR:LIVE_SITE} tag.
Please Log in or Create an account to join the conversation.
- StudioPrzyLesie
-
Topic Author
- Offline
- Posts: 196
- Thank you received: 15
Please Log in or Create an account to join the conversation.
So, in which email did you make that change ?
Do you see the image if you use the "preview" button ?
Could you provide a screenshot of the resulting email ?
Please Log in or Create an account to join the conversation.
- StudioPrzyLesie
-
Topic Author
- Offline
- Posts: 196
- Thank you received: 15
Please Log in or Create an account to join the conversation.
Can you provide a backend access to the website so that we can check the situation ?
Please Log in or Create an account to join the conversation.
You added the img tag inside the div with the "title" id but in your template, you've added CSS to hide the images in that div:
i.imgur.com/7px9hlm.png
Remove that CSS or move the img tag elsewhere and it will display in the email.
Please Log in or Create an account to join the conversation.
- StudioPrzyLesie
-
Topic Author
- Offline
- Posts: 196
- Thank you received: 15
thanks for support.
Now everything works properly.
Tomek
Please Log in or Create an account to join the conversation.
But the code of comments before yours work perfect!
Please Log in or Create an account to join the conversation.
So it's all good for you ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- StudioPrzyLesie
-
Topic Author
- Offline
- Posts: 196
- Thank you received: 15
the same topic, but is it possible to split the transport costs with and without tax?
Tom
Please Log in or Create an account to join the conversation.