ACF as predefined value
-
Hi,
I want to add a predefined field value from Advanced Custom Fields, instead of a static value. The ACF-field I want to use is a custom price field I use in Woocommerce. Every single product page has a unique price that I want to insert in the first CFF-field on the pages. Please help!This is a sample code I use:
<?php $styled_price = get_field('price'); echo number_format($styled_price2,0," "," "); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘ACF as predefined value’ is closed to new replies.