Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Customers are viewing page information in the source code and using that to determine how much inventory is available of certain products, and then posting that information online for others to be able to view. We want to be able to stop this, but it seems like the inventory_quantity naming is required for our PDP functionality and that makes it super easy to find with a simple search in the code.
How can this information be hidden without using third party apps?
Rename the inventory attributes ( class/id/data-attributes) so the customer cant identify what is it for in the PDP page and also do the same in the JS call so it will not break.
Assuming we make this change, someone who is able to figure out inventory levels in our current code should also have the knowledge to just check outgoing requests and find the variant inventory_quantity that way though, correct?
Also, there are 1000+ stores in our catalog that will be impacted by this change, so changing the naming of something so critical to our core functionality is not easily done.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024