User Order Notification Total Display

  • Posts: 59
  • Thank you received: 4
  • Hikashop Business
2 years 3 months ago #343896

-- HikaShop version -- : 4.6.0
-- HikaMarket version -- : 4.1.0
-- Joomla version -- : 4.1.4
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : Firefox 102.0.1
-- Error-message(debug-mod must be tuned on) -- : none

Hey Jerome,

Got another one for you.

Once again this involves the User Order Notification using the Email button on pages like /orders/order/show/cid-68 .

The totals in the email are currently displaying in the VAT style.
Subtotal $10.00
Shipping $3.00
Total without VAT $13.00
Total $13.70

I'd like the totals displayed in "American" style.

Subtotal $10.00
Shipping $3.00
Tax (7%) $0.70
Total $13.70

I am getting the desired results in the Order Creation emails which we're generating prior to calculating shipping...

Subtotal $10.00
Tax (7%) $0.70
Total $10.70

I'm using the TaxCloud plugin to generate the taxes.

The logins you used the other day are still active.

thanks again for your attention.


cheers,
Dave

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
2 years 3 months ago #343933

Hello,

The HikaShop "order creation" email and the HikaMarket "user order notification" email are very similar.
It's in the "preload" that you want to perform your customizations and change the "footer" part.
You'll find :

$templates['ORDER_FOOTER'] = $cartFooters;
So each entry added in the variable array $cartFooters, will be displayed in the email HTML afterwards.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 2 years 3 months ago by Jerome.

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

  • Posts: 59
  • Thank you received: 4
  • Hikashop Business
2 years 3 months ago #344106

Hey Jerome,

Thanks for the reply.

I've been playing around with that code but have not been able to get the taxes to display properly.

I think I'm in over my head and need your help.

Please also see my related ticket I opened today.

www.hikashop.com/forum/19-hikamarket/904...er-listing-page.html

I suspect the solutions are related.

Many thanks for your attention and help,

Dave

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
2 years 3 months ago #344108

Hello,

Indeed, it looks related.
It' better to continue on the other thread to analyse the order edition/TaxCloud issue first.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 59
  • Thank you received: 4
  • Hikashop Business
2 years 2 months ago #344237
The following user(s) said Thank You: Jerome

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
2 years 2 months ago #344238

Hi,

I'm glad that the issue in the TaxCloud plugin is fixed !

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.065 seconds
Powered by Kunena Forum