WooCommerce 3  Depreceted and new function

Woocommerce Place Holder

 woocommerce_placeholder_img_src == wc_placeholder_img_src 

 Related list

 $product->wc_get_related_products( $posts_per_page ) === wc_get_related_products($product-;>;get_id(), $posts_per_page )

 Upsell list 

 $product-;>get_upsells() == $product-;>get_upsell_ids()

Content Product.php  list  

$product->id    =>           $product->get_id()

get_gallery_attachment_ids   =>   get_gallery_image_ids

file include function 

woocommerce_get_template_part () = wc_get_template_part()

Content product price html 

echo $product->get_price_html();  ===  echo wc_price($product->get_price())

Scroll to Top