Check if the product is pre-order on product-page
-
Hi Yith,
Great plugin you have created. I was wondering if there is any way to check in the code if a product is pre-order. Like it is with variable products, I was thinking something like this:
if($product->is_type( ‘pre-order’ ) ):
Do somethingIs there any field I can use to check if the product is pre-order?
Kind regards Morten
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Check if the product is pre-order on product-page’ is closed to new replies.