• I have a bundled product page that contains 4 different products. Currently, it is only pulling out one content ID. Is it possible to pull out the individual content ids and make sure those values continue to pass when they add to cart and reach checkout.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    firstly, apologies for replying only now.

    Most probably the only solution is taking advantage of the WP hook present in the plugin code. Here an example:

    add_filter('aepc_track_event_data', function($data, $event){
    
    	if (get_the_ID() === 1499) {
    		$data['params']['content_ids'] = [1026, 1258, 1265, 1268, 1286, 1290];
    	}
    
    	return $data;
    }, 10, 2);

    Disclaimer: it’s not tested as I don’t have your configuration.

    You can place this code in the functions.php of your current theme or in a new plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Product bundle page, grouping products under one content ID’ is closed to new replies.