Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Good morning from Portugal!
I noticed an interesting bug when on Mozilla Firefox (v 56.0.2) and on Microsoft Edge (v 40.15063.674.0) with umbraco 7.6.4 and TC 3.2.3.
I am unable to obtain the stock of a given product/variant when I am not logged into the back office on the same browser where the stock is being obtained from (product page).
On chrome it works with no problem.
There is no information in the log.
Any ideas why this could be?
Looks like you found a nice little bug there. How the stock is returned depends on the servers UI culture, which means it can in some cases return the decimal with a wrong decimal separator. That makes jQuery go directly to it's ajax error event instead of it's success. In some browsers anyways.
It's a very small fix, and we will add it to the next release.
Thanks for letting us know!
Hi Rune, sorry to hijack the thread a little, but do you have a timeline for the next release (and also will it be 7.7 compatible)?
Tea Commerce have been 7.7 compatible the whole time, except for the Umb bug regarding legacy create: http://issues.umbraco.org/issue/U4-10519
It has been fixed in 7.7.3 and all is good now.
As for a time line, we only have the bug from this post at the moment, but we will release a minor with that soon.
Its a pleasure!
I just checked the response and it seems that you are indeed correct!
When not logged into the back office, the product stock uses a comma as the decimal seperator. When logged in a decimal point is used.
I did not know that the back office session could influence the front-end, interesting.
Do you have any thoughts on a possible solution which I could use for now?
Will I have to implement a Product Information Extractor?
I said price, but I meant stock, sorry!
The prices should not be affected by the UI culture. Price formats are decided by the current currency.
How does your price look?
Here's how the price on https://demo.teacommerce.net/ looks both with danish and US culture:
I just released a minor version with the stock fix and a small install fix as well:
You can just install it on top of the old version
The issue is resolved, thanks Rune!
Thanks for letting me know.
Have fun with TC :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted