Pingu Posted October 5, 2015 Share Posted October 5, 2015 I am using the following: http://www.prestatips.dk/wp-content/plugins/downloads-manager/upload/xml_export_pricerunner_14x_ny.zip to create a daily product feed for the price compaision website. How would I go about adding the availability info (in / out of stock) instead of using the hardcoded "IN STOCK" value? I tried getting the info about the product when inside the loop, but I always get quantity of 1000, no matter the actual status. How come product page in the shop displays correct availability info, even though it uses the same database, and sees 1000 as quantity (that's how it's in DB for every product, somehow)? When debugging, I found out that the quantity for out of stock products is set to -100 on product pages (db data hasn't changed). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now