Bước 1: Cài plugin ACF để tạo trường tuỳ chỉnh
Bước 2: Tìm và mở file /wp-content/themes/flatsome/inc/shortcodes/ux_products.php
Bước 3: Chọn vị trí và hiển thị trường tuỳ chỉnh (ở đây mình chọn dòng 339 sau price)
//hiển thị acf
$note_price = get_field('note_price');
// Kiểm tra và hiển thị nếu có dữ liệu
if ($note_price) {
echo '<div class="note-price">';
echo '<p>' . esc_html($note_price) . '</p>';
echo '</div>';
}
Thay note_price thành tên trường tuỳ chỉnh của bạn