{"id":19034815,"date":"2026-10-02T11:12:21","date_gmt":"2026-10-02T11:12:21","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/short-code-cart-items-1-grid\/"},"modified":"2026-10-02T11:36:52","modified_gmt":"2026-10-02T11:36:52","slug":"short-code-cart-items-1-grid","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/short-code-cart-items-1-grid\/","title":{"rendered":"short code cart.items 1 grid"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello support. <br \/>We use Abandoned cart e-mail with the short code: <br \/>{{ cart.items | template: &#8216;grid_2_col&#8217; }} <br \/>It shows the cart products with photo in 2 rows.<br \/>But is this also possible in ONE row? Because when there is 1 cart item it stands to the left and a white space at the right side&#8230;<br \/>{{ cart.items | template: &#8216;grid_1_col&#8217; }} does not work&#8230; than it stays empty and does not show any products in the email.<br \/><br \/>Thanks in advance, Bart<br \/><\/p>\n","protected":false},"template":"","class_list":["post-19034815","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19034815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19034815\/revisions"}],"predecessor-version":[{"id":19034834,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19034815\/revisions\/19034834"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19034815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}