Skip to content

Commit

Permalink
Merge pull request #73 from w3bdesign/development
Browse files Browse the repository at this point in the history
Debug Woo image
  • Loading branch information
w3bdesign authored Sep 14, 2020
2 parents a412a5d + f097970 commit a6f18a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions classes/class-algolia-woo-indexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,10 @@ function () {
/**
* Extract image from $product->get_image()
*/

print_r ( $product->get_image());


preg_match_all( '/<img.*?src=[\'"]( . * ? )[\'"].*?>/i', $product->get_image(), $matches );
$product_image = implode( $matches[1] );
/**
Expand Down

0 comments on commit a6f18a0

Please sign in to comment.