[Skip to main content](#vessel-content)

#   Order Email subtotal calculating addon items incorrectly

##

- **[zerioni](/forum/user/51281-zerioni "View zerioni's Profile")**
- [![zerioni's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51281-zerioni "View zerioni's Profile") Topic Author
- [ Offline](/forum/user/51281-zerioni)

Less More

- Posts: 8
- Thank you received: 0
-
-

1 year 1 month ago -  1 year 1 month ago [\#368792](#368792) by [zerioni](/forum/user/51281-zerioni "View zerioni's Profile")  *[Order Email subtotal calculating addon items incorrectly](/forum/25-install-update/909760-order-email-subtotal-calculating-addon-items-incorrectly#368792 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.3  Situation: an item with a price of $15, with an addon item priced at $1. When the customer adds 10 items, with 10 addons, the receipt in the email is adding all 10 $1 addon items to each product, making the subtotal calculate each item at $25. The final total is accurate: $160 ($150 + $10) but the subtotal shows $15 + $10 x 10 items = $250. This is only occurring in emails, the cart display is correct during checkout. Edit: I tried turning off Group Options With Product, but it didn't change the subtotal in email previews.")* was created by *[zerioni](/forum/user/51281-zerioni "View zerioni's Profile")*

-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.3.3
-- PHP version -- : 8.3

Situation: an item with a price of $15, with an addon item priced at $1. When the customer adds 10 items, with 10 addons, the receipt in the email is adding all 10 $1 addon items to each product, making the subtotal calculate each item at $25.
The final total is accurate: $160 ($150 + $10) but the subtotal shows $15 + $10 x 10 items = $250.
This is only occurring in emails, the cart display is correct during checkout.
Edit: I tried turning off Group Options With Product, but it didn't change the subtotal in email previews.

- [ ![email&#95;subtotal&#95;bug.png](/forum/attachment/60866) ](/forum/attachment/60866 "...btotal&#95;bug.png") [ ](/forum/attachment/60866?download=1 "...btotal&#95;bug.png")

Last edit: 1 year 1 month ago by [zerioni](/forum/user/51281-zerioni "View zerioni's Profile"). Reason: Adding extra context, for a fix I've tried.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwOTc2MC1vcmRlci1lbWFpbC1zdWJ0b3RhbC1jYWxjdWxhdGluZy1hZGRvbi1pdGVtcy1pbmNvcnJlY3RseT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

1 year 1 month ago [\#368829](#368829) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order Email subtotal calculating addon items incorrectly](/forum/25-install-update/909760-order-email-subtotal-calculating-addon-items-incorrectly#368829 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.3  Situation: an item with a price of $15, with an addon item priced at $1. When the customer adds 10 items, with 10 addons, the receipt in the email is adding all 10 $1 addon items to each product, making the subtotal calculate each item at $25. The final total is accurate: $160 ($150 + $10) but the subtotal shows $15 + $10 x 10 items = $250. This is only occurring in emails, the cart display is correct during checkout. Edit: I tried turning off Group Options With Product, but it didn't change the subtotal in email previews.")*

Hi,

I've never seen this issue and I'm not able to reproduce it.
Could you provide a backend access and a FTP access in order to look into the issue via our contact form ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwOTc2MC1vcmRlci1lbWFpbC1zdWJ0b3RhbC1jYWxjdWxhdGluZy1hZGRvbi1pdGVtcy1pbmNvcnJlY3RseT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.081 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
