News:

Looking for documentation? Take a look on our wiki

Main Menu

VM 4.0.6 Product details, check if product has childs

Started by razor7, September 07, 2022, 01:11:01 AM

Previous topic - Next topic

razor7

Hi! Is it possible in the product details template to check if the $product has childs?, or if it's a parent product?

Thanks!
MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

Studio 42

You have $this->product->parent_id is = 0 for a parent
ANd $this->product->has_child
If i remember right