Hi Omar,
I am using Product Bundles by WooCommerce plugin from woocommerce.com and the price shown in XML feeds for bundle products (product_type = “bundle”) is always zero.
[alg_product_price]
= 0
[alg_product_regular_price]
= 0
I have tried to get the price other ways and have found this:
[alg_product_function function="get_price"]
= 0
[alg_product_meta name="_price"]
gives the correct price.
My question is: is there a way to set a fallback method to get product price if [alg_product_price]
returns zero?
I mean with an attribute “on_zero” like “on_empty”:
[alg_product_price on_zero="{alg_product_meta name='_price'}" on_zero_apply_shortcodes="yes"]
Thank you for your help.
Best regards,
Endre
-
This topic was modified 1 year, 4 months ago by Omar Dabbas.