• Resolved protostack

    (@protostack)


    Version 2.0.3 of the plugin

    I’m trying to get my fields displaying in sections on the product page, cart and checkout pages. e.g.

    SECTION TITLE 1
    Field 1
    Field 2
    SECTION TITLE 2
    Field 3
    Field 4

    I created 2 product field groups (1 for each section) then linked them to my product. In settings I Enabled “Show Group Title” but that didn’t seem to display the section headings. I also tried enabling “Group Meta” and “Group Fields”

    Am I using the correct functionality for this or should I use a different approach? What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Saravana Kumar K

    (@mycholan)

    Ha, I missed it, I had this in my feature list but some how missed, that group title is for cloning option.

    I will definitely include it on my next release, which will be soon.

    Thread Starter protostack

    (@protostack)

    I ended up using a label with CSS. All good and thanks for a great plugin.

    Plugin Author Saravana Kumar K

    (@mycholan)

    Hi, great, also from Version 2.0.5 I am triggering an additional action for this purpose.

    function insert_title_for_fields_group( $_group_index ) {
    	if ($_group_index == 1) {
    		echo "First Fields Group Title";
    	} else if($_group_index == 2) {
    		echo "Second Fields Group Title";
    	} else {
    		echo "Third Fields Group Title";
    	}
    }
    add_action("wccpf_before_fields_group_start", "insert_title_for_fields_group");
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Displaying Group Titles’ is closed to new replies.