Browser: Chrome 158.0.8127.37
OS: Windows
Hi,
I’m not sure if this is a bug or if I’m doing something wrong. If I put the following structure in the Cart contents query, it displays the product variables just fine. But in the Order : Order items query, it doesn’t work at all.
{"content":[{"id":"lcqccr","name":"block","parent":"vvylaq","children":["wralqz","dfvzjl"],"settings":{"_direction":"row","_alignItems":"center","_columnGap":"10","_typography":{"line-height":"1.5"}}},{"id":"wralqz","name":"div","parent":"lcqccr","children":["ynggqc","rueekb"],"settings":{"_alignItems":"center","hasLoop":true,"query":{"objectType":"term","useQueryEditor":true,"signature":"330dc178ad2ebac20953878da905c277","user_id":1,"time":1794691379,"queryEditor":"$cart_item = \\Bricks\\Query::get_loop_object( \\Bricks\\Query::is_any_looping() );\n$slug = $cart_item['variation']['attribute_pa_color'] ?? $cart_item['variation']['pa_color'] ?? '';\n$term = $slug ? get_term_by( 'slug', $slug, 'pa_color' ) : null;\n\nreturn [\n\t'taxonomy' => 'pa_color',\n\t'include' => [ $term->term_id ?? 0 ],\n\t'hide_empty' => false,\n\t'number' => 1,\n\t'bricks_force_run' => true,\n];"},"_display":"flex","_columnGap":"8px"},"label":"Color"},{"id":"ynggqc","name":"div","parent":"wralqz","children":[],"settings":{"_widthMin":"18px","_heightMin":"18px","_border":{"radius":{"top":"50vw","right":"50vw","bottom":"50vw","left":"50vw"}},"_attributes":[{"id":"selatt","name":"style","value":"background-color:{term_meta:bricks_swatch_color_value}"}]},"label":"Color code"},{"id":"rueekb","name":"text-basic","parent":"wralqz","children":[],"settings":{"_typography":{"font-size":"15px"},"tag":"span","text":"{term_name}"},"label":"Color name"},{"id":"dfvzjl","name":"div","parent":"lcqccr","children":["ruibmc"],"settings":{"_alignItems":"center","hasLoop":true,"query":{"objectType":"term","useQueryEditor":true,"signature":"d0ae2250b941b9ae713866c260996e31","user_id":1,"time":1795133027,"queryEditor":"$cart_item = \\Bricks\\Query::get_loop_object( \\Bricks\\Query::is_any_looping() );\n$slug = $cart_item['variation']['attribute_pa_my-size'] ?? $cart_item['variation']['pa_my-size'] ?? '';\n$term = $slug ? get_term_by( 'slug', $slug, 'pa_my-size' ) : null;\n\nreturn [\n\t'taxonomy' => 'pa_my-size',\n\t'include' => [ $term->term_id ?? 0 ],\n\t'hide_empty' => false,\n\t'number' => 1,\n\t'bricks_force_run' => true,\n];"},"_display":"flex","_columnGap":"8px","_border":{"width":{"top":"1","bottom":"1","right":"1","left":"1"},"style":"solid","color":{"id":"rwcyyc","raw":"var(--border)","light":"#e5e5e5"}},"_padding":{"left":"5","right":"5","top":"2","bottom":"2"}},"label":"Size"},{"id":"ruibmc","name":"text-basic","parent":"dfvzjl","children":[],"settings":{"_typography":{"font-size":"15px"},"tag":"span","text":"{term_name}"},"label":"Selected color name"}],"source":"bricksCopiedElements","sourceUrl":"https://avangtheme.ir","version":"2.5-beta"}