🇷🇺Russia @Hamulus

Account created on 22 November 2008, about 16 years ago
#

Recent comments

🇷🇺Russia Hamulus

@bolaghi, the guide is not usable in Field groups context

However I could get the proper result by this preprocess code in custom module:

function mytheme_preprocess_commerce_product(&$variables){
    
    if ($variables['elements']['#view_mode'] == 'full') {
        $variables['elements']['#fieldgroups']['group_right']->children[] = 'variation_list_price';
        $variables['elements']['#fieldgroups']['group_right']->children[] = 'variation_price';

        $variables['elements']['#group_children']['variation_list_price'] = 'group_right';
        $variables['elements']['#group_children']['variation_price'] = 'group_right';
    }
}
Production build 0.71.5 2024