Post by letsgamble » Wed Mar 24, 2021 9:27 pm

Hi there,
When I edit product in admin page and enter price for example 1.50$, 1.90$ it always saves as 1.00$ and shows 1.00$ on the product page.
My currency is USD with 2 decimal places.
When I edit price value in mySQL to for example 1.50$ it works fine, but when I edit product via admin panel and saves, it goes back to 1.00$ again.
Last edited by letsgamble on Fri Mar 26, 2021 10:30 pm, edited 1 time in total.

Newbie

Posts

Joined
Wed Mar 24, 2021 9:23 pm

Post by OSWorX » Wed Mar 24, 2021 9:29 pm

Are you using a dot . or comma , ?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by letsgamble » Wed Mar 24, 2021 9:54 pm

OSWorX wrote:
Wed Mar 24, 2021 9:29 pm
Are you using a dot . or comma , ?
Both doesn't work

In mysql dot works

Newbie

Posts

Joined
Wed Mar 24, 2021 9:23 pm

Post by OSWorX » Wed Mar 24, 2021 10:05 pm

In general only a dor has to used - at all fields!
And to be honest, in 12 years of OC never had such an issue ..
Do you have installed any additional (admin) Extensions?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by letsgamble » Wed Mar 24, 2021 10:12 pm

OSWorX wrote:
Wed Mar 24, 2021 10:05 pm
Do you have installed any additional (admin) Extensions?
Nope =/
Zrzut ekranu (375).png

Zrzut ekranu (375).png (2.13 KiB) Viewed 522 times

Zrzut ekranu (376).png

Zrzut ekranu (376).png (9.03 KiB) Viewed 522 times

Zrzut ekranu (377).png

Zrzut ekranu (377).png (72.25 KiB) Viewed 517 times


Newbie

Posts

Joined
Wed Mar 24, 2021 9:23 pm

Post by OSWorX » Wed Mar 24, 2021 10:44 pm

Okay, before we go deeper, please read this and proceed: viewtopic.php?f=176&t=200480
Thx.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by letsgamble » Thu Mar 25, 2021 1:04 am

1. Opencart 3.0.2.0
2. RoyalFashion
3. Google Analytics
Google reCAPTCHA (Default)
CodezeelBlog
Codezeeltabs
Facebook Pixel
Slideshow
Przelewy24
Stripe Payment Gateway
X-Shipping

Newbie

Posts

Joined
Wed Mar 24, 2021 9:23 pm

Post by OSWorX » Thu Mar 25, 2021 2:33 pm

Fine - thx (it's always good to read the forum rules before ..).
OC 3.0.2.0: using it at some clients, never had any troubles with the format.
Know the other Extensions, but don't use them.

Means: have you ever tried the plain OC 3.0.2.0 (without any additional extensions)?
Would makes me wonder if it does not work - and if not again, there must be something else.

What I'm missing in this list: your environement: Server (version), php (version).

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by letsgamble » Fri Mar 26, 2021 10:14 pm

I changed PHP to 8.0 and fixed SSL problems on my website and now works fine!

Newbie

Posts

Joined
Wed Mar 24, 2021 9:23 pm

Post by straightlight » Fri Mar 26, 2021 10:27 pm

letsgamble wrote:
Fri Mar 26, 2021 10:14 pm
I changed PHP to 8.0 and fixed SSL problems on my website and now works fine!
Take note that switching to PHP 8 prior to the master branch version, at this time, may create problems with the extensions you might be using since most distributions still might support PHP 7+ but below PHP 8. However, now that the issue has been resolved, please add [SOLVED] at the beginning of the subject line on your first post.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: Baidu [Spider], drag84 and 467 guests