Amounts order do not match amount emails

  • Posts: 13
  • Thank you received: 0
9 years 2 months ago #214457

-- url of the page with the problem -- : www.assistenza-virtuale.net/dev/
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 2.5.24
-- Browser(s) name and version -- : all

Hello

Please .... I would like that the emails sent to customer and admin could display same amounts
of the order .... I fear that I have to edit the email with different variables ..... subtotal and total price
Is it right ? If yes
Can you type please the variables that I have to use .

Attached are the pages of
Order ..... is ok
After confirm .... is ok
Email ....... need to be changed because is not correct

A lot of thanks Giorgio






Attachments:

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
9 years 2 months ago #214471

Hi,

I'm not able to reproduce the issue.
Could you provide a backend access so that we could check your settings ?
www.hikashop.com/support/contact-us.html

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

  • Posts: 13
  • Thank you received: 0
9 years 2 months ago #214851

Hi

I have sent the credentials but I fear that you did not received them .
I send them again by the conctact form you have posted in the message before
To say more I have asked two freelancers to solve the set up but the issue still remains

Thanks Giorgio

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

  • Posts: 12953
  • Thank you received: 1778
9 years 2 months ago #214860

Hello Giorgio,
I just tested it but I'll need a temporary FTP access to your website to directly check the code itself. Can you send it through our contact form ?
Thanks !
Mohamed.

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

  • Posts: 13
  • Thank you received: 0
9 years 2 months ago #214905

Hi Mohammed

Done a ftp access for you and sent data for the access through the conctact form

Best regards Giorgio

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

  • Posts: 13
  • Thank you received: 0
9 years 2 months ago #214906

Hi

Sorry for the mistake thanks to Mohamed

Regards Giorgio

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

  • Posts: 12953
  • Thank you received: 1778
9 years 2 months ago #214950

Hello,
The account is ok but I only have access to an empty directory.

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

  • Posts: 13
  • Thank you received: 0
9 years 2 months ago #215036

Hi Mohamed

sorry for my ignorance

I have sent by conctact form new access for ftp

hope I having done right

Best regards Giorgio

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

  • Posts: 12953
  • Thank you received: 1778
9 years 2 months ago #215112

Hello Giorgio,
In your case your issue is probably coming from the fact that one of your plugins which use the "hikashop_product_price_for_quantity_in_order" trigger is affecting your subtotal price without tax.
I directly tested it by checking the code, and the issue is coming from these lines on the file "/dev/administrator/components/com_hikashop/classes/order.php" :

if(function_exists('hikashop_product_price_for_quantity_in_order')) {

	hikashop_product_price_for_quantity_in_order($order->products[$k]);

} else {

	$order->products[$k]->order_product_total_price_no_vat = $product->order_product_price*$product->order_product_quantity;

	$order->products[$k]->order_product_total_price = ($product->order_product_price+$product->order_product_tax)*$product->order_product_quantity;

}
But note that before finding from which plugin your issue is coming, a solution can be to replace these lines by :
/*if(function_exists('hikashop_product_price_for_quantity_in_order')) {

	hikashop_product_price_for_quantity_in_order($order->products[$k]);

} else {*/

	$order->products[$k]->order_product_total_price_no_vat = $product->order_product_price*$product->order_product_quantity;

	$order->products[$k]->order_product_total_price = ($product->order_product_price+$product->order_product_tax)*$product->order_product_quantity;

//}

Last edit: 9 years 2 months ago by Mohamed Thelji.

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

Time to create page: 0.103 seconds
Powered by Kunena Forum