• Hello, thanks for your great plugin!

    How can I get the set quantity looping in the products of an order? I need the initial set quantity of every single product. Is that possible? thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter AngeloLazzari

    (@angelolazzari)

    Hello! I got it: $decimal_quantity = (float)get_post_meta($product_id, ‘woodecimalproduct_item_qnt’, true);

    thanks!

    Plugin Support WPGear-Support

    (@supportwpgear)

    This will only work if you have specific parameters set for a given Product.

    But this won’t work if the Product doesn’t have parameters, in which case they need to be taken from the Categories.

    But Categories may also lack such parameters, in which case they need to be taken from the Basic Settings.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘get initial set quantity for the product by code’ is closed to new replies.