Hide inventory_quantity?

Solved
Highlighted
Tourist
5 0 0

Hi there! When someone goes to our product page and opens the source code they can spy on how many products we sold by searching for inventory_quanitity. Is there a way/app to hide the inventory from the source code?

Thanks a lot

0 Likes
Highlighted
Excursionist
31 1 4

you'd better update your product page in the theme.

1 Like
Highlighted
Tourist
5 0 0

Wouldn't that effect something?

0 Likes

Success.

Excursionist
31 1 4

the inventory quantity in the product is not very important. users always have a way to hack this page but don't worry! because the real inventory update process happens in the backend of shopify - you can imagine it as shopify database/backend. so when the user actually finish checkout, the real inventory data will be freshed from backend. so it won't block you from continue selling to empty inventory.

1 Like
Highlighted
Tourist
5 0 0

Awesome, thank you!

0 Likes
Highlighted
New Member
1 0 0

I want to do this too. Can you describe what changes you made to the source code?

0 Likes
Highlighted
Excursionist
31 1 4

simply go to the product page in the liquid theme, remove this portion showing the this number. done!

0 Likes