Template Edulif: Error "Out Of Range Value For Column 'price' At Row 1" - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Template Edulif: Error "Out Of Range Value For Column 'price' At Row 1"

thanhhx57

thanhhx57

Template 2 years ago

Hello, I am installing a test template on localhost. I got an error when converting the selling price to Vietnamese currency. In Vietnam, 1$ is converted to about 24,000VND.

https://prnt.sc/RNzzz15_Zvn0

Please guide me how to fix this error. Thanks!

0
4 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #130155

Hello thanhhx57

You cannot set course price to 10,00,000 (6 digits) or more due to SQL limit. If you want to change it, then use this SQL query

ALTER TABLE `xxxxx_splms_courses` CHANGE `price` `price` FLOAT(9,2) NOT NULL, 
CHANGE `sale_price` `sale_price` FLOAT(9,2) NULL DEFAULT NULL;

Use your table prefix instead of xxxxx. If you want 10 digit price, then set FLOAT(10,2)

Best regards

0
thanhhx57
thanhhx57
Accepted Answer
2 years ago #131045

Thanks Ofi Khan.

I have fixed the problem.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #131054

You are welcome 😊

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on 

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

0
thanhhx57
thanhhx57
Accepted Answer
2 years ago #131076

OK. I will do this. You're so great.

0