add to cart is doing strange

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60401

Hello,

I notice a problem when add a certain article with a characteristic to the basket.

The min. quantity is set to 50 pieces.
When I enter for example 55 pieces he only add 50 pieces.
When I enter again 55 pieces then it works and he add 55 to the 50 = 105 pieces.

For the characteristics the price is set to zero and the min. quantity is also set to 50 like in the mainproduct.

When I remove the characteristic everything works fine.
So it has to do something with this.

please verify on the following link

click here

Last edit: 11 years 8 months ago by jan2.

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

  • Posts: 81565
  • Thank you received: 13075
  • MODERATOR
11 years 8 months ago #60442

Hi,

I don't see any strange behavior on your website. Even when I directly add 55 pieces, the 55 pieces are added to the cart without any message.

It seems to work fine as far as I can see.

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60444

Hi NIcolas,

That is possible because I have disabled the characteristics.
once you active a characteristic it fails.

Please try again now ....

br
Jan

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60445

I have made a printscreen so you see what happend

Another thing... how come I have to click 2 x on the "next" button of the checkout ???



Attachments:
Last edit: 11 years 8 months ago by jan2.

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

  • Posts: 81565
  • Thank you received: 13075
  • MODERATOR
11 years 8 months ago #60452

I think that it comes from the same problem as here:
www.hikashop.com/forum/4-how-to/56921-is...s.html?lang=fr#57739
Can you try the fix I provided there ?

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60457

Hello Nicolas,

Many many thanks for you help !
it works ! :) :) :)


Did you had the chance to login to check the facebook matter ?
I send you the logins few days ago


once again .. thank you !

Jan

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60466

Hello Nicolas,


Now the problem with the quantities is fixed I am facing a new problem. :blink:

I have created 2 variants + 1 option
When selecting another variant the image doesn't change.
When I remove the variant the problem is solved. Then I am able to see the image changing to the other variant.

Br
Jan

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

  • Posts: 81565
  • Thank you received: 13075
  • MODERATOR
11 years 8 months ago #60499

Please try that:
1. Delete all the variants of the product on the listing of variants that you can access via the button "manage variants" on the product edition screen.
2. Delete the characteristics of the product.
3. Save the product.
4. Add the characteristics again.
5. The system will regenerate all the variants automatically and you should be able to see the dropdowns properly on the front end.

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60527

I have deleted the variants en then deleted the options as described above.
Saved it ...
Then added the characteristic again and added the variants (itseems my images were disapeared) SO I added the images again.
savid it and ...Still the same problem. :(
I can't switch from image when selecting a variant at the front end.

From the moment I remove the option the characteristics are working (so when I select a variant the images changes ! ) very strange !
Can I simulate this on your demo site ?

br
Jan

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60584

I tried the Demo site.
SO I added an option to an article with a characteristic and that is working.
The image is changing when selecting another variant.

@nicolas : please try it on our website.(you have the login)
You can add a characteristic to existent product + add an option.

Last edit: 11 years 8 months ago by jan2.

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

  • Posts: 81565
  • Thank you received: 13075
  • MODERATOR
11 years 8 months ago #60672

That's because the system didn't find any price for your options.
So it created a js error.
I've changed the code:
".(float)$price."
to:
".$price."

in the file 'option' of the view 'product' and it has fixed the problem.

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60702

Hi Nicolas,

It is working !
I just want to thank you for your splendid work !
You have no idea how happy I am

:) :) :) :) :)

Thank you !

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60705

:evil:

It seems the problem is not solved.
again the same problem
I was able to change one product where the characteristic was working.
I am already searching more then an hour to create another product.
It is not working. I am trying to find a difference between the article that is work

This is the only article where it works....
depotjesfabriek.be/index.php/nl/online-s...te-met-duolux-deksel


this product is not working
depotjesfabriek.be/index.php/nl/online-s...-ml-standard-diam-75

Why ???
I have no idea.
I even used the same options to test but it is not working.

Can you please check this once again.

best regards,
JAN

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

  • Posts: 81565
  • Thank you received: 13075
  • MODERATOR
11 years 8 months ago #60732

It's just that you're using another template on that page.
I had done the modification for thejarfactory_template and now you're using depotjesfabriek_template
So the solution is still the same. It just had to be done for that other template.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum