Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price Issue #395

Open
yoyoypy opened this issue Oct 4, 2019 · 6 comments
Open

Price Issue #395

yoyoypy opened this issue Oct 4, 2019 · 6 comments

Comments

@yoyoypy
Copy link

yoyoypy commented Oct 4, 2019

**Ideally we would expect you to raise a bug on AvoRed Official Website **
https://www.avored.com/discussion/category/general

Describe the bug
i was edit product price from USD to local currency. but it show up error in SQL

To Reproduce
Steps to reproduce the behavior:

  1. Go to Product
  2. Click on Edit/create
  3. Scroll down to price
  4. change to 4000000
  5. boom error

Screenshots
Screenshot_24

**Desktop (please complete the following information):

  • Version 3.0.1
@yoyoypy
Copy link
Author

yoyoypy commented Oct 4, 2019

my product on local currency start from millions btw

@indpurvesh
Copy link
Member

@yoyoypy
Usually, how big the price goes?
Right now to save some MySQL memory I have setup field with 10, 6 I have to come up some kind of alter in the case like yours.

@yoyoypy
Copy link
Author

yoyoypy commented Oct 7, 2019

is this happen in update product ?
or maybe in customer check out too?
in case some customer check out more than 1 item or price of exclusive product, can we change it to 100.000.000?

@indpurvesh
Copy link
Member

@yoyoypy I would suggest to open your database and alter the database field in products table

@yoyoypy
Copy link
Author

yoyoypy commented Oct 7, 2019

done changing from decimal to INT

@yoyoypy yoyoypy closed this as completed Oct 7, 2019
@yoyoypy
Copy link
Author

yoyoypy commented Oct 24, 2019

@indpurvesh

changing decimal to INT will get error on checkout page, but i just changing dec 10.6 to 10.2 which is work in homepage but still got error in checkout page..

do i miss something or i can change that total cart to 11.2?
which one i should change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants