Price Calculation Is Inaccurate

  • Posts: 132
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
7 years 9 months ago #262674

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 7
-- Error-message(debug-mod must be tuned on) -- : Calculation Error

Hi,
I have 3 products connected to each other as related and as options.

The shopping cart calculates works correctly only when i have 1 on the cart.
As soon as I add more than one I am getting incorrect number of Options on the shopping cart.

EXAMPLE:
I selected Apples As Main product to make a Fruit Salad.

I added options:
- Orange
- Kivi

and increased to 2 on the cart and press button Added to the Cart.
RESULT:
On the cart I am getting 2 Apples, but 4 Oranges and 4 Kivi
Is'nt should be only 2 Oranges and 2 Kivi instead of 4 for each?

Please see attachment screenshot for the Main product with Options and also Crt Calculations

Please advise, is it error in the calculations or it is not? Can it be fixed if it is error in the calculation?
Looking forward, Thank you.

Attachments:

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
7 years 9 months ago #262683

Hello,

Can you give us the build version number and a screenshot of your product part ?
You will get these 2 things, in Components => HikaShop => Configuration, in Main tab and Main part for build version and in Product part for the second.
This look like a fixed bug, but before we have to be sure of it.
Awaiting news from you.

Regards

Last edit: 7 years 9 months ago by Philip.

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

  • Posts: 132
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
7 years 9 months ago #262724

- Build Version: HikaShop Business 3.0.0 [1702071822]
- Product settings Image attached:

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #262727

Hi,

Thanks.
Please re-download HikaShop 3.0.0 ; Nicolas added a patch in the "product / cart" in order to improve the display of products with options.

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: 132
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
7 years 9 months ago #262761

Here is a good News:
- Yes, the calculation of product cost for products as options is fixed - awesome. - LEFT SIDE OF THE IMAGE

Here is NOT so good news:
- The Cart calculation with added discount is INCORRECT. - RIGHT SIDE OF THE IMAGE

Explanation:
I added $10 discount one time for EACH product and as you can see on the right Discount amount is NOT consistent on the Cart.
Settings for the discount is added to the image.

Please advise.
Looking Forward

Attachments:
Last edit: 7 years 9 months ago by alexmartin.

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
7 years 9 months ago #262931

Hello,

Does this tax issue come with the new 3.0 version or it was already here ?
When I have a look on your first screenshot there is no discount on products...

Does your discount is applied on required products ?
Can you provide full discount configuration page screenshot please ?
Awaiting news from you.

Regards

Last edit: 7 years 9 months ago by Philip.

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

  • Posts: 132
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
7 years 9 months ago #262967

This test is done based on the very last version. After you fixed the previous bug with calculation.

What is being fixed - is on the left and what I added that is Not fixed - on the right side of the image.

It is not Tax, it is discount and the setting image posted above on the top right. (Actually two images for the settings)

Last edit: 7 years 9 months ago by alexmartin.

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
7 years 9 months ago #263025

Hello,

Yes, you're right I mean Discount Tax... My point was to understand if you noticed that the discount issue was still there (before first fix) OR if it appears with the new version.
Anyway, I need the WHOLE configuration Discount page and not just a part of it.
Awaiting news from you.

Regards

Last edit: 7 years 9 months ago by Philip.

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

  • Posts: 132
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
7 years 9 months ago #263088

That is funny that you say Discount Tax.... No it is NOt a Tax discount.I don't use taxes. It is pure discount. In discount settings only.

This error with calculating Discount was there BEFORE of what you fixed, meaning there were both errors present at the time I started this post. and so far only one error i mentioned at the beginning is fixed.

I really surprise you are asking me for screenshots - it takes you a few minutes to recreate the scenario.

It is all screenshots i have for Discount settings. There is nothing more to add. It is 100% of the information i can provide.

Discount settings is $10 for Each product. That is it.
Screenshot1:



Screenshot 2


Screenshot 3 - RESULTS IN THE CART:



Please let me know if you need anything else to fix it.
Thank you.
Looking Forward.

Attachments:
Last edit: 7 years 9 months ago by alexmartin.

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
7 years 9 months ago #263186

Hello,

If we ask you more elements it's because we can't reproduce your issue... And so basically if you want be helped, you must help us.
Let's be more precise, I need this kind of screenshots :



Without these, that will be more difficult or worse we won't be able to help.
Awaiting news from you to move forward.

Regards

Attachments:
Last edit: 7 years 9 months ago by Jerome. Reason: typo

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

  • Posts: 132
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
7 years 9 months ago #263233

Settings for product: Notice: Related and Notice Options

Product : notice Options - Yes -Yes
notice amount - ( more than one) = 2

Discount settings: $10

Restrictions - selected
product1
product2
product3

Shopping cart calculations: First product -$10 x 2 = $20 - that is correct
Second product -$20 x 2 = $40 - the initial number -$20 is incorrect - it should remain -$10
Third product -$40 x 2 = $80 - the initial number -$40 is incorrect - it should remain -$10
Screenshots are below. Thank you.




Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #263235

Hi,

Original prices for "Orange" and "Kivi" are right $200 and $300, right ?
So the processed prices are correct, each time just $10 are removed for the product prices, right ?

But there is just a displaying problem regarding the checkout cart, the final price is correct, right ?
Do you also have the displaying issue in the cart module ?
Do you have a view override for the "checkout / listing_price" view ?

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: 132
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
7 years 8 months ago #263713

Yes, correct, apple - 100, oranges 200 and kivi 300 - is the original prices and the calculation for the Product is working correctly, you already fixed it .
It is the only calculations for discounts - they are multiplied by 2 in Unit column on each line after first line and that makes discount amount on each product incorrect.
I set -10 discount on no others. That means each product get -10 X time of product

Here is UNIT COLUMN:

Apples are correct discount -10
Oranges - incorrect - -20 ( should be -10)
Kivi - incorrect - 40 ( should be -10)
So, I believe that Unit Column is effected and produced errors for calculations.
2) I do not have override for the "checkout / listing_price" view ?
Thank you, Looking Forward.

Last edit: 7 years 8 months ago by alexmartin.

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
7 years 8 months ago #263773

Hello,

There is something strange with checkout display, can you provide an Url link to your website, OR (maybe you've already told it) if your website is on a localhost, is it possible to create a copy on the web in order to process some tests directly on your website with frontend/backend access ?

Because for now, it's impossible to reproduce the issue on our side, and so it's seems that we are stocked...
Awaiting news from you ?

Regards

Last edit: 7 years 8 months ago by Philip.

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

  • Posts: 132
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
7 years 8 months ago #263834

Credentials removed by a moderator

Attention: select each option and ad product more than 1 , so make it 2, 3 before pressing on add to cart button. thank you.

Last edit: 7 years 8 months ago by Jerome. Reason: removing credentials

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
7 years 8 months ago #263886

Hi,

Thanks !
Please download the install package again on our website and install it again on yours and that should fix the problem.

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

  • Posts: 132
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
7 years 8 months ago #263961

Thank you. It is fixed and working properly.

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

Time to create page: 0.137 seconds
Powered by Kunena Forum