I have Custom Product boxes installed, it shows product price and attributes when visitors adds a product to the gift box, I'm trying to sum the product attributes right below the total price, but it will not show anything.
$dynamicPrice = get_post_meta($product->get_id(), '_per_product_pricing_active', true);
<?php echo $giftBoxTotal; ?>
<?php do_action("wdm_product_price_html"); ?>
Totalt Protein
<?php echo $dynamicProtein; ?>
Totalt Fett
<?php echo $dynamicFett; ?>
Totalt Kolhydrater
<?php echo $dynamicKolhydrater; ?>
Totalt Kcal
<?php echo $dynamicKcal; ?>