Skip to main content
9 votes
5 answers
12k views

I would like to show the stock status (eg. In Stock / Out of Stock) for each product variation shown in the drop down list of variations on the Woocommerce Product Page. I have copied the relevant ...
Chris M's user avatar
  • 93
11 votes
2 answers
22k views

I am using the following code to add new stock statuses in WooCommerce 4+ The new statuses are: Preorder Contact us function add_custom_stock_type() { ?> <script type="text/...
Allstars-FT's user avatar
105 votes
11 answers
153k views

Is there any sort of API that just offers a simple symbol lookup service? i.e., input a company name and it will tell you the ticker symbol? I've tried just screen-scraping Google Finance, but after a ...
dancavallaro's user avatar
  • 13.4k
35 votes
4 answers
31k views

Could someone please point me in the right direction with respect to OHLC data timeframe conversion with Pandas? What I'm trying to do is build a Dataframe with data for higher timeframes, given data ...
kgr's user avatar
  • 10k
24 votes
2 answers
55k views

I need so help. I'm trying to update the woocommerce product stock quantity programmatically. We have a vendor feed to us through some JSON. I can read the stock from the feed and can pull the data ...
Dave's user avatar
  • 351
4 votes
1 answer
5k views

I want to implement in my store something similar like this: I have this code, but this show quantity next to each variation. function get_stock_variations_from_product(){ global $product; $...
DrMTR's user avatar
  • 497
155 votes
8 answers
115k views

So I'm getting really sick of E*TRADE and, being a developer, would love to find an online broker that offers an API. It would be great to be able to write my own trading tools, and maybe even modify ...
Wilco's user avatar
  • 33.5k
2 votes
1 answer
4k views

This post is in continuation of my earlier post where I have already got assistance from Tom Sharpe on how to calculate the Average Price of a stock using the FIFO method as per transaction table &...
Kawalpreet Kaur's user avatar
242 votes
18 answers
188k views

I'm trying to make a stock market simulator (perhaps eventually growing into a predicting AI), but I'm having trouble finding data to use. I'm looking for a (hopefully free) source of historical stock ...
rmeador's user avatar
  • 25.8k
117 votes
9 answers
260k views

I've googled endlessly for a method of getting a complete (and daily updated) list of all Yahoo ticker symbols available through http://finance.yahoo.com Yahoo has information for stocks, futures etc ...
rassom's user avatar
  • 2,976
2 votes
2 answers
5k views

I need to parse balance sheet data for a given set of stocks on otcmarkets.com. I'm trying to use the importXML function in Google Spreadsheet, but it is not returning any data for me. The xPath ...
user3133308's user avatar
40 votes
3 answers
45k views

I'm creating a database schema for storing historical stock data. I currently have a schema as show below. My requirements are to store "bar data" (date, open, high, low, close volume) for multiple ...
nall's user avatar
  • 16.2k
6 votes
3 answers
8k views

IN woocommerce I would like to display the total stock of all variations in a variable product. The stock of each product variation is managed at the product variation level. If I use for a variable ...
Erwin Manalang's user avatar
5 votes
1 answer
4k views

If Enable stock management at the product level is not checked I would like to show a message in product page for the stock status When the Stock status is instock - "Available" outofstock -...
George Gour's user avatar
4 votes
1 answer
4k views

I am trying to hide out of stock products only from Shop page, but keep them on the separate category page. Woocommerce settings allows only to choose either to show out of stock products or to hide ...
Rtangle's user avatar
  • 73

15 30 50 per page
1
2 3 4 5
10