Jump to content

Commerce bug: custom field gets wrong value


Go to solution Solved by Marc,

Recommended Posts

Posted (edited)

I have a custom field with numerical values:

Could contain: Text

Looks fine in the database:

Could contain: Page, Text

Looks fine on the product page:

Could contain: Electronics, Mobile Phone, Phone, Computer Hardware, Hardware, Text, Monitor, Screen

But once the product is put into the cart, the product in the cart will always use the next value in the set and continue to use the false value throughout the checkout. 
If I select “1" on the product page, the cart says “2”. 
If I select “2“ on the product page, the cart says “3” and so on. 

Could contain: Text

You can easily replicate it as a guest on my site. It happens for all products which use this field. 

Edited by opentype
Posted

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

Posted

I have taken a look at this, and its not actually showing a different item in the cart than when selecting on this end. Is this what you are referring to?

Could contain: Page, Text, FileCould contain: File, Webpage, Page, Text

Posted
15 minutes ago, Marc Stridgen said:

I have taken a look at this, and its not actually showing a different item in the cart than when selecting on this end. Is this what you are referring to?

Please try it out on my website with the field shown in the screenshot (“Number of Desktop users”). The wrong value is added to the cart and persists throughout the purchase. 

Posted

Have added some notes. This is happening only if you add a number there. As a temporary workaround, if you add some text in there, these will select correctly. 

  • 2 months later...
  • Solution
Posted

This issue has been resolved in the latest 4.7.11 release. Please upgrade to resolve this, and let us know if you have any further problems.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...