{"id":121,"date":"2022-09-05T18:46:31","date_gmt":"2022-09-05T18:46:31","guid":{"rendered":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/docs\/advanced-xml\/short-codes\/"},"modified":"2022-09-05T18:48:47","modified_gmt":"2022-09-05T18:48:47","slug":"short-codes","status":"publish","type":"docs","link":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/docs\/advanced-xml\/short-codes\/","title":{"rendered":"Short codes"},"content":{"rendered":"\n<p>In main xml you can add fixed tags(store name, descriptions, phone, or noting).<\/p>\n\n\n\n<p> And you must add here [[products]]<\/p>\n\n\n\n<p>In products text area you can use tags<\/p>\n\n\n\n<p>[[id]]<br>[[product_id]]<br>[[title]]<br>[[price]]<br>[[sku]]<br>[[image]]<br>[[handle]]<br>[[barcode]],[[grams]],[[weight]]<br>[[image_id]],[[weight_unit]]<br>[[inventory_management]],[[option1]],[[option2]],[[option3]],[[created_at]],[[updated_at]],[[taxable]],[[position]],[[inventory_policy]],[[compare_at_price]],[[fulfillment_service]], [[inventory_item_id]],[[inventory_quantity]],[[old_inventory_quantity]],[[requires_shipping]],[[admin_graphql_api_id]],[[body_html]],[[vendor]],[[product_type]],[[handle]],[[published_at]],[[template_suffix]],[[tags]],[[published_scope]]<\/p>\n\n\n\n<p>You can put here lists<br>[[variants_lists]],[[options_lists]],[[images_lists]]<\/p>\n\n\n\n<p>This tags will be replaced with list of images, options or variants separated with separator that you settings<br>For example Color:blue,green,white<\/p>\n\n\n\n<p>In products xml text area you can also write<br>[[variants]],[[options]],[[images]]<\/p>\n\n\n\n<p>This tags will be replaced with iterations on matching text area<\/p>\n\n\n\n<p>In variant text area you can set<\/p>\n\n\n\n<p>[[id]],[[product_id]],[[title]],[[price]],[[sku]],[[position]],[[inventory_policy]],[[compare_at_price]],[[fulfillment_service]],[[inventory_management]],[[option1]],[[option2]],[[option3]],[[created_at]],[[updated_at]],[[taxable]],[[barcode]],[[grams]],[[image_id]],[[weight]],[[weight_unit]],[[inventory_item_id]],[[inventory_quantity]],[[old_inventory_quantity]],[[requires_shipping]],[[admin_graphql_api_id]]<br>For using product variables in variant text box use prefix product_ . For example [[product_title]]<\/p>\n\n\n\n<p>In Options text area [[name]] and [[value]]<\/p>\n\n\n\n<p>In images text area [[src]] [[id]]<\/p>\n\n\n\n<p>If you use [[i]] in each text area will be replaced with increment number<\/p>\n\n\n\n<p>[[datetime]] = date(&#8216;Y-m-d H:i&#8217;);<br>[[time]] = date(&#8216;H:i:s&#8217;);<br>[[date]] = date(&#8216;Y-m-d&#8217;);<\/p>\n\n\n\n<p>5. If you want json export , add in url &amp;output=json<br>6. For rss , add in url &amp;output=rss<\/p>\n\n\n\n<p>7.You can save export and access later with adding in url &amp;save=1<\/p>\n","protected":false},"featured_media":0,"parent":16,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","docs_category":[],"_links":{"self":[{"href":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/wp-json\/wp\/v2\/docs\/121"}],"collection":[{"href":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":2,"href":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/wp-json\/wp\/v2\/docs\/121\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/wp-json\/wp\/v2\/docs\/121\/revisions\/124"}],"up":[{"embeddable":true,"href":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/wp-json\/wp\/v2\/docs\/16"}],"wp:attachment":[{"href":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/wp-json\/wp\/v2\/media?parent=121"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/extensionsell.com\/app\/dc\/xml\/index.php\/wp-json\/wp\/v2\/docs_category?post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}