e-mail notification

  • Posts: 80
  • Thank you received: 8
  • Hikashop Business
3 weeks 3 days ago #371801

-- url of the page with the problem -- : www.ubuntushop.biz
-- HikaShop version -- : 6.4.1
-- Joomla version -- : 5.4
-- PHP version -- : 8.4

Upon order creation, an e-mail is send. But the quantity of product is too close to the price. See attachment. So it seems price is 1000 euro, but this must be quantity 1 and price 100 euro.
Where to change this (extra spave between quantity and price) . Or should the table be widere?

Attachments:

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

  • Posts: 85623
  • Thank you received: 14041
  • MODERATOR
3 weeks 2 days ago #371803

Hi,

The issue is that your products names are really long and thus they push the column of the name to take all the available space and thus all the other columns get squished together.
Making the table wider is not possible, it already takes all the available width. Emails don't work like websites and a max width on the whole email needs to be set.
So the solution will be to add a bit of CSS to the products table of your email via the menu System>Emails in order to have less width for the name.

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

  • Posts: 80
  • Thank you received: 8
  • Hikashop Business
1 day 11 hours ago #372075

do you have a sample for this css?

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

  • Posts: 85623
  • Thank you received: 14041
  • MODERATOR
1 day 8 hours ago #372078

Hello,

Email clients ignore embedded CSS, the styles need to be inline on the cells.

In HikaShop > System > Emails, open the "Order creation notification", switch to the HTML view and append these to the existing style attribute of each cell, both on the header row and on the product line (8 cells total):

- name cell:

max-width:260px;word-break:break-word;padding-right:12px;
- price, quantity, total cells:
padding-left:12px;

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

Time to create page: 0.453 seconds
Powered by Kunena Forum